Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelResistors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelResistors",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008873/0.0008872, allocations: 91.14 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005202/0.005202, allocations: 171 kB / 16.26 MB, free: 6.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.32/1.32, allocations: 205.4 MB / 222.4 MB, free: 5.57 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.545/1.545, allocations: 292.7 MB / 0.5502 GB, free: 14.44 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005021/0.0005021, allocations: 19.19 kB / 0.6744 GB, free: 25.73 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2366/0.2371, allocations: 116.3 MB / 0.788 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors): time 0.0029/0.2401, allocations: 2.349 MB / 0.7903 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001832/0.2419, allocations: 1.33 MB / 0.7916 GB, free: 7.754 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.403e-05/0.242, allocations: 3.938 kB / 0.7916 GB, free: 7.75 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001526/0.2422, allocations: 27.78 kB / 0.7916 GB, free: 7.723 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.000385/0.2426, allocations: 159.4 kB / 0.7918 GB, free: 7.566 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000332/0.2429, allocations: 155.7 kB / 0.7919 GB, free: 7.414 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003464/0.2433, allocations: 367 kB / 0.7923 GB, free: 7.055 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004976/0.2438, allocations: 313.9 kB / 0.7926 GB, free: 6.719 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001485/0.2439, allocations: 83.64 kB / 0.7927 GB, free: 6.637 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002323/0.2442, allocations: 123.5 kB / 0.7928 GB, free: 6.516 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.202e-05/0.2442, allocations: 8 kB / 0.7928 GB, free: 6.508 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002515/0.2445, allocations: 183.6 kB / 0.793 GB, free: 6.328 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.435e-05/0.2445, allocations: 63.81 kB / 0.793 GB, free: 6.266 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001009/0.2446, allocations: 105.2 kB / 0.7931 GB, free: 6.156 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003191/0.245, allocations: 295.2 kB / 0.7934 GB, free: 5.867 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.245, allocations: 0 / 0.7934 GB, free: 5.867 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.935e-06/0.245, allocations: 4 kB / 0.7934 GB, free: 5.863 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.63e-06/0.245, allocations: 0 / 0.7934 GB, free: 5.863 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0007112/0.2457, allocations: 467 kB / 0.7938 GB, free: 5.359 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/0.2458, allocations: 16.03 kB / 0.7939 GB, free: 5.344 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.157e-05/0.2458, allocations: 50.72 kB / 0.7939 GB, free: 5.285 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004726/0.2463, allocations: 68.67 kB / 0.794 GB, free: 5.219 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002396/0.2466, allocations: 239.9 kB / 0.7942 GB, free: 4.945 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.06e-05/0.2466, allocations: 4.656 kB / 0.7942 GB, free: 4.941 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.071e-05/0.2466, allocations: 16.36 kB / 0.7942 GB, free: 4.926 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004938/0.2471, allocations: 321.2 kB / 0.7945 GB, free: 4.586 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.846e-06/0.2471, allocations: 0 / 0.7945 GB, free: 4.586 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.405e-05/0.2472, allocations: 7.938 kB / 0.7945 GB, free: 4.578 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.429e-05/0.2472, allocations: 32.2 kB / 0.7946 GB, free: 4.547 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004901/0.2477, allocations: 272.6 kB / 0.7948 GB, free: 4.281 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00155/0.2493, allocations: 1.505 MB / 0.7963 GB, free: 2.629 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000479/0.2498, allocations: 268.1 kB / 0.7966 GB, free: 2.352 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002345/0.25, allocations: 137.6 kB / 0.7967 GB, free: 2.211 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.947e-05/0.25, allocations: 4 kB / 0.7967 GB, free: 2.207 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.122e-05/0.2501, allocations: 30.56 kB / 0.7967 GB, free: 2.168 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=15): time 1.203e-06/0.2501, allocations: 0 / 0.7967 GB, free: 2.168 MB / 0.6075 GB Notification: Performance of matching and sorting (n=15): time 0.0007378/0.2508, allocations: 361.2 kB / 0.7971 GB, free: 1.809 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.208e-05/0.2509, allocations: 81.23 kB / 0.7971 GB, free: 1.711 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00015/0.251, allocations: 174.7 kB / 0.7973 GB, free: 1.527 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.387e-05/0.2511, allocations: 25.7 kB / 0.7973 GB, free: 1.496 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.436e-05/0.2511, allocations: 144.1 kB / 0.7975 GB, free: 1.352 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.324e-05/0.2512, allocations: 59.19 kB / 0.7975 GB, free: 1.293 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.634e-05/0.2512, allocations: 21.66 kB / 0.7975 GB, free: 1.266 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001001/0.2513, allocations: 334.8 kB / 0.7979 GB, free: 0.9297 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002054/0.2516, allocations: 103.9 kB / 0.798 GB, free: 0.8281 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002358/0.2518, allocations: 167.6 kB / 0.7981 GB, free: 0.6367 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004487/0.2523, allocations: 290.7 kB / 0.7984 GB, free: 336 kB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.2523, allocations: 0 / 0.7984 GB, free: 336 kB / 0.6075 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005406/0.2528, allocations: 324.3 kB / 0.7987 GB, free: 8 kB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 9.725e-05/0.2529, allocations: 143.2 kB / 0.7988 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.595e-06/0.2529, allocations: 4 kB / 0.7989 GB, free: 15.83 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.253, allocations: 0 / 0.7989 GB, free: 15.83 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002875/0.2532, allocations: 59.89 kB / 0.7989 GB, free: 15.77 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.2533, allocations: 3.938 kB / 0.7989 GB, free: 15.77 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001898/0.2535, allocations: 39.81 kB / 0.7989 GB, free: 15.73 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.758e-05/0.2535, allocations: 12 kB / 0.799 GB, free: 15.72 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 6.462e-06/0.2535, allocations: 4 kB / 0.799 GB, free: 15.71 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004461/0.254, allocations: 251.8 kB / 0.7992 GB, free: 15.47 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.184e-06/0.254, allocations: 0 / 0.7992 GB, free: 15.47 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.408e-06/0.254, allocations: 4 kB / 0.7992 GB, free: 15.46 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002036/0.2542, allocations: 47.97 kB / 0.7993 GB, free: 15.42 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.2542, allocations: 7.922 kB / 0.7993 GB, free: 15.41 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001473/0.2543, allocations: 31.83 kB / 0.7993 GB, free: 15.38 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.343e-05/0.2544, allocations: 7.984 kB / 0.7993 GB, free: 15.37 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001464/0.2545, allocations: 225.6 kB / 0.7995 GB, free: 15.14 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.014e-05/0.2546, allocations: 19.8 kB / 0.7995 GB, free: 15.12 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005356/0.2551, allocations: 282.8 kB / 0.7998 GB, free: 14.84 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.2551, allocations: 4 kB / 0.7998 GB, free: 14.83 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.2552, allocations: 4 kB / 0.7998 GB, free: 14.83 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.2552, allocations: 0 / 0.7998 GB, free: 14.83 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009859/0.2562, allocations: 0.6927 MB / 0.8005 GB, free: 14.07 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/0.2562, allocations: 0 / 0.8005 GB, free: 14.07 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002257/0.2564, allocations: 47.89 kB / 0.8005 GB, free: 14.02 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.2564, allocations: 4 kB / 0.8005 GB, free: 14.02 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.659e-05/0.2564, allocations: 8 kB / 0.8005 GB, free: 14.01 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.631e-06/0.2564, allocations: 7.922 kB / 0.8006 GB, free: 14 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.2564, allocations: 4 kB / 0.8006 GB, free: 14 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005235/0.257, allocations: 465.3 kB / 0.801 GB, free: 13.52 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001085/0.2571, allocations: 112.8 kB / 0.8011 GB, free: 13.39 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.066e-05/0.2571, allocations: 11.94 kB / 0.8011 GB, free: 13.38 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002053/0.2573, allocations: 23.91 kB / 0.8011 GB, free: 13.36 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.316e-05/0.2574, allocations: 11.98 kB / 0.8012 GB, free: 13.34 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.269e-05/0.2574, allocations: 4 kB / 0.8012 GB, free: 13.34 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001039/0.2575, allocations: 139.8 kB / 0.8013 GB, free: 13.2 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1e-07/0.2575, allocations: 0 / 0.8013 GB, free: 13.2 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004443/0.258, allocations: 79.84 kB / 0.8014 GB, free: 13.12 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007841/0.2588, allocations: 0.992 MB / 0.8023 GB, free: 12.09 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0006859/0.2595, allocations: 384.3 kB / 0.8027 GB, free: 11.72 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.2595, allocations: 4.125 kB / 0.8027 GB, free: 11.71 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002158/0.2597, allocations: 115.9 kB / 0.8028 GB, free: 11.6 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004891/0.2602, allocations: 42.41 kB / 0.8029 GB, free: 11.56 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002811/0.263, allocations: 2.566 MB / 0.8054 GB, free: 8.848 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002966/0.2633, allocations: 0.7479 MB / 0.8061 GB, free: 8.07 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002024/0.2635, allocations: 73.47 kB / 0.8062 GB, free: 8 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001118/0.2637, allocations: 51.41 kB / 0.8062 GB, free: 7.949 MB / 0.6231 GB Notification: Performance of SimCode: time 3.01e-07/0.2637, allocations: 4 kB / 0.8062 GB, free: 7.945 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3308/0.5945, allocations: 3.81 MB / 0.8099 GB, free: 4.305 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002985/0.5948, allocations: 213.6 kB / 0.8101 GB, free: 4.055 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.726/2.32, allocations: 0 / 0.8101 GB, free: 4.055 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelResistors_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelResistors.fmu > Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe 2>&1)