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.0009739/0.0009739, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.007846/0.007846, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.445/1.445, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.685/1.685, allocations: 292.7 MB / 0.5502 GB, free: 14.47 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.0005675/0.0005675, allocations: 21.64 kB / 0.6743 GB, free: 25.84 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2458/0.2464, allocations: 116.3 MB / 0.7879 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.001285/0.2477, allocations: 0.9897 MB / 0.7888 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003738/0.2515, allocations: 2.89 MB / 0.7916 GB, free: 7.676 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.196e-05/0.2515, allocations: 0 / 0.7916 GB, free: 7.676 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.891e-05/0.2516, allocations: 3.984 kB / 0.7916 GB, free: 7.672 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.183e-05/0.2516, allocations: 11.98 kB / 0.7917 GB, free: 7.66 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004717/0.2521, allocations: 87.61 kB / 0.7917 GB, free: 7.574 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.303e-05/0.2522, allocations: 39.86 kB / 0.7918 GB, free: 7.535 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.39e-05/0.2522, allocations: 0 / 0.7918 GB, free: 7.535 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004508/0.2527, allocations: 139.6 kB / 0.7919 GB, free: 7.398 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.041e-05/0.2527, allocations: 19.92 kB / 0.7919 GB, free: 7.379 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 9.037e-06/0.2527, allocations: 4 kB / 0.7919 GB, free: 7.375 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001554/0.2529, allocations: 71.8 kB / 0.792 GB, free: 7.305 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.38e-05/0.2529, allocations: 4 kB / 0.792 GB, free: 7.301 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.911e-05/0.253, allocations: 45.62 kB / 0.7921 GB, free: 7.25 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001675/0.2531, allocations: 64.08 kB / 0.7921 GB, free: 7.188 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.2532, allocations: 0 / 0.7921 GB, free: 7.188 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.164e-06/0.2532, allocations: 0 / 0.7921 GB, free: 7.188 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.617e-06/0.2532, allocations: 0 / 0.7921 GB, free: 7.188 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.0003839/0.2536, allocations: 335.5 kB / 0.7924 GB, free: 6.812 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.879e-05/0.2536, allocations: 12.03 kB / 0.7924 GB, free: 6.801 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.787e-05/0.2536, allocations: 8.922 kB / 0.7925 GB, free: 6.793 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001077/0.2538, allocations: 164.3 kB / 0.7926 GB, free: 6.594 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.193e-05/0.2538, allocations: 8.312 kB / 0.7926 GB, free: 6.586 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.751e-05/0.2538, allocations: 8.281 kB / 0.7926 GB, free: 6.578 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001247/0.2539, allocations: 53.8 kB / 0.7927 GB, free: 6.52 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.254, allocations: 4 kB / 0.7927 GB, free: 6.516 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.121e-05/0.254, allocations: 0 / 0.7927 GB, free: 6.516 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.254, allocations: 0 / 0.7927 GB, free: 6.516 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.496e-05/0.254, allocations: 23.98 kB / 0.7927 GB, free: 6.492 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000175/0.2542, allocations: 169.6 kB / 0.7929 GB, free: 6.277 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 9.547e-05/0.2543, allocations: 50.5 kB / 0.7929 GB, free: 6.219 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.836e-05/0.2544, allocations: 12.86 kB / 0.7929 GB, free: 6.203 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007769/0.2551, allocations: 0.5985 MB / 0.7935 GB, free: 5.496 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.578e-05/0.2552, allocations: 42.5 kB / 0.7936 GB, free: 5.445 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=5): time 1.482e-06/0.2552, allocations: 0 / 0.7936 GB, free: 5.445 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0006072/0.2558, allocations: 310.4 kB / 0.7938 GB, free: 5.09 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.98e-05/0.2559, allocations: 51.41 kB / 0.7939 GB, free: 5.027 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.102e-05/0.2559, allocations: 101.8 kB / 0.794 GB, free: 4.918 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.677e-05/0.256, allocations: 29.7 kB / 0.794 GB, free: 4.883 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.018e-05/0.256, allocations: 88.05 kB / 0.7941 GB, free: 4.793 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.893e-05/0.256, allocations: 31.58 kB / 0.7941 GB, free: 4.762 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.978e-05/0.2561, allocations: 17.72 kB / 0.7942 GB, free: 4.738 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001032/0.2562, allocations: 314.8 kB / 0.7945 GB, free: 4.422 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.885e-05/0.2562, allocations: 15.98 kB / 0.7945 GB, free: 4.406 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.546e-05/0.2563, allocations: 49.14 kB / 0.7945 GB, free: 4.34 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.517e-05/0.2564, allocations: 77.09 kB / 0.7946 GB, free: 4.246 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.2564, allocations: 0 / 0.7946 GB, free: 4.246 MB / 0.6075 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001337/0.2565, allocations: 93.58 kB / 0.7947 GB, free: 4.148 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.2565, allocations: 12 kB / 0.7947 GB, free: 4.137 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.2566, allocations: 0 / 0.7947 GB, free: 4.137 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.2566, allocations: 4 kB / 0.7947 GB, free: 4.133 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.181e-05/0.2567, allocations: 23.92 kB / 0.7947 GB, free: 4.109 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.2567, allocations: 0 / 0.7947 GB, free: 4.109 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.069e-05/0.2567, allocations: 11.94 kB / 0.7947 GB, free: 4.098 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.755e-06/0.2567, allocations: 4 kB / 0.7947 GB, free: 4.094 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 6.905e-05/0.2568, allocations: 109.8 kB / 0.7948 GB, free: 3.977 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.531e-05/0.2568, allocations: 4 kB / 0.7948 GB, free: 3.973 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.272e-05/0.2569, allocations: 15.95 kB / 0.7949 GB, free: 3.953 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.009e-06/0.2569, allocations: 7.938 kB / 0.7949 GB, free: 3.945 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.2569, allocations: 3.938 kB / 0.7949 GB, free: 3.941 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.2569, allocations: 3.938 kB / 0.7949 GB, free: 3.938 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002321/0.2571, allocations: 169.7 kB / 0.795 GB, free: 3.723 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.2572, allocations: 0 / 0.795 GB, free: 3.723 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.308e-05/0.2572, allocations: 16 kB / 0.795 GB, free: 3.707 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.2573, allocations: 0 / 0.795 GB, free: 3.707 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.082e-05/0.2573, allocations: 7.984 kB / 0.7951 GB, free: 3.699 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.2573, allocations: 0 / 0.7951 GB, free: 3.699 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.2573, allocations: 4 kB / 0.7951 GB, free: 3.695 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001712/0.2575, allocations: 171.4 kB / 0.7952 GB, free: 3.512 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.629e-05/0.2575, allocations: 85.14 kB / 0.7953 GB, free: 3.41 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.588e-05/0.2575, allocations: 448 / 0.7953 GB, free: 3.41 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001047/0.2577, allocations: 8.312 kB / 0.7953 GB, free: 3.402 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.885e-05/0.2577, allocations: 11.92 kB / 0.7953 GB, free: 3.391 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.736e-06/0.2577, allocations: 11.94 kB / 0.7953 GB, free: 3.379 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.394e-05/0.2577, allocations: 83.27 kB / 0.7954 GB, free: 3.297 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2577, allocations: 0 / 0.7954 GB, free: 3.297 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002347/0.258, allocations: 16 kB / 0.7954 GB, free: 3.281 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.0001282/0.2581, allocations: 99.25 kB / 0.7955 GB, free: 3.172 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 9.677e-05/0.2582, allocations: 39.92 kB / 0.7956 GB, free: 3.133 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.2582, allocations: 0 / 0.7956 GB, free: 3.133 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 2.592e-05/0.2583, allocations: 20.17 kB / 0.7956 GB, free: 3.113 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002614/0.2585, allocations: 12 kB / 0.7956 GB, free: 3.102 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005659/0.2591, allocations: 386.6 kB / 0.796 GB, free: 2.699 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002184/0.2593, allocations: 0.6887 MB / 0.7966 GB, free: 1.984 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 5.896e-05/0.2594, allocations: 11.98 kB / 0.7966 GB, free: 1.973 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.235e-05/0.2594, allocations: 11.44 kB / 0.7967 GB, free: 1.961 MB / 0.6075 GB Notification: Performance of SimCode: time 4.81e-07/0.2594, allocations: 0 / 0.7967 GB, free: 1.961 MB / 0.6075 GB Notification: Performance of Templates: time 0.003092/0.2625, allocations: 0.5952 MB / 0.7972 GB, free: 1.371 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: