Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IBPSA.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Loads_Examples_ParallelResistors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors,fileNamePrefix="IBPSA_latest_IBPSA_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.0008825/0.0008824, allocations: 93.41 kB / 15.7 MB, free: 472 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001165/0.001165, allocations: 171.4 kB / 16.58 MB, free: 6.062 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.272/1.272, allocations: 223.3 MB / 240.6 MB, free: 5.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6384/0.6384, allocations: 113.7 MB / 405.4 MB, free: 4.566 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003178/0.000318, allocations: 8.219 kB / 493.2 MB, free: 8.535 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1422/0.1425, allocations: 77.11 MB / 0.5569 GB, free: 11.62 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors): time 0.002915/0.1455, allocations: 2.254 MB / 0.5591 GB, free: 9.363 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001773/0.1473, allocations: 1.209 MB / 0.5603 GB, free: 8.148 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.105e-05/0.1474, allocations: 3.938 kB / 0.5603 GB, free: 8.145 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001339/0.1475, allocations: 27.78 kB / 0.5603 GB, free: 8.117 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000323/0.1479, allocations: 131.4 kB / 0.5604 GB, free: 7.988 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003145/0.1482, allocations: 131.1 kB / 0.5606 GB, free: 7.863 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002942/0.1485, allocations: 299.1 kB / 0.5608 GB, free: 7.57 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004435/0.1489, allocations: 294 kB / 0.5611 GB, free: 7.25 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00014/0.1491, allocations: 83.69 kB / 0.5612 GB, free: 7.168 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002059/0.1493, allocations: 123.6 kB / 0.5613 GB, free: 7.047 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.427e-05/0.1493, allocations: 8 kB / 0.5613 GB, free: 7.039 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001329/0.1495, allocations: 71.88 kB / 0.5614 GB, free: 6.969 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 7.051e-05/0.1495, allocations: 55.86 kB / 0.5615 GB, free: 6.914 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.363e-05/0.1496, allocations: 57.58 kB / 0.5615 GB, free: 6.852 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002206/0.1498, allocations: 207.8 kB / 0.5617 GB, free: 6.648 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.1498, allocations: 0 / 0.5617 GB, free: 6.648 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1498, allocations: 0 / 0.5617 GB, free: 6.648 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.222e-06/0.1499, allocations: 0 / 0.5617 GB, free: 6.648 MB / 430.1 MB 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.00064/0.1505, allocations: 478.8 kB / 0.5622 GB, free: 6.129 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.438e-05/0.1505, allocations: 8.031 kB / 0.5622 GB, free: 6.121 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.879e-05/0.1506, allocations: 50.53 kB / 0.5622 GB, free: 6.062 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004255/0.151, allocations: 67.73 kB / 0.5623 GB, free: 5.996 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002458/0.1513, allocations: 234.7 kB / 0.5625 GB, free: 5.727 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.286e-05/0.1513, allocations: 8.266 kB / 0.5625 GB, free: 5.719 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.928e-05/0.1513, allocations: 20 kB / 0.5625 GB, free: 5.699 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004699/0.1518, allocations: 312.8 kB / 0.5628 GB, free: 5.367 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.836e-06/0.1518, allocations: 11.81 kB / 0.5628 GB, free: 5.355 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.253e-05/0.1519, allocations: 11.98 kB / 0.5629 GB, free: 5.344 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.406e-05/0.1519, allocations: 28.27 kB / 0.5629 GB, free: 5.316 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004582/0.1524, allocations: 268.6 kB / 0.5631 GB, free: 5.055 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001539/0.1539, allocations: 1.51 MB / 0.5646 GB, free: 3.398 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004837/0.1544, allocations: 265.1 kB / 0.5649 GB, free: 3.121 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002321/0.1547, allocations: 133.6 kB / 0.565 GB, free: 2.984 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.552e-05/0.1547, allocations: 4 kB / 0.565 GB, free: 2.98 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.29e-05/0.1547, allocations: 34.5 kB / 0.565 GB, free: 2.938 MB / 430.1 MB Notification: Performance of pre-optimization done (n=15): time 1.322e-06/0.1547, allocations: 0 / 0.565 GB, free: 2.938 MB / 430.1 MB Notification: Performance of matching and sorting (n=15): time 0.0007543/0.1555, allocations: 353.5 kB / 0.5654 GB, free: 2.586 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.315e-05/0.1556, allocations: 89.05 kB / 0.5655 GB, free: 2.48 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000177/0.1558, allocations: 174.6 kB / 0.5656 GB, free: 2.297 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.055e-05/0.1558, allocations: 29.7 kB / 0.5656 GB, free: 2.262 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.676e-05/0.1559, allocations: 140 kB / 0.5658 GB, free: 2.121 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.652e-05/0.156, allocations: 59.19 kB / 0.5658 GB, free: 2.062 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.273e-05/0.156, allocations: 4 kB / 0.5658 GB, free: 2.059 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001376/0.1561, allocations: 326.9 kB / 0.5662 GB, free: 1.73 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001929/0.1563, allocations: 107.9 kB / 0.5663 GB, free: 1.625 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002327/0.1566, allocations: 164.7 kB / 0.5664 GB, free: 1.438 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002286/0.1568, allocations: 135.9 kB / 0.5665 GB, free: 1.305 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.1568, allocations: 0 / 0.5665 GB, free: 1.305 MB / 430.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005222/0.1573, allocations: 322.8 kB / 0.5669 GB, free: 0.9844 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.192e-05/0.1575, allocations: 143 kB / 0.567 GB, free: 0.8164 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.207e-06/0.1575, allocations: 7.984 kB / 0.567 GB, free: 0.8086 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/0.1575, allocations: 4 kB / 0.567 GB, free: 0.8047 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000257/0.1577, allocations: 51.95 kB / 0.567 GB, free: 0.7539 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.018e-05/0.1578, allocations: 7.938 kB / 0.5671 GB, free: 0.7461 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001707/0.1579, allocations: 35.81 kB / 0.5671 GB, free: 0.7109 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.723e-05/0.158, allocations: 4 kB / 0.5671 GB, free: 0.707 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.801e-06/0.158, allocations: 8 kB / 0.5671 GB, free: 0.6992 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004133/0.1584, allocations: 240.3 kB / 0.5673 GB, free: 476 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.1584, allocations: 4 kB / 0.5673 GB, free: 472 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.1584, allocations: 12.17 kB / 0.5673 GB, free: 460 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001922/0.1586, allocations: 55.95 kB / 0.5674 GB, free: 404 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.06e-06/0.1587, allocations: 3.938 kB / 0.5674 GB, free: 400 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001304/0.1588, allocations: 35.81 kB / 0.5674 GB, free: 364 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.19e-05/0.1588, allocations: 4 kB / 0.5674 GB, free: 360 kB / 430.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001445/0.159, allocations: 213.8 kB / 0.5676 GB, free: 136 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.182e-05/0.159, allocations: 23.75 kB / 0.5677 GB, free: 112 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005115/0.1595, allocations: 287.6 kB / 0.5679 GB, free: 15.82 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.898e-06/0.1596, allocations: 0 / 0.5679 GB, free: 15.82 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.1596, allocations: 0 / 0.5679 GB, free: 15.82 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.1596, allocations: 4 kB / 0.5679 GB, free: 15.82 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000961/0.1605, allocations: 0.6888 MB / 0.5686 GB, free: 15.06 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.1606, allocations: 8.125 kB / 0.5686 GB, free: 15.05 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002045/0.1608, allocations: 43.95 kB / 0.5687 GB, free: 15.01 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.1608, allocations: 4 kB / 0.5687 GB, free: 15.01 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.631e-05/0.1608, allocations: 4 kB / 0.5687 GB, free: 15 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.1608, allocations: 7.938 kB / 0.5687 GB, free: 15 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.1608, allocations: 0 / 0.5687 GB, free: 15 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005051/0.1613, allocations: 463.8 kB / 0.5691 GB, free: 14.52 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001069/0.1614, allocations: 128.7 kB / 0.5692 GB, free: 14.37 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.077e-05/0.1615, allocations: 8 kB / 0.5693 GB, free: 14.36 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001845/0.1617, allocations: 19.97 kB / 0.5693 GB, free: 14.34 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.369e-05/0.1617, allocations: 15.98 kB / 0.5693 GB, free: 14.33 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.127e-05/0.1617, allocations: 4 kB / 0.5693 GB, free: 14.32 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001021/0.1619, allocations: 127.2 kB / 0.5694 GB, free: 14.2 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1619, allocations: 0 / 0.5694 GB, free: 14.2 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004418/0.1623, allocations: 83.84 kB / 0.5695 GB, free: 14.12 MB / 446.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007831/0.1631, allocations: 0.9951 MB / 0.5705 GB, free: 13.09 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0006792/0.1638, allocations: 384.5 kB / 0.5708 GB, free: 12.71 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.1638, allocations: 0.875 kB / 0.5708 GB, free: 12.71 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002099/0.164, allocations: 119.9 kB / 0.5709 GB, free: 12.59 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004279/0.1645, allocations: 32.16 kB / 0.571 GB, free: 12.56 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001951/0.1664, allocations: 1.26 MB / 0.5722 GB, free: 11.22 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003376/0.1668, allocations: 0.7442 MB / 0.5729 GB, free: 10.45 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002089/0.167, allocations: 77.41 kB / 0.573 GB, free: 10.38 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000108/0.1671, allocations: 51.42 kB / 0.5731 GB, free: 10.32 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1671, allocations: 0 / 0.5731 GB, free: 10.32 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01453/0.1816, allocations: 3.777 MB / 0.5767 GB, free: 6.727 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001833/0.1819, allocations: 200.1 kB / 0.5769 GB, free: 6.484 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.683/1.865, allocations: 0 / 0.5769 GB, free: 6.484 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Loads_Examples_ParallelResistors_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Loads_Examples_ParallelResistors.fmu > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe 2>&1) Environment - environmentSimulation: