Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck") translateModel(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00115/0.00115, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001043/0.001043, allocations: 195.6 kB / 16.25 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.595/1.595, allocations: 205.1 MB / 222.1 MB, free: 4.691 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.755/1.755, allocations: 292.2 MB / 0.5485 GB, free: 13.68 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001379/0.001379, allocations: 66.12 kB / 0.671 GB, free: 26.14 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2643/0.2656, allocations: 114.6 MB / 0.7828 GB, free: 13.96 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.002959/0.2687, allocations: 1.313 MB / 0.7841 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003998/0.2727, allocations: 2.921 MB / 0.787 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.161e-05/0.2727, allocations: 3.938 kB / 0.787 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.968e-05/0.2728, allocations: 0 / 0.787 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.508e-05/0.2729, allocations: 3.938 kB / 0.787 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006235/0.2735, allocations: 91.67 kB / 0.7871 GB, free: 9.602 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.266e-05/0.2736, allocations: 39.78 kB / 0.7871 GB, free: 9.562 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.361e-05/0.2736, allocations: 4 kB / 0.7871 GB, free: 9.559 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005395/0.2742, allocations: 151.6 kB / 0.7873 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.607e-05/0.2743, allocations: 19.92 kB / 0.7873 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.228e-05/0.2743, allocations: 7.984 kB / 0.7873 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001718/0.2744, allocations: 55.89 kB / 0.7873 GB, free: 9.328 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.439e-05/0.2745, allocations: 7.984 kB / 0.7873 GB, free: 9.32 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.42e-05/0.2745, allocations: 19.92 kB / 0.7874 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001797/0.2747, allocations: 68.02 kB / 0.7874 GB, free: 9.234 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.2747, allocations: 0 / 0.7874 GB, free: 9.234 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.313e-06/0.2747, allocations: 0 / 0.7874 GB, free: 9.234 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.377e-06/0.2747, allocations: 0 / 0.7874 GB, free: 9.234 MB / 0.6075 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.0004402/0.2752, allocations: 351.4 kB / 0.7878 GB, free: 8.844 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.069e-05/0.2752, allocations: 8.031 kB / 0.7878 GB, free: 8.836 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.592e-05/0.2753, allocations: 4.938 kB / 0.7878 GB, free: 8.832 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000113/0.2754, allocations: 164.4 kB / 0.7879 GB, free: 8.633 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.296e-05/0.2754, allocations: 4.375 kB / 0.7879 GB, free: 8.629 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.225e-05/0.2754, allocations: 8.281 kB / 0.7879 GB, free: 8.621 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001418/0.2756, allocations: 61.78 kB / 0.788 GB, free: 8.555 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.2756, allocations: 0 / 0.788 GB, free: 8.555 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.526e-05/0.2756, allocations: 4 kB / 0.788 GB, free: 8.551 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.618e-06/0.2756, allocations: 4 kB / 0.788 GB, free: 8.547 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.489e-05/0.2757, allocations: 19.92 kB / 0.788 GB, free: 8.527 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001848/0.2759, allocations: 161.7 kB / 0.7882 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 9.214e-05/0.276, allocations: 50.56 kB / 0.7882 GB, free: 8.262 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.362e-05/0.276, allocations: 16.86 kB / 0.7882 GB, free: 8.242 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006771/0.2767, allocations: 0.5987 MB / 0.7888 GB, free: 7.535 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.777e-05/0.2768, allocations: 38.5 kB / 0.7889 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=5): time 1.262e-06/0.2768, allocations: 0 / 0.7889 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0005648/0.2773, allocations: 302.2 kB / 0.7892 GB, free: 7.141 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.404e-05/0.2774, allocations: 51.41 kB / 0.7892 GB, free: 7.078 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.407e-05/0.2775, allocations: 101.8 kB / 0.7893 GB, free: 6.969 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.598e-05/0.2775, allocations: 33.7 kB / 0.7893 GB, free: 6.93 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.875e-05/0.2775, allocations: 84.05 kB / 0.7894 GB, free: 6.844 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.008e-05/0.2776, allocations: 27.64 kB / 0.7894 GB, free: 6.816 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.177e-05/0.2776, allocations: 25.72 kB / 0.7895 GB, free: 6.785 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001024/0.2777, allocations: 318.8 kB / 0.7898 GB, free: 6.465 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.531e-05/0.2777, allocations: 16.36 kB / 0.7898 GB, free: 6.449 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.189e-05/0.2778, allocations: 57.14 kB / 0.7898 GB, free: 6.375 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.964e-05/0.2779, allocations: 69.03 kB / 0.7899 GB, free: 6.289 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.2779, allocations: 8 kB / 0.7899 GB, free: 6.281 MB / 0.6075 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000126/0.278, allocations: 105.6 kB / 0.79 GB, free: 6.172 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.2781, allocations: 4 kB / 0.79 GB, free: 6.168 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.022e-06/0.2781, allocations: 4 kB / 0.79 GB, free: 6.164 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/0.2781, allocations: 0 / 0.79 GB, free: 6.164 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.969e-05/0.2782, allocations: 19.98 kB / 0.79 GB, free: 6.145 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.2782, allocations: 4 kB / 0.79 GB, free: 6.141 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.551e-05/0.2782, allocations: 3.938 kB / 0.79 GB, free: 6.137 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.358e-06/0.2782, allocations: 4 kB / 0.79 GB, free: 6.133 MB / 0.6075 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 8.771e-05/0.2783, allocations: 126.5 kB / 0.7902 GB, free: 6 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.564e-05/0.2784, allocations: 4 kB / 0.7902 GB, free: 5.996 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.29e-05/0.2784, allocations: 11.95 kB / 0.7902 GB, free: 5.98 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.2784, allocations: 0 / 0.7902 GB, free: 5.98 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.2784, allocations: 0 / 0.7902 GB, free: 5.98 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.2784, allocations: 3.938 kB / 0.7902 GB, free: 5.977 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002277/0.2786, allocations: 177.6 kB / 0.7904 GB, free: 5.754 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.2787, allocations: 0 / 0.7904 GB, free: 5.754 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.98e-05/0.2787, allocations: 16 kB / 0.7904 GB, free: 5.738 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.2787, allocations: 0 / 0.7904 GB, free: 5.738 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.897e-06/0.2788, allocations: 7.984 kB / 0.7904 GB, free: 5.73 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.2788, allocations: 0 / 0.7904 GB, free: 5.73 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.2788, allocations: 0 / 0.7904 GB, free: 5.73 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001768/0.279, allocations: 179.4 kB / 0.7906 GB, free: 5.539 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.628e-05/0.279, allocations: 81.14 kB / 0.7906 GB, free: 5.441 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.744e-05/0.279, allocations: 8 kB / 0.7906 GB, free: 5.434 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001015/0.2791, allocations: 0 / 0.7906 GB, free: 5.434 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.184e-05/0.2792, allocations: 7.984 kB / 0.7906 GB, free: 5.426 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.234e-06/0.2792, allocations: 7.938 kB / 0.7907 GB, free: 5.418 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.682e-05/0.2792, allocations: 83.28 kB / 0.7907 GB, free: 5.336 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2792, allocations: 0 / 0.7907 GB, free: 5.336 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002287/0.2795, allocations: 12 kB / 0.7907 GB, free: 5.324 MB / 0.6075 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.0001237/0.2796, allocations: 99.25 kB / 0.7908 GB, free: 5.215 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001188/0.2797, allocations: 51.84 kB / 0.7909 GB, free: 5.164 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 8.716e-06/0.2797, allocations: 4.25 kB / 0.7909 GB, free: 5.16 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 2.096e-05/0.2798, allocations: 12 kB / 0.7909 GB, free: 5.148 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000305/0.2801, allocations: 8.219 kB / 0.7909 GB, free: 5.141 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000541/0.2806, allocations: 350.3 kB / 0.7912 GB, free: 4.77 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002237/0.2809, allocations: 0.6846 MB / 0.7919 GB, free: 4.059 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 5.689e-05/0.2809, allocations: 7.984 kB / 0.7919 GB, free: 4.051 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.282e-05/0.2809, allocations: 11.44 kB / 0.7919 GB, free: 4.039 MB / 0.6075 GB Notification: Performance of SimCode: time 2.11e-07/0.2809, allocations: 0 / 0.7919 GB, free: 4.039 MB / 0.6075 GB Notification: Performance of Templates: time 0.002684/0.2836, allocations: 0.6277 MB / 0.7925 GB, free: 3.414 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.makefile (rm -f Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; mkfifo Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; head -c 1048576 < Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe >> ../files/Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.sim & ./Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe 2>&1)