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.0008544/0.0008543, allocations: 97.28 kB / 15.69 MB, free: 480 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.001015/0.001015, allocations: 179.7 kB / 16.57 MB, free: 6.859 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.397/1.397, allocations: 223.2 MB / 240.5 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6719/0.6719, allocations: 113.7 MB / 405.3 MB, free: 4.676 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000311/0.0003111, allocations: 8.781 kB / 493 MB, free: 8.574 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1667/0.167, allocations: 77.11 MB / 0.5567 GB, free: 11.66 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors): time 0.002704/0.1698, allocations: 2.233 MB / 0.5589 GB, free: 9.426 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001625/0.1714, allocations: 1.193 MB / 0.5601 GB, free: 8.227 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.363e-05/0.1715, allocations: 3.938 kB / 0.5601 GB, free: 8.223 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001245/0.1717, allocations: 19.86 kB / 0.5601 GB, free: 8.203 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003106/0.172, allocations: 115.6 kB / 0.5602 GB, free: 8.09 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003309/0.1723, allocations: 131.7 kB / 0.5603 GB, free: 7.961 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002426/0.1726, allocations: 155.7 kB / 0.5605 GB, free: 7.809 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000553/0.1731, allocations: 286 kB / 0.5608 GB, free: 7.496 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001628/0.1733, allocations: 71.75 kB / 0.5608 GB, free: 7.426 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002147/0.1735, allocations: 91.67 kB / 0.5609 GB, free: 7.336 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.44e-05/0.1736, allocations: 8 kB / 0.5609 GB, free: 7.328 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001624/0.1737, allocations: 67.83 kB / 0.561 GB, free: 7.262 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 7.766e-05/0.1738, allocations: 59.86 kB / 0.561 GB, free: 7.203 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.566e-05/0.1739, allocations: 53.58 kB / 0.5611 GB, free: 7.145 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002792/0.1742, allocations: 211.8 kB / 0.5613 GB, free: 6.938 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.1742, allocations: 0 / 0.5613 GB, free: 6.938 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1742, allocations: 0 / 0.5613 GB, free: 6.938 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.771e-06/0.1742, allocations: 0 / 0.5613 GB, free: 6.938 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.000759/0.175, allocations: 478.8 kB / 0.5617 GB, free: 6.418 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.772e-05/0.175, allocations: 8.031 kB / 0.5618 GB, free: 6.41 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.88e-05/0.1751, allocations: 54.53 kB / 0.5618 GB, free: 6.348 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005177/0.1756, allocations: 67.73 kB / 0.5619 GB, free: 6.281 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002952/0.1759, allocations: 231.5 kB / 0.5621 GB, free: 6.016 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.791e-05/0.176, allocations: 12.28 kB / 0.5621 GB, free: 6.004 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.057e-05/0.176, allocations: 15.98 kB / 0.5621 GB, free: 5.988 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005265/0.1765, allocations: 316.8 kB / 0.5624 GB, free: 5.652 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/0.1765, allocations: 3.938 kB / 0.5624 GB, free: 5.648 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.514e-05/0.1766, allocations: 4 kB / 0.5624 GB, free: 5.645 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.092e-05/0.1766, allocations: 32.27 kB / 0.5625 GB, free: 5.613 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004879/0.1771, allocations: 268.6 kB / 0.5627 GB, free: 5.352 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001687/0.1788, allocations: 1.514 MB / 0.5642 GB, free: 3.691 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000517/0.1794, allocations: 261 kB / 0.5644 GB, free: 3.418 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.33e-05/0.1794, allocations: 4 kB / 0.5644 GB, free: 3.414 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.851e-05/0.1794, allocations: 42.5 kB / 0.5645 GB, free: 3.363 MB / 430.1 MB Notification: Performance of pre-optimization done (n=15): time 1.323e-06/0.1794, allocations: 0 / 0.5645 GB, free: 3.363 MB / 430.1 MB Notification: Performance of matching and sorting (n=15): time 0.0007745/0.1802, allocations: 357.6 kB / 0.5648 GB, free: 3.008 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.106e-05/0.1803, allocations: 77.11 kB / 0.5649 GB, free: 2.914 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001483/0.1804, allocations: 186.6 kB / 0.5651 GB, free: 2.719 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.356e-05/0.1805, allocations: 29.7 kB / 0.5651 GB, free: 2.684 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.658e-05/0.1805, allocations: 136.1 kB / 0.5652 GB, free: 2.547 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.647e-05/0.1806, allocations: 59.19 kB / 0.5653 GB, free: 2.488 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.178e-05/0.1806, allocations: 4 kB / 0.5653 GB, free: 2.484 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001237/0.1807, allocations: 322.8 kB / 0.5656 GB, free: 2.16 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002024/0.181, allocations: 111.9 kB / 0.5657 GB, free: 2.051 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002324/0.1812, allocations: 164.7 kB / 0.5659 GB, free: 1.863 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002317/0.1814, allocations: 129.5 kB / 0.566 GB, free: 1.738 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.1814, allocations: 3.938 kB / 0.566 GB, free: 1.734 MB / 430.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000518/0.182, allocations: 321.1 kB / 0.5663 GB, free: 1.414 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002811/0.1823, allocations: 0.7033 MB / 0.567 GB, free: 0.6562 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.1823, allocations: 0 / 0.567 GB, free: 0.6562 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.141e-05/0.1823, allocations: 7.938 kB / 0.567 GB, free: 0.6484 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002558/0.1826, allocations: 55.95 kB / 0.5671 GB, free: 0.5938 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.623e-06/0.1826, allocations: 0 / 0.5671 GB, free: 0.5938 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001781/0.1828, allocations: 39.75 kB / 0.5671 GB, free: 0.5547 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.956e-05/0.1828, allocations: 15.95 kB / 0.5671 GB, free: 0.5391 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.347e-06/0.1828, allocations: 6.344 kB / 0.5671 GB, free: 0.5352 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004323/0.1832, allocations: 245.7 kB / 0.5673 GB, free: 304 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.1833, allocations: 4 kB / 0.5673 GB, free: 300 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.907e-06/0.1833, allocations: 0 / 0.5673 GB, free: 300 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001952/0.1835, allocations: 55.91 kB / 0.5674 GB, free: 244 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.488e-06/0.1835, allocations: 4 kB / 0.5674 GB, free: 240 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001623/0.1836, allocations: 27.81 kB / 0.5674 GB, free: 212 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.465e-05/0.1837, allocations: 15.94 kB / 0.5674 GB, free: 196 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.0001689/0.1838, allocations: 217.2 kB / 0.5677 GB, free: 15.97 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.312e-05/0.1839, allocations: 19.77 kB / 0.5677 GB, free: 15.95 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004978/0.1844, allocations: 278.9 kB / 0.5679 GB, free: 15.67 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.1844, allocations: 4 kB / 0.5679 GB, free: 15.67 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.224e-06/0.1844, allocations: 4 kB / 0.5679 GB, free: 15.66 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.1844, allocations: 0 / 0.5679 GB, free: 15.66 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009437/0.1854, allocations: 0.6927 MB / 0.5686 GB, free: 14.9 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.1854, allocations: 0 / 0.5686 GB, free: 14.9 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002273/0.1856, allocations: 47.95 kB / 0.5687 GB, free: 14.86 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.1856, allocations: 0 / 0.5687 GB, free: 14.86 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.545e-05/0.1857, allocations: 4 kB / 0.5687 GB, free: 14.85 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.528e-06/0.1857, allocations: 7.875 kB / 0.5687 GB, free: 14.84 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.1857, allocations: 4 kB / 0.5687 GB, free: 14.84 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005297/0.1862, allocations: 0.5118 MB / 0.5692 GB, free: 14.27 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001168/0.1863, allocations: 120.8 kB / 0.5693 GB, free: 14.13 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.754e-05/0.1864, allocations: 4 kB / 0.5693 GB, free: 14.13 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001986/0.1866, allocations: 27.97 kB / 0.5693 GB, free: 14.1 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.684e-05/0.1866, allocations: 15.91 kB / 0.5693 GB, free: 14.09 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.398e-05/0.1867, allocations: 16 kB / 0.5694 GB, free: 14.07 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001025/0.1868, allocations: 131.2 kB / 0.5695 GB, free: 13.94 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1868, allocations: 0 / 0.5695 GB, free: 13.94 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000435/0.1872, allocations: 75.84 kB / 0.5696 GB, free: 13.87 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.0009344/0.1882, allocations: 1.391 MB / 0.5709 GB, free: 12.42 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0006662/0.1888, allocations: 394.7 kB / 0.5713 GB, free: 12.04 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.1889, allocations: 128 / 0.5713 GB, free: 12.04 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002055/0.1891, allocations: 119.9 kB / 0.5714 GB, free: 11.92 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003139/0.1894, allocations: 34.05 kB / 0.5714 GB, free: 11.89 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002658/0.1921, allocations: 2.315 MB / 0.5737 GB, free: 9.48 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004421/0.1925, allocations: 0.748 MB / 0.5744 GB, free: 8.707 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000218/0.1927, allocations: 77.47 kB / 0.5745 GB, free: 8.629 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001245/0.1929, allocations: 47.42 kB / 0.5745 GB, free: 8.582 MB / 446.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1929, allocations: 0 / 0.5745 GB, free: 8.582 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01766/0.2105, allocations: 3.754 MB / 0.5782 GB, free: 5.004 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002213/0.2108, allocations: 191 kB / 0.5784 GB, free: 4.766 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.662/1.873, allocations: 112 / 0.5784 GB, free: 4.766 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: