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.00132/0.00132, allocations: 110.5 kB / 16.37 MB, free: 6.004 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.001177/0.001177, allocations: 197.6 kB / 17.31 MB, free: 5.613 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.261/1.261, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002034/0.002034, allocations: 289.5 kB / 291.5 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9131/0.9131, allocations: 169.3 MB / 0.4989 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001712/0.001712, allocations: 98.36 kB / 0.5967 GB, free: 14.45 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1414/0.1432, allocations: 86.97 MB / 0.6816 GB, free: 7.477 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.002088/0.1453, allocations: 1.266 MB / 0.6828 GB, free: 6.199 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003132/0.1484, allocations: 2.915 MB / 0.6857 GB, free: 3.27 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.344e-05/0.1485, allocations: 0 / 0.6857 GB, free: 3.27 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.319e-05/0.1485, allocations: 7.938 kB / 0.6857 GB, free: 3.262 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.96e-05/0.1485, allocations: 3.938 kB / 0.6857 GB, free: 3.258 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004206/0.149, allocations: 103.5 kB / 0.6858 GB, free: 3.156 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.671e-05/0.1491, allocations: 39.86 kB / 0.6858 GB, free: 3.117 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.146e-05/0.1491, allocations: 3.984 kB / 0.6858 GB, free: 3.113 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003936/0.1495, allocations: 151.5 kB / 0.686 GB, free: 2.965 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.882e-05/0.1495, allocations: 19.91 kB / 0.686 GB, free: 2.945 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.007e-05/0.1496, allocations: 8 kB / 0.686 GB, free: 2.938 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001495/0.1497, allocations: 63.83 kB / 0.6861 GB, free: 2.875 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.568e-05/0.1497, allocations: 11.97 kB / 0.6861 GB, free: 2.863 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.686e-05/0.1498, allocations: 15.88 kB / 0.6861 GB, free: 2.848 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001492/0.1499, allocations: 71.78 kB / 0.6862 GB, free: 2.777 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.1499, allocations: 4 kB / 0.6862 GB, free: 2.773 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.15, allocations: 0 / 0.6862 GB, free: 2.773 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.488e-06/0.15, allocations: 0 / 0.6862 GB, free: 2.773 MB / 494.1 MB 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.0003631/0.1503, allocations: 339.5 kB / 0.6865 GB, free: 2.395 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.743e-05/0.1504, allocations: 12.03 kB / 0.6865 GB, free: 2.383 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.816e-05/0.1504, allocations: 16.83 kB / 0.6865 GB, free: 2.367 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.927e-05/0.1505, allocations: 160.4 kB / 0.6867 GB, free: 2.172 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.094e-05/0.1505, allocations: 4.375 kB / 0.6867 GB, free: 2.168 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.472e-05/0.1506, allocations: 8.375 kB / 0.6867 GB, free: 2.16 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001124/0.1507, allocations: 57.73 kB / 0.6867 GB, free: 2.098 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.921e-06/0.1507, allocations: 0 / 0.6867 GB, free: 2.098 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.046e-05/0.1507, allocations: 0 / 0.6867 GB, free: 2.098 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.1507, allocations: 0 / 0.6867 GB, free: 2.098 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.847e-05/0.1508, allocations: 19.98 kB / 0.6867 GB, free: 2.078 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001492/0.1509, allocations: 169.7 kB / 0.6869 GB, free: 1.863 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.125e-05/0.151, allocations: 46.56 kB / 0.687 GB, free: 1.809 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.552e-05/0.151, allocations: 16.8 kB / 0.687 GB, free: 1.789 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006146/0.1517, allocations: 0.6025 MB / 0.6876 GB, free: 1.078 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.143e-05/0.1517, allocations: 34.56 kB / 0.6876 GB, free: 1.035 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 1.263e-06/0.1517, allocations: 0 / 0.6876 GB, free: 1.035 MB / 494.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005066/0.1522, allocations: 294.2 kB / 0.6879 GB, free: 0.6953 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.891e-05/0.1522, allocations: 55.41 kB / 0.6879 GB, free: 0.6289 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.581e-05/0.1523, allocations: 101.8 kB / 0.688 GB, free: 0.5195 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.501e-05/0.1523, allocations: 29.7 kB / 0.6881 GB, free: 496 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.691e-05/0.1524, allocations: 88.05 kB / 0.6881 GB, free: 404 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.781e-05/0.1524, allocations: 31.55 kB / 0.6882 GB, free: 372 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.612e-05/0.1524, allocations: 25.72 kB / 0.6882 GB, free: 340 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.686e-05/0.1525, allocations: 314.8 kB / 0.6885 GB, free: 16 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2474/0.4, allocations: 15.98 kB / 0.6885 GB, free: 0 / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.737e-05/0.4001, allocations: 50.75 kB / 0.6886 GB, free: 18.59 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.615e-05/0.4002, allocations: 74.09 kB / 0.6886 GB, free: 18.54 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.4002, allocations: 0 / 0.6886 GB, free: 18.54 MB / 494.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001712/0.4004, allocations: 95.72 kB / 0.6887 GB, free: 18.51 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.968e-05/0.4004, allocations: 9.094 kB / 0.6887 GB, free: 18.51 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.285e-06/0.4004, allocations: 1.938 kB / 0.6887 GB, free: 18.51 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.358e-05/0.4004, allocations: 2.438 kB / 0.6887 GB, free: 18.51 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001068/0.4006, allocations: 26.22 kB / 0.6888 GB, free: 18.51 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.135e-06/0.4006, allocations: 2.953 kB / 0.6888 GB, free: 18.51 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.523e-05/0.4006, allocations: 6.156 kB / 0.6888 GB, free: 18.51 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.21e-05/0.4007, allocations: 8.688 kB / 0.6888 GB, free: 18.51 MB / 494.1 MB 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 6.533e-05/0.4007, allocations: 112.1 kB / 0.6889 GB, free: 18.39 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.424e-05/0.4008, allocations: 7.406 kB / 0.6889 GB, free: 18.39 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.216e-05/0.4008, allocations: 8.391 kB / 0.6889 GB, free: 18.39 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.4008, allocations: 1.562 kB / 0.6889 GB, free: 18.39 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.648e-06/0.4008, allocations: 7.547 kB / 0.6889 GB, free: 18.39 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.4008, allocations: 6.328 kB / 0.6889 GB, free: 18.39 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002182/0.4011, allocations: 179.7 kB / 0.6891 GB, free: 18.2 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.4011, allocations: 0.875 kB / 0.6891 GB, free: 18.2 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.141e-05/0.4012, allocations: 20.84 kB / 0.6891 GB, free: 18.2 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.536e-06/0.4012, allocations: 1.156 kB / 0.6891 GB, free: 18.2 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.275e-06/0.4012, allocations: 2.453 kB / 0.6891 GB, free: 18.2 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.484e-06/0.4012, allocations: 0.5938 kB / 0.6891 GB, free: 18.2 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.4012, allocations: 0.5938 kB / 0.6891 GB, free: 18.2 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001541/0.4014, allocations: 176.7 kB / 0.6893 GB, free: 18.06 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.816e-05/0.4014, allocations: 86.2 kB / 0.6894 GB, free: 17.97 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.489e-05/0.4014, allocations: 1.156 kB / 0.6894 GB, free: 17.97 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001092/0.4015, allocations: 6.422 kB / 0.6894 GB, free: 17.97 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.974e-05/0.4016, allocations: 4.484 kB / 0.6894 GB, free: 17.97 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.824e-06/0.4016, allocations: 4.703 kB / 0.6894 GB, free: 17.97 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.147e-05/0.4016, allocations: 82.42 kB / 0.6895 GB, free: 17.89 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4016, allocations: 0 / 0.6895 GB, free: 17.89 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002559/0.4019, allocations: 14.25 kB / 0.6895 GB, free: 17.89 MB / 494.1 MB 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.0001047/0.402, allocations: 104.5 kB / 0.6896 GB, free: 17.8 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001123/0.4021, allocations: 43.2 kB / 0.6896 GB, free: 17.8 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.4021, allocations: 0 / 0.6896 GB, free: 17.8 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.445e-05/0.4021, allocations: 19.67 kB / 0.6896 GB, free: 17.8 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002376/0.4024, allocations: 5.391 kB / 0.6896 GB, free: 17.8 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004884/0.4029, allocations: 332.6 kB / 0.6899 GB, free: 17.61 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.921e-05/0.403, allocations: 0.6837 MB / 0.6906 GB, free: 16.91 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 4.352e-05/0.403, allocations: 8.578 kB / 0.6906 GB, free: 16.91 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.063e-05/0.4031, allocations: 12.16 kB / 0.6906 GB, free: 16.91 MB / 494.1 MB Notification: Performance of SimCode: time 2.1e-07/0.4031, allocations: 0 / 0.6906 GB, free: 16.91 MB / 494.1 MB Notification: Performance of Templates: time 0.002766/0.4058, allocations: 0.6328 MB / 0.6913 GB, free: 16.84 MB / 494.1 MB 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe 2>&1)