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.001343/0.001343, allocations: 107.2 kB / 15.99 MB, free: 6.359 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.00149/0.00149, allocations: 189.2 kB / 16.91 MB, free: 6.195 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.471/1.471, allocations: 205.1 MB / 222.8 MB, free: 4.703 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.63/1.63, allocations: 292.3 MB / 0.5492 GB, free: 13.63 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.001365/0.001365, allocations: 74.59 kB / 0.6716 GB, free: 26.35 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2423/0.2436, allocations: 114.5 MB / 0.7835 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.002446/0.2461, allocations: 1.317 MB / 0.7848 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003494/0.2496, allocations: 2.905 MB / 0.7876 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.067e-05/0.2497, allocations: 0 / 0.7876 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.696e-05/0.2497, allocations: 0 / 0.7876 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.727e-05/0.2498, allocations: 15.92 kB / 0.7876 GB, free: 9.652 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004884/0.2503, allocations: 87.62 kB / 0.7877 GB, free: 9.566 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.741e-05/0.2504, allocations: 39.83 kB / 0.7878 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.349e-05/0.2504, allocations: 4 kB / 0.7878 GB, free: 9.523 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004346/0.2509, allocations: 147.6 kB / 0.7879 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.155e-05/0.2509, allocations: 19.91 kB / 0.7879 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.196e-05/0.2509, allocations: 4 kB / 0.7879 GB, free: 9.355 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001378/0.2511, allocations: 63.88 kB / 0.788 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.633e-05/0.2511, allocations: 11.98 kB / 0.788 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.703e-05/0.2511, allocations: 11.94 kB / 0.788 GB, free: 9.27 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001163/0.2512, allocations: 44.16 kB / 0.7881 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.2513, allocations: 4 kB / 0.7881 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.423e-06/0.2513, allocations: 0 / 0.7881 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.56e-06/0.2513, allocations: 0 / 0.7881 GB, free: 9.223 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.0004242/0.2517, allocations: 351.3 kB / 0.7884 GB, free: 8.832 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.605e-05/0.2517, allocations: 11.97 kB / 0.7884 GB, free: 8.82 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.179e-05/0.2518, allocations: 8.938 kB / 0.7884 GB, free: 8.812 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001198/0.2519, allocations: 160.4 kB / 0.7886 GB, free: 8.617 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.396e-05/0.2519, allocations: 8.375 kB / 0.7886 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.378e-05/0.252, allocations: 8.281 kB / 0.7886 GB, free: 8.602 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001362/0.2521, allocations: 61.78 kB / 0.7886 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.346e-06/0.2521, allocations: 0 / 0.7886 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.133e-05/0.2521, allocations: 0 / 0.7886 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.2522, allocations: 3.984 kB / 0.7886 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.421e-05/0.2522, allocations: 19.97 kB / 0.7887 GB, free: 8.512 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001722/0.2524, allocations: 173.6 kB / 0.7888 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 8.976e-05/0.2525, allocations: 50.56 kB / 0.7889 GB, free: 8.234 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.358e-05/0.2525, allocations: 20.84 kB / 0.7889 GB, free: 8.211 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006938/0.2532, allocations: 0.5869 MB / 0.7895 GB, free: 7.516 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.255e-05/0.2533, allocations: 34.56 kB / 0.7895 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=5): time 1.122e-06/0.2533, allocations: 0 / 0.7895 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0005831/0.2539, allocations: 306.4 kB / 0.7898 GB, free: 7.121 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.858e-05/0.2539, allocations: 55.41 kB / 0.7898 GB, free: 7.055 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.08e-05/0.254, allocations: 101.8 kB / 0.7899 GB, free: 6.945 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.678e-05/0.254, allocations: 25.7 kB / 0.79 GB, free: 6.914 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.536e-05/0.2541, allocations: 87.98 kB / 0.7901 GB, free: 6.824 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.497e-05/0.2541, allocations: 31.64 kB / 0.7901 GB, free: 6.793 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.799e-05/0.2542, allocations: 25.72 kB / 0.7901 GB, free: 6.762 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001124/0.2543, allocations: 322.8 kB / 0.7904 GB, free: 6.438 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.462e-05/0.2543, allocations: 8 kB / 0.7904 GB, free: 6.43 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.408e-05/0.2544, allocations: 57.08 kB / 0.7905 GB, free: 6.355 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.404e-05/0.2545, allocations: 81.02 kB / 0.7906 GB, free: 6.258 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.2545, allocations: 0 / 0.7906 GB, free: 6.258 MB / 0.6075 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000129/0.2546, allocations: 93.45 kB / 0.7906 GB, free: 6.16 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.2546, allocations: 4 kB / 0.7906 GB, free: 6.156 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.2546, allocations: 8.125 kB / 0.7907 GB, free: 6.148 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.2547, allocations: 0 / 0.7907 GB, free: 6.148 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.634e-05/0.2547, allocations: 24 kB / 0.7907 GB, free: 6.125 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.65e-06/0.2547, allocations: 0 / 0.7907 GB, free: 6.125 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.973e-05/0.2548, allocations: 11.92 kB / 0.7907 GB, free: 6.113 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.193e-06/0.2548, allocations: 4 kB / 0.7907 GB, free: 6.109 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.275e-05/0.2549, allocations: 113.8 kB / 0.7908 GB, free: 5.988 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.542e-05/0.2549, allocations: 4 kB / 0.7908 GB, free: 5.984 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.228e-05/0.255, allocations: 7.969 kB / 0.7908 GB, free: 5.973 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.255, allocations: 4 kB / 0.7908 GB, free: 5.969 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.255, allocations: 4 kB / 0.7908 GB, free: 5.965 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.255, allocations: 4.219 kB / 0.7908 GB, free: 5.961 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002316/0.2552, allocations: 173.7 kB / 0.791 GB, free: 5.742 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.2552, allocations: 0 / 0.791 GB, free: 5.742 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.403e-05/0.2553, allocations: 15.98 kB / 0.791 GB, free: 5.727 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.2553, allocations: 448 / 0.791 GB, free: 5.727 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.387e-06/0.2553, allocations: 3.984 kB / 0.791 GB, free: 5.723 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.2553, allocations: 4 kB / 0.791 GB, free: 5.719 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.2554, allocations: 4 kB / 0.791 GB, free: 5.715 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000187/0.2555, allocations: 183.3 kB / 0.7912 GB, free: 5.52 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.477e-05/0.2556, allocations: 81.11 kB / 0.7913 GB, free: 5.422 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.455e-05/0.2556, allocations: 4 kB / 0.7913 GB, free: 5.418 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001036/0.2557, allocations: 4.031 kB / 0.7913 GB, free: 5.414 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.337e-05/0.2558, allocations: 4 kB / 0.7913 GB, free: 5.41 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.536e-06/0.2558, allocations: 7.938 kB / 0.7913 GB, free: 5.402 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.302e-05/0.2558, allocations: 75.28 kB / 0.7914 GB, free: 5.328 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2558, allocations: 4 kB / 0.7914 GB, free: 5.324 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002307/0.2561, allocations: 16 kB / 0.7914 GB, free: 5.309 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.0001352/0.2562, allocations: 107.2 kB / 0.7915 GB, free: 5.191 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001252/0.2563, allocations: 47.8 kB / 0.7915 GB, free: 5.145 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.2564, allocations: 3.938 kB / 0.7915 GB, free: 5.141 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 2.175e-05/0.2564, allocations: 16 kB / 0.7915 GB, free: 5.125 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003195/0.2567, allocations: 14.48 kB / 0.7916 GB, free: 5.113 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006135/0.2573, allocations: 368 kB / 0.7919 GB, free: 4.719 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000313/0.2577, allocations: 0.6846 MB / 0.7926 GB, free: 4.008 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.86e-05/0.2577, allocations: 11.44 kB / 0.7926 GB, free: 3.996 MB / 0.6075 GB Notification: Performance of SimCode: time 2.4e-07/0.2577, allocations: 0 / 0.7926 GB, free: 3.996 MB / 0.6075 GB Notification: Performance of Templates: time 0.002266/0.26, allocations: 0.7813 MB / 0.7934 GB, free: 3.211 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)