Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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: translateModel(BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck") translateModel(BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005211/0.005211, allocations: 97.25 kB / 15.73 MB, free: 6.035 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.001124/0.001124, allocations: 204.2 kB / 16.68 MB, free: 5.961 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.343/1.343, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002121/0.002121, allocations: 274.1 kB / 290.8 MB, free: 1.918 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9506/0.9506, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001612/0.001612, allocations: 95.78 kB / 0.6814 GB, free: 15.53 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1704/0.172, allocations: 86.98 MB / 0.7664 GB, free: 8.48 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.00221/0.1742, allocations: 1.268 MB / 0.7676 GB, free: 7.203 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003273/0.1775, allocations: 2.923 MB / 0.7704 GB, free: 4.266 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.519e-05/0.1776, allocations: 0 / 0.7704 GB, free: 4.266 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.149e-05/0.1776, allocations: 3.984 kB / 0.7704 GB, free: 4.262 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.407e-05/0.1777, allocations: 7.938 kB / 0.7705 GB, free: 4.254 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004421/0.1781, allocations: 95.55 kB / 0.7705 GB, free: 4.16 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 8.021e-05/0.1782, allocations: 47.83 kB / 0.7706 GB, free: 4.113 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.521e-05/0.1782, allocations: 4 kB / 0.7706 GB, free: 4.109 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004319/0.1787, allocations: 155.4 kB / 0.7707 GB, free: 3.957 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 4.374e-05/0.1787, allocations: 19.97 kB / 0.7708 GB, free: 3.938 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.156e-05/0.1788, allocations: 0 / 0.7708 GB, free: 3.938 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001539/0.1789, allocations: 63.89 kB / 0.7708 GB, free: 3.875 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.688e-05/0.1789, allocations: 11.92 kB / 0.7708 GB, free: 3.863 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.028e-05/0.179, allocations: 19.92 kB / 0.7709 GB, free: 3.844 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001698/0.1792, allocations: 59.86 kB / 0.7709 GB, free: 3.785 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.1792, allocations: 0 / 0.7709 GB, free: 3.785 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.543e-06/0.1792, allocations: 0 / 0.7709 GB, free: 3.785 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.11e-06/0.1792, allocations: 0 / 0.7709 GB, free: 3.785 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000391/0.1796, allocations: 355.3 kB / 0.7713 GB, free: 3.391 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 2.986e-05/0.1796, allocations: 15.97 kB / 0.7713 GB, free: 3.375 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.227e-05/0.1796, allocations: 4.938 kB / 0.7713 GB, free: 3.371 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.464e-05/0.1797, allocations: 160.4 kB / 0.7714 GB, free: 3.176 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.157e-06/0.1798, allocations: 4.375 kB / 0.7714 GB, free: 3.172 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.485e-05/0.1798, allocations: 8.375 kB / 0.7714 GB, free: 3.164 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001175/0.1799, allocations: 53.8 kB / 0.7715 GB, free: 3.105 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.562e-06/0.1799, allocations: 0 / 0.7715 GB, free: 3.105 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.052e-05/0.1799, allocations: 0 / 0.7715 GB, free: 3.105 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.061e-06/0.18, allocations: 3.984 kB / 0.7715 GB, free: 3.102 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.991e-05/0.18, allocations: 19.98 kB / 0.7715 GB, free: 3.082 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001584/0.1802, allocations: 177.5 kB / 0.7717 GB, free: 2.859 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 8.652e-05/0.1803, allocations: 50.55 kB / 0.7717 GB, free: 2.801 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.782e-05/0.1803, allocations: 12.86 kB / 0.7717 GB, free: 2.785 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006436/0.1809, allocations: 0.591 MB / 0.7723 GB, free: 2.086 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.11e-05/0.181, allocations: 38.55 kB / 0.7724 GB, free: 2.039 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=5): time 1.002e-06/0.181, allocations: 0 / 0.7724 GB, free: 2.039 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7): time 0.0005529/0.1815, allocations: 310.2 kB / 0.7727 GB, free: 1.684 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.202e-05/0.1816, allocations: 51.41 kB / 0.7727 GB, free: 1.621 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.96e-05/0.1817, allocations: 101.8 kB / 0.7728 GB, free: 1.512 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.393e-05/0.1817, allocations: 25.7 kB / 0.7728 GB, free: 1.48 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.922e-05/0.1817, allocations: 92.08 kB / 0.7729 GB, free: 1.387 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.096e-05/0.1818, allocations: 35.81 kB / 0.7729 GB, free: 1.352 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.838e-05/0.1818, allocations: 25.7 kB / 0.773 GB, free: 1.32 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001095/0.1819, allocations: 322.8 kB / 0.7733 GB, free: 0.9961 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.002e-05/0.1819, allocations: 19.92 kB / 0.7733 GB, free: 0.9766 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.919e-05/0.182, allocations: 45.16 kB / 0.7733 GB, free: 0.9141 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.105e-05/0.1821, allocations: 73.08 kB / 0.7734 GB, free: 0.8242 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.91e-07/0.1821, allocations: 3.938 kB / 0.7734 GB, free: 0.8203 MB / 0.5606 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001272/0.1822, allocations: 93.55 kB / 0.7735 GB, free: 0.7227 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.1823, allocations: 12.12 kB / 0.7735 GB, free: 0.7109 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.1823, allocations: 0 / 0.7735 GB, free: 0.7109 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.813e-05/0.1823, allocations: 4.438 kB / 0.7735 GB, free: 0.707 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.372e-05/0.1824, allocations: 19.98 kB / 0.7735 GB, free: 0.6875 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.1824, allocations: 0 / 0.7735 GB, free: 0.6875 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.85e-05/0.1824, allocations: 11.94 kB / 0.7735 GB, free: 0.6758 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.845e-06/0.1824, allocations: 8 kB / 0.7736 GB, free: 0.668 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (12): * Single equations (assignments): 12 * 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 7.95e-05/0.1825, allocations: 118.4 kB / 0.7737 GB, free: 0.543 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.734e-05/0.1826, allocations: 3.953 kB / 0.7737 GB, free: 0.5391 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.56e-05/0.1826, allocations: 11.97 kB / 0.7737 GB, free: 0.5312 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.1826, allocations: 4 kB / 0.7737 GB, free: 0.5273 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.1826, allocations: 0 / 0.7737 GB, free: 0.5273 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.1826, allocations: 7.922 kB / 0.7737 GB, free: 0.5195 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002253/0.1829, allocations: 165.7 kB / 0.7739 GB, free: 316 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.1829, allocations: 0 / 0.7739 GB, free: 316 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.072e-05/0.1829, allocations: 15.98 kB / 0.7739 GB, free: 300 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.183, allocations: 0 / 0.7739 GB, free: 300 kB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.14e-05/0.183, allocations: 8 kB / 0.7739 GB, free: 292 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.183, allocations: 80 / 0.7739 GB, free: 292 kB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.183, allocations: 3.984 kB / 0.7739 GB, free: 288 kB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001674/0.1832, allocations: 183.3 kB / 0.7741 GB, free: 88 kB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.3339/0.5171, allocations: 79.33 kB / 0.7741 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.576e-05/0.5171, allocations: 1.328 kB / 0.7741 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001313/0.5173, allocations: 3.469 kB / 0.7741 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.809e-05/0.5173, allocations: 3.875 kB / 0.7741 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.182e-05/0.5173, allocations: 8.141 kB / 0.7741 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.666e-05/0.5174, allocations: 80.22 kB / 0.7742 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5174, allocations: 2.297 kB / 0.7742 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002943/0.5177, allocations: 13.09 kB / 0.7742 GB, free: 15.36 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,cpSym,cvSym) * 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 (7): * Single equations (assignments): 7 * 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.0001261/0.5178, allocations: 105.4 kB / 0.7743 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001448/0.518, allocations: 45.86 kB / 0.7744 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.518, allocations: 0.9688 kB / 0.7744 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 2.748e-05/0.518, allocations: 16.84 kB / 0.7744 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002919/0.5183, allocations: 5.688 kB / 0.7744 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005404/0.5188, allocations: 331.4 kB / 0.7747 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001054/0.519, allocations: 0.6824 MB / 0.7754 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 4.456e-05/0.519, allocations: 12.48 kB / 0.7754 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.263e-05/0.519, allocations: 13.38 kB / 0.7754 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of SimCode: time 2.7e-07/0.519, allocations: 0 / 0.7754 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of Templates: time 0.0027/0.5217, allocations: 0.6304 MB / 0.776 GB, free: 14.33 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck.makefile (rm -f BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck.sim & ./BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe 2>&1)