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.001146/0.001146, allocations: 105.9 kB / 16.36 MB, free: 5.957 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.0011/0.0011, allocations: 200.3 kB / 17.3 MB, free: 5.574 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.413/1.413, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.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.758/1.758, allocations: 292.3 MB / 0.5496 GB, free: 17.5 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.001407/0.001407, allocations: 63.91 kB / 0.6729 GB, free: 5.879 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2366/0.238, allocations: 114.6 MB / 0.7848 GB, free: 3.211 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.003313/0.2413, allocations: 1.256 MB / 0.786 GB, free: 1.938 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.403/0.6443, allocations: 2.922 MB / 0.7888 GB, free: 46.36 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.423e-05/0.6444, allocations: 3.094 kB / 0.7888 GB, free: 46.36 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 1.984e-05/0.6444, allocations: 3.422 kB / 0.7888 GB, free: 46.36 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 4.581e-05/0.6445, allocations: 9.5 kB / 0.7889 GB, free: 46.36 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004475/0.645, allocations: 103.5 kB / 0.789 GB, free: 46.36 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 6.244e-05/0.645, allocations: 36.45 kB / 0.789 GB, free: 46.36 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 3.962e-05/0.6451, allocations: 4.281 kB / 0.789 GB, free: 46.36 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003867/0.6455, allocations: 150.6 kB / 0.7891 GB, free: 46.36 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 3.96e-05/0.6455, allocations: 24.8 kB / 0.7892 GB, free: 46.35 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.248e-05/0.6455, allocations: 2.625 kB / 0.7892 GB, free: 46.35 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001414/0.6457, allocations: 69.36 kB / 0.7892 GB, free: 46.35 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.242e-05/0.6457, allocations: 5.562 kB / 0.7892 GB, free: 46.35 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.826e-05/0.6457, allocations: 20.81 kB / 0.7893 GB, free: 46.35 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001506/0.6459, allocations: 63.02 kB / 0.7893 GB, free: 46.34 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.6459, allocations: 0 / 0.7893 GB, free: 46.34 MB / 0.6544 GB Notification: Performance of FrontEnd: time 9.72e-07/0.6459, allocations: 1.781 kB / 0.7893 GB, free: 46.34 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.548e-06/0.6459, allocations: 3.281 kB / 0.7893 GB, free: 46.34 MB / 0.6544 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.000329/0.6463, allocations: 349.4 kB / 0.7897 GB, free: 45.99 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.261e-05/0.6463, allocations: 7.969 kB / 0.7897 GB, free: 45.99 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.461e-05/0.6463, allocations: 3.625 kB / 0.7897 GB, free: 45.99 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.94e-05/0.6464, allocations: 163 kB / 0.7898 GB, free: 45.8 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.879e-06/0.6464, allocations: 2.719 kB / 0.7898 GB, free: 45.8 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.811e-05/0.6465, allocations: 10.27 kB / 0.7898 GB, free: 45.8 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001162/0.6466, allocations: 61.75 kB / 0.7899 GB, free: 45.76 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.6466, allocations: 0 / 0.7899 GB, free: 45.76 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/0.6466, allocations: 3.438 kB / 0.7899 GB, free: 45.76 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.6466, allocations: 2.562 kB / 0.7899 GB, free: 45.76 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.838e-05/0.6467, allocations: 17.11 kB / 0.7899 GB, free: 45.76 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001199/0.6468, allocations: 174.7 kB / 0.7901 GB, free: 45.57 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 8.221e-05/0.6469, allocations: 52.88 kB / 0.7901 GB, free: 45.54 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.711e-05/0.6469, allocations: 16.45 kB / 0.7901 GB, free: 45.54 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005507/0.6475, allocations: 0.5896 MB / 0.7907 GB, free: 44.92 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.408e-05/0.6475, allocations: 33.84 kB / 0.7908 GB, free: 44.88 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=5): time 1.112e-06/0.6475, allocations: 1.906 kB / 0.7908 GB, free: 44.88 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7): time 0.0004909/0.648, allocations: 299.9 kB / 0.791 GB, free: 44.63 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.061e-05/0.648, allocations: 55.97 kB / 0.7911 GB, free: 44.57 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.623e-05/0.6481, allocations: 102.3 kB / 0.7912 GB, free: 44.46 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.109e-05/0.6481, allocations: 27.77 kB / 0.7912 GB, free: 44.43 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 2.507e-05/0.6481, allocations: 92.61 kB / 0.7913 GB, free: 44.34 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.319e-05/0.6482, allocations: 25 kB / 0.7913 GB, free: 44.33 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.232e-05/0.6482, allocations: 29.69 kB / 0.7914 GB, free: 44.31 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.47e-05/0.6483, allocations: 316 kB / 0.7917 GB, free: 44 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.548e-05/0.6483, allocations: 14.42 kB / 0.7917 GB, free: 44 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.503e-05/0.6483, allocations: 53.45 kB / 0.7917 GB, free: 43.95 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.997e-05/0.6484, allocations: 76.03 kB / 0.7918 GB, free: 43.91 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.6484, allocations: 0.6875 kB / 0.7918 GB, free: 43.91 MB / 0.6544 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001147/0.6485, allocations: 99.52 kB / 0.7919 GB, free: 43.87 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.6486, allocations: 7.875 kB / 0.7919 GB, free: 43.87 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.96e-06/0.6486, allocations: 0 / 0.7919 GB, free: 43.87 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.6486, allocations: 2.25 kB / 0.7919 GB, free: 43.87 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.404e-05/0.6487, allocations: 21.52 kB / 0.7919 GB, free: 43.87 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.004e-06/0.6487, allocations: 2.156 kB / 0.7919 GB, free: 43.87 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.042e-05/0.6487, allocations: 11.16 kB / 0.7919 GB, free: 43.87 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.304e-06/0.6487, allocations: 7.156 kB / 0.7919 GB, free: 43.87 MB / 0.6544 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.094e-05/0.6488, allocations: 119.9 kB / 0.7921 GB, free: 43.75 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.768e-05/0.6488, allocations: 1.969 kB / 0.7921 GB, free: 43.75 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.927e-05/0.6489, allocations: 12.44 kB / 0.7921 GB, free: 43.75 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-06/0.6489, allocations: 0 / 0.7921 GB, free: 43.75 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.6489, allocations: 0.625 kB / 0.7921 GB, free: 43.75 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.6489, allocations: 6.625 kB / 0.7921 GB, free: 43.75 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001869/0.6491, allocations: 173 kB / 0.7922 GB, free: 43.56 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.6491, allocations: 1.062 kB / 0.7922 GB, free: 43.56 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.609e-05/0.6492, allocations: 21.88 kB / 0.7923 GB, free: 43.56 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.6492, allocations: 0 / 0.7923 GB, free: 43.56 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.544e-06/0.6492, allocations: 2.062 kB / 0.7923 GB, free: 43.56 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.6492, allocations: 0.5938 kB / 0.7923 GB, free: 43.56 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-06/0.6492, allocations: 4.688 kB / 0.7923 GB, free: 43.56 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001394/0.6494, allocations: 176.9 kB / 0.7924 GB, free: 43.42 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.568e-05/0.6494, allocations: 82.98 kB / 0.7925 GB, free: 43.32 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.597e-05/0.6494, allocations: 3.938 kB / 0.7925 GB, free: 43.32 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001048/0.6495, allocations: 5.781 kB / 0.7925 GB, free: 43.32 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.311e-05/0.6496, allocations: 8.422 kB / 0.7925 GB, free: 43.32 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.093e-06/0.6496, allocations: 8.125 kB / 0.7925 GB, free: 43.32 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 1.94e-05/0.6496, allocations: 83.75 kB / 0.7926 GB, free: 43.24 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6496, allocations: 4 kB / 0.7926 GB, free: 43.24 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002371/0.6499, allocations: 9.125 kB / 0.7926 GB, free: 43.24 MB / 0.6544 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 9.69e-05/0.65, allocations: 106.5 kB / 0.7927 GB, free: 43.15 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001028/0.6501, allocations: 41.47 kB / 0.7928 GB, free: 43.15 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.6501, allocations: 0 / 0.7928 GB, free: 43.15 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 2.187e-05/0.6501, allocations: 20.25 kB / 0.7928 GB, free: 43.15 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002935/0.6504, allocations: 11.16 kB / 0.7928 GB, free: 43.15 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000455/0.6509, allocations: 328.1 kB / 0.7931 GB, free: 42.91 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001068/0.651, allocations: 0.6829 MB / 0.7938 GB, free: 42.22 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 4.077e-05/0.651, allocations: 12.56 kB / 0.7938 GB, free: 42.21 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.972e-05/0.6511, allocations: 12.69 kB / 0.7938 GB, free: 42.21 MB / 0.6544 GB Notification: Performance of SimCode: time 3.4e-07/0.6511, allocations: 0 / 0.7938 GB, free: 42.21 MB / 0.6544 GB Notification: Performance of Templates: time 0.002526/0.6536, allocations: 0.6161 MB / 0.7944 GB, free: 42.18 MB / 0.6544 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 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe 2>&1)