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.001347/0.001347, allocations: 108 kB / 15.61 MB, free: 148 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.001291/0.001291, allocations: 197.1 kB / 16.53 MB, free: 6.656 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: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001957/0.001957, allocations: 279.1 kB / 290.7 MB, free: 1.996 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9066/0.9066, allocations: 169.3 MB / 0.4982 GB, free: 13.95 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001765/0.001765, allocations: 96.14 kB / 0.5952 GB, free: 27.74 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1422/0.144, allocations: 86.98 MB / 0.6802 GB, free: 0.7148 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.002261/0.1463, allocations: 1.253 MB / 0.6814 GB, free: 15.46 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003296/0.1496, allocations: 2.934 MB / 0.6843 GB, free: 12.52 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.955e-05/0.1497, allocations: 0 / 0.6843 GB, free: 12.52 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.044e-05/0.1497, allocations: 3.938 kB / 0.6843 GB, free: 12.51 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.929e-05/0.1497, allocations: 3.938 kB / 0.6843 GB, free: 12.51 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004332/0.1502, allocations: 95.59 kB / 0.6844 GB, free: 12.41 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.338e-05/0.1503, allocations: 35.86 kB / 0.6844 GB, free: 12.38 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.175e-05/0.1503, allocations: 0 / 0.6844 GB, free: 12.38 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004015/0.1507, allocations: 167.7 kB / 0.6845 GB, free: 12.21 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.136e-05/0.1508, allocations: 23.91 kB / 0.6846 GB, free: 12.19 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.091e-05/0.1508, allocations: 0 / 0.6846 GB, free: 12.19 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001526/0.1509, allocations: 63.83 kB / 0.6846 GB, free: 12.13 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.754e-05/0.151, allocations: 11.98 kB / 0.6846 GB, free: 12.12 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.987e-05/0.151, allocations: 19.92 kB / 0.6847 GB, free: 12.1 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001508/0.1511, allocations: 55.81 kB / 0.6847 GB, free: 12.04 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.1512, allocations: 0 / 0.6847 GB, free: 12.04 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1512, allocations: 0 / 0.6847 GB, free: 12.04 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.029e-06/0.1512, allocations: 0 / 0.6847 GB, free: 12.04 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.0003812/0.1516, allocations: 353.4 kB / 0.6851 GB, free: 11.65 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.293e-05/0.1516, allocations: 8.031 kB / 0.6851 GB, free: 11.64 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.322e-05/0.1517, allocations: 8.844 kB / 0.6851 GB, free: 11.64 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.841e-05/0.1518, allocations: 160.4 kB / 0.6852 GB, free: 11.44 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.26e-05/0.1518, allocations: 8.375 kB / 0.6852 GB, free: 11.43 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.497e-05/0.1518, allocations: 8.359 kB / 0.6852 GB, free: 11.43 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001181/0.1519, allocations: 61.73 kB / 0.6853 GB, free: 11.36 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.1519, allocations: 4 kB / 0.6853 GB, free: 11.36 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.272e-05/0.152, allocations: 3.984 kB / 0.6853 GB, free: 11.35 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.499e-06/0.152, allocations: 0 / 0.6853 GB, free: 11.35 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.059e-05/0.152, allocations: 19.98 kB / 0.6853 GB, free: 11.33 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000153/0.1522, allocations: 157.7 kB / 0.6855 GB, free: 11.13 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.611e-05/0.1523, allocations: 50.55 kB / 0.6855 GB, free: 11.07 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.816e-05/0.1523, allocations: 20.8 kB / 0.6855 GB, free: 11.05 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006347/0.153, allocations: 0.6026 MB / 0.6861 GB, free: 10.34 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.927e-05/0.153, allocations: 34.55 kB / 0.6862 GB, free: 10.29 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 1.173e-06/0.153, allocations: 0 / 0.6862 GB, free: 10.29 MB / 494.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005274/0.1535, allocations: 302.6 kB / 0.6865 GB, free: 9.945 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.652e-05/0.1536, allocations: 55.41 kB / 0.6865 GB, free: 9.879 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.45e-05/0.1536, allocations: 101.9 kB / 0.6866 GB, free: 9.77 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.44e-05/0.1537, allocations: 25.7 kB / 0.6866 GB, free: 9.738 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.529e-05/0.1537, allocations: 91.97 kB / 0.6867 GB, free: 9.645 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.772e-05/0.1537, allocations: 27.56 kB / 0.6867 GB, free: 9.617 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.607e-05/0.1538, allocations: 29.7 kB / 0.6868 GB, free: 9.582 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.226e-05/0.1539, allocations: 318.8 kB / 0.6871 GB, free: 9.262 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.601e-05/0.1539, allocations: 11.98 kB / 0.6871 GB, free: 9.25 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.685e-05/0.1539, allocations: 57.09 kB / 0.6871 GB, free: 9.176 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.779e-05/0.154, allocations: 73.08 kB / 0.6872 GB, free: 9.086 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.71e-07/0.154, allocations: 4 kB / 0.6872 GB, free: 9.082 MB / 494.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001248/0.1542, allocations: 93.55 kB / 0.6873 GB, free: 8.984 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.203e-05/0.1542, allocations: 8 kB / 0.6873 GB, free: 8.977 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.1542, allocations: 0 / 0.6873 GB, free: 8.977 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.132e-05/0.1542, allocations: 0 / 0.6873 GB, free: 8.977 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.523e-05/0.1543, allocations: 23.98 kB / 0.6873 GB, free: 8.953 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.1543, allocations: 3.938 kB / 0.6873 GB, free: 8.949 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.638e-05/0.1543, allocations: 7.938 kB / 0.6873 GB, free: 8.941 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.394e-06/0.1543, allocations: 4 kB / 0.6873 GB, free: 8.938 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.765e-05/0.1544, allocations: 115.3 kB / 0.6875 GB, free: 8.816 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.913e-05/0.1545, allocations: 7.906 kB / 0.6875 GB, free: 8.809 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.485e-05/0.1545, allocations: 7.969 kB / 0.6875 GB, free: 8.805 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.544e-06/0.1545, allocations: 4 kB / 0.6875 GB, free: 8.801 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.1545, allocations: 0 / 0.6875 GB, free: 8.801 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.1545, allocations: 7.922 kB / 0.6875 GB, free: 8.793 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002171/0.1547, allocations: 173.7 kB / 0.6876 GB, free: 8.574 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.1547, allocations: 3.984 kB / 0.6877 GB, free: 8.57 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.377e-05/0.1548, allocations: 15.94 kB / 0.6877 GB, free: 8.555 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.714e-06/0.1548, allocations: 4 kB / 0.6877 GB, free: 8.551 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.302e-06/0.1549, allocations: 0 / 0.6877 GB, free: 8.551 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.1549, allocations: 4 kB / 0.6877 GB, free: 8.547 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.1549, allocations: 0 / 0.6877 GB, free: 8.547 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001564/0.155, allocations: 171.4 kB / 0.6878 GB, free: 8.363 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.528e-05/0.1551, allocations: 89.05 kB / 0.6879 GB, free: 8.258 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.365e-05/0.1551, allocations: 7.938 kB / 0.6879 GB, free: 8.25 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000102/0.1552, allocations: 4 kB / 0.6879 GB, free: 8.246 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.607e-05/0.1552, allocations: 4 kB / 0.6879 GB, free: 8.242 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.935e-06/0.1552, allocations: 8.375 kB / 0.6879 GB, free: 8.234 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.145e-05/0.1553, allocations: 87.25 kB / 0.688 GB, free: 8.148 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1553, allocations: 0 / 0.688 GB, free: 8.148 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002303/0.1555, allocations: 12 kB / 0.688 GB, free: 8.137 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.0001133/0.1556, allocations: 111.2 kB / 0.6881 GB, free: 8.016 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001105/0.1558, allocations: 43.92 kB / 0.6882 GB, free: 7.973 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.1558, allocations: 4 kB / 0.6882 GB, free: 7.969 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.51e-05/0.1558, allocations: 15.97 kB / 0.6882 GB, free: 7.953 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002715/0.1561, allocations: 11.94 kB / 0.6882 GB, free: 7.941 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005446/0.1566, allocations: 328.9 kB / 0.6885 GB, free: 7.598 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002068/0.1569, allocations: 0.6807 MB / 0.6892 GB, free: 6.891 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 5.412e-05/0.1569, allocations: 11.98 kB / 0.6892 GB, free: 6.879 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.186e-05/0.1569, allocations: 11.44 kB / 0.6892 GB, free: 6.867 MB / 494.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1569, allocations: 0 / 0.6892 GB, free: 6.867 MB / 494.1 MB Notification: Performance of Templates: time 0.002558/0.1595, allocations: 0.6314 MB / 0.6898 GB, free: 6.238 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe 2>&1)