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.005212/0.005212, allocations: 100.1 kB / 15.73 MB, free: 6.004 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.001071/0.001071, allocations: 191.5 kB / 16.67 MB, free: 5.926 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.264/1.264, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002012/0.002012, allocations: 283 kB / 290.8 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9116/0.9116, allocations: 169.3 MB / 0.4983 GB, free: 4.41 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001897/0.001897, allocations: 91.86 kB / 0.6814 GB, free: 6.969 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4397/0.4416, allocations: 86.98 MB / 0.7664 GB, free: 3.887 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.002425/0.4441, allocations: 1.251 MB / 0.7676 GB, free: 2.629 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.003716/0.4479, allocations: 2.932 MB / 0.7704 GB, free: 15.68 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.887e-05/0.4479, allocations: 3.938 kB / 0.7704 GB, free: 15.68 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.947e-05/0.448, allocations: 0 / 0.7704 GB, free: 15.68 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.821e-05/0.448, allocations: 11.92 kB / 0.7705 GB, free: 15.67 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004999/0.4485, allocations: 91.56 kB / 0.7705 GB, free: 15.58 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.841e-05/0.4486, allocations: 43.83 kB / 0.7706 GB, free: 15.54 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.345e-05/0.4487, allocations: 4 kB / 0.7706 GB, free: 15.53 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004562/0.4491, allocations: 151.5 kB / 0.7707 GB, free: 15.38 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 4.754e-05/0.4492, allocations: 19.92 kB / 0.7708 GB, free: 15.36 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.4e-05/0.4492, allocations: 4 kB / 0.7708 GB, free: 15.36 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001546/0.4494, allocations: 67.88 kB / 0.7708 GB, free: 15.29 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.527e-05/0.4494, allocations: 3.984 kB / 0.7708 GB, free: 15.29 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.149e-05/0.4494, allocations: 15.94 kB / 0.7708 GB, free: 15.27 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001857/0.4496, allocations: 67.52 kB / 0.7709 GB, free: 15.21 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.4496, allocations: 0 / 0.7709 GB, free: 15.21 MB / 0.545 GB Notification: Performance of FrontEnd: time 5e-06/0.4496, allocations: 3.984 kB / 0.7709 GB, free: 15.21 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.521e-06/0.4497, allocations: 7.938 kB / 0.7709 GB, free: 15.2 MB / 0.545 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.0004837/0.4501, allocations: 342 kB / 0.7712 GB, free: 14.82 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.928e-05/0.4502, allocations: 12.03 kB / 0.7713 GB, free: 14.81 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.949e-05/0.4502, allocations: 4.938 kB / 0.7713 GB, free: 14.8 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001263/0.4504, allocations: 160.4 kB / 0.7714 GB, free: 14.61 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.928e-06/0.4504, allocations: 4.359 kB / 0.7714 GB, free: 14.61 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.177e-05/0.4504, allocations: 4.375 kB / 0.7714 GB, free: 14.6 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001421/0.4506, allocations: 57.8 kB / 0.7715 GB, free: 14.54 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.4506, allocations: 4 kB / 0.7715 GB, free: 14.54 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.521e-05/0.4506, allocations: 0 / 0.7715 GB, free: 14.54 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.4506, allocations: 7.938 kB / 0.7715 GB, free: 14.53 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.975e-05/0.4507, allocations: 19.92 kB / 0.7715 GB, free: 14.51 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002026/0.4509, allocations: 173.5 kB / 0.7717 GB, free: 14.29 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001001/0.451, allocations: 50.55 kB / 0.7717 GB, free: 14.23 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.099e-05/0.451, allocations: 16.86 kB / 0.7717 GB, free: 14.21 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007059/0.4518, allocations: 0.5908 MB / 0.7723 GB, free: 13.51 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.244e-05/0.4518, allocations: 38.55 kB / 0.7724 GB, free: 13.46 MB / 0.545 GB Notification: Performance of pre-optimization done (n=5): time 1.112e-06/0.4518, allocations: 0 / 0.7724 GB, free: 13.46 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.0005986/0.4524, allocations: 310.4 kB / 0.7726 GB, free: 13.11 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.899e-05/0.4525, allocations: 55.41 kB / 0.7727 GB, free: 13.04 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.19e-05/0.4525, allocations: 97.86 kB / 0.7728 GB, free: 12.94 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.091e-05/0.4526, allocations: 29.7 kB / 0.7728 GB, free: 12.9 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.279e-05/0.4526, allocations: 92.03 kB / 0.7729 GB, free: 12.81 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.091e-05/0.4527, allocations: 23.66 kB / 0.7729 GB, free: 12.79 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.279e-05/0.4527, allocations: 25.7 kB / 0.773 GB, free: 12.75 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001074/0.4528, allocations: 322.7 kB / 0.7733 GB, free: 12.43 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.079e-05/0.4529, allocations: 15.98 kB / 0.7733 GB, free: 12.41 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.731e-05/0.4529, allocations: 53.14 kB / 0.7733 GB, free: 12.34 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.698e-05/0.453, allocations: 73.2 kB / 0.7734 GB, free: 12.25 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.453, allocations: 4 kB / 0.7734 GB, free: 12.25 MB / 0.545 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000138/0.4532, allocations: 101.5 kB / 0.7735 GB, free: 12.14 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.4532, allocations: 4 kB / 0.7735 GB, free: 12.14 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.804e-06/0.4532, allocations: 0 / 0.7735 GB, free: 12.14 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.4532, allocations: 8.375 kB / 0.7735 GB, free: 12.13 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.499e-05/0.4533, allocations: 19.98 kB / 0.7735 GB, free: 12.11 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/0.4533, allocations: 4 kB / 0.7735 GB, free: 12.11 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.875e-05/0.4534, allocations: 7.938 kB / 0.7735 GB, free: 12.1 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.536e-06/0.4534, allocations: 8.125 kB / 0.7735 GB, free: 12.09 MB / 0.545 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.268e-05/0.4535, allocations: 124.2 kB / 0.7737 GB, free: 11.96 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.898e-05/0.4535, allocations: 4 kB / 0.7737 GB, free: 11.96 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.904e-05/0.4536, allocations: 7.969 kB / 0.7737 GB, free: 11.95 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.4536, allocations: 0 / 0.7737 GB, free: 11.95 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.4536, allocations: 0 / 0.7737 GB, free: 11.95 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.4536, allocations: 7.922 kB / 0.7737 GB, free: 11.95 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002326/0.4538, allocations: 169.7 kB / 0.7738 GB, free: 11.73 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.4538, allocations: 0 / 0.7738 GB, free: 11.73 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.426e-05/0.4539, allocations: 16 kB / 0.7739 GB, free: 11.71 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.4539, allocations: 4 kB / 0.7739 GB, free: 11.71 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.216e-06/0.4539, allocations: 0 / 0.7739 GB, free: 11.71 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.454, allocations: 80 / 0.7739 GB, free: 11.71 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.454, allocations: 3.984 kB / 0.7739 GB, free: 11.71 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001982/0.4542, allocations: 187.3 kB / 0.7741 GB, free: 11.51 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.912e-05/0.4542, allocations: 81.14 kB / 0.7741 GB, free: 11.41 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.476e-05/0.4542, allocations: 4 kB / 0.7741 GB, free: 11.41 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000104/0.4544, allocations: 4 kB / 0.7741 GB, free: 11.4 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.921e-05/0.4544, allocations: 4 kB / 0.7741 GB, free: 11.4 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.927e-06/0.4544, allocations: 7.938 kB / 0.7741 GB, free: 11.39 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.379e-05/0.4544, allocations: 83.27 kB / 0.7742 GB, free: 11.31 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4544, allocations: 0 / 0.7742 GB, free: 11.31 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000232/0.4547, allocations: 8 kB / 0.7742 GB, free: 11.3 MB / 0.545 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.0001302/0.4548, allocations: 103.2 kB / 0.7743 GB, free: 11.19 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001309/0.455, allocations: 47.92 kB / 0.7744 GB, free: 11.14 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.24e-06/0.455, allocations: 0 / 0.7744 GB, free: 11.14 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 2.532e-05/0.455, allocations: 19.92 kB / 0.7744 GB, free: 11.12 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003022/0.4553, allocations: 11.94 kB / 0.7744 GB, free: 11.11 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006065/0.4559, allocations: 334.6 kB / 0.7747 GB, free: 10.75 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002662/0.4562, allocations: 0.6846 MB / 0.7754 GB, free: 10.04 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.822e-05/0.4563, allocations: 11.98 kB / 0.7754 GB, free: 10.03 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.138e-05/0.4563, allocations: 7.438 kB / 0.7754 GB, free: 10.03 MB / 0.545 GB Notification: Performance of SimCode: time 3.91e-07/0.4563, allocations: 7.938 kB / 0.7754 GB, free: 10.02 MB / 0.545 GB Notification: Performance of Templates: time 0.002959/0.4593, allocations: 0.6279 MB / 0.776 GB, free: 9.395 MB / 0.545 GB 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)