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.001096/0.001096, allocations: 107.5 kB / 16.41 MB, free: 6.496 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.00111/0.00111, allocations: 189.5 kB / 17.34 MB, free: 5.766 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.245/1.245, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002079/0.002079, allocations: 287 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8998/0.8998, allocations: 169.2 MB / 0.499 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001766/0.001766, allocations: 88.14 kB / 0.6821 GB, free: 6.957 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4066/0.4083, allocations: 86.98 MB / 0.767 GB, free: 3.887 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.002164/0.4105, allocations: 1.269 MB / 0.7683 GB, free: 2.609 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.003323/0.4139, allocations: 2.924 MB / 0.7711 GB, free: 15.67 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.102e-05/0.414, allocations: 0 / 0.7711 GB, free: 15.67 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.559e-05/0.414, allocations: 4 kB / 0.7711 GB, free: 15.67 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.671e-05/0.4141, allocations: 7.922 kB / 0.7711 GB, free: 15.66 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004756/0.4145, allocations: 95.55 kB / 0.7712 GB, free: 15.57 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.308e-05/0.4146, allocations: 39.91 kB / 0.7712 GB, free: 15.53 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.168e-05/0.4147, allocations: 0 / 0.7712 GB, free: 15.53 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004228/0.4151, allocations: 159.5 kB / 0.7714 GB, free: 15.37 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 4.174e-05/0.4151, allocations: 15.92 kB / 0.7714 GB, free: 15.36 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.039e-05/0.4152, allocations: 4 kB / 0.7714 GB, free: 15.35 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001473/0.4153, allocations: 67.88 kB / 0.7715 GB, free: 15.29 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.629e-05/0.4153, allocations: 11.98 kB / 0.7715 GB, free: 15.27 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.615e-05/0.4154, allocations: 11.94 kB / 0.7715 GB, free: 15.26 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001592/0.4155, allocations: 67.52 kB / 0.7716 GB, free: 15.2 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.4155, allocations: 3.984 kB / 0.7716 GB, free: 15.2 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.162e-06/0.4155, allocations: 0 / 0.7716 GB, free: 15.2 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.199e-06/0.4156, allocations: 0 / 0.7716 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.000382/0.4159, allocations: 342 kB / 0.7719 GB, free: 14.82 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.339e-05/0.416, allocations: 12.03 kB / 0.7719 GB, free: 14.8 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.98e-05/0.416, allocations: 4.938 kB / 0.7719 GB, free: 14.8 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.077e-05/0.4161, allocations: 164.3 kB / 0.7721 GB, free: 14.6 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.272e-05/0.4161, allocations: 8.359 kB / 0.7721 GB, free: 14.59 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.553e-05/0.4162, allocations: 8.375 kB / 0.7721 GB, free: 14.59 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001126/0.4163, allocations: 57.73 kB / 0.7721 GB, free: 14.52 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.343e-06/0.4163, allocations: 0 / 0.7721 GB, free: 14.52 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.301e-05/0.4163, allocations: 4 kB / 0.7721 GB, free: 14.52 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.4163, allocations: 0 / 0.7721 GB, free: 14.52 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.702e-05/0.4164, allocations: 15.98 kB / 0.7722 GB, free: 14.5 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000164/0.4166, allocations: 177.5 kB / 0.7723 GB, free: 14.28 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 8.29e-05/0.4166, allocations: 58.42 kB / 0.7724 GB, free: 14.21 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.489e-05/0.4167, allocations: 24.84 kB / 0.7724 GB, free: 14.19 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006314/0.4173, allocations: 0.5869 MB / 0.773 GB, free: 13.49 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.586e-05/0.4174, allocations: 38.56 kB / 0.773 GB, free: 13.45 MB / 0.545 GB Notification: Performance of pre-optimization done (n=5): time 1.152e-06/0.4174, allocations: 0 / 0.773 GB, free: 13.45 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.0005398/0.4179, allocations: 306.9 kB / 0.7733 GB, free: 13.09 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.405e-05/0.418, allocations: 59.34 kB / 0.7734 GB, free: 13.02 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.35e-05/0.418, allocations: 93.86 kB / 0.7735 GB, free: 12.92 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.489e-05/0.4181, allocations: 29.7 kB / 0.7735 GB, free: 12.89 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.983e-05/0.4181, allocations: 92.03 kB / 0.7736 GB, free: 12.79 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.715e-05/0.4181, allocations: 23.66 kB / 0.7736 GB, free: 12.77 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.257e-05/0.4182, allocations: 29.7 kB / 0.7736 GB, free: 12.73 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.361e-05/0.4183, allocations: 314.8 kB / 0.7739 GB, free: 12.42 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.836e-05/0.4183, allocations: 19.98 kB / 0.7739 GB, free: 12.4 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.556e-05/0.4183, allocations: 53.14 kB / 0.774 GB, free: 12.33 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.052e-05/0.4184, allocations: 73.09 kB / 0.7741 GB, free: 12.24 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.4184, allocations: 0 / 0.7741 GB, free: 12.24 MB / 0.545 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001204/0.4186, allocations: 97.39 kB / 0.7742 GB, free: 12.14 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.4186, allocations: 14.94 kB / 0.7742 GB, free: 12.12 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.4186, allocations: 0 / 0.7742 GB, free: 12.12 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.4186, allocations: 4 kB / 0.7742 GB, free: 12.12 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.109e-05/0.4187, allocations: 23.92 kB / 0.7742 GB, free: 12.1 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.531e-06/0.4187, allocations: 0 / 0.7742 GB, free: 12.1 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.094e-05/0.4187, allocations: 11.94 kB / 0.7742 GB, free: 12.09 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.085e-06/0.4188, allocations: 4 kB / 0.7742 GB, free: 12.08 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 6.757e-05/0.4188, allocations: 113.8 kB / 0.7743 GB, free: 11.96 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.482e-05/0.4189, allocations: 4 kB / 0.7743 GB, free: 11.96 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.745e-05/0.4189, allocations: 11.97 kB / 0.7743 GB, free: 11.95 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.4189, allocations: 4 kB / 0.7743 GB, free: 11.94 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.4189, allocations: 0 / 0.7743 GB, free: 11.94 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.4189, allocations: 7.922 kB / 0.7744 GB, free: 11.93 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002116/0.4191, allocations: 169.7 kB / 0.7745 GB, free: 11.72 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.4192, allocations: 0 / 0.7745 GB, free: 11.72 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.811e-05/0.4192, allocations: 16 kB / 0.7745 GB, free: 11.7 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.4192, allocations: 0 / 0.7745 GB, free: 11.7 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.175e-06/0.4193, allocations: 4 kB / 0.7745 GB, free: 11.7 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.4193, allocations: 0 / 0.7745 GB, free: 11.7 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.4193, allocations: 4 kB / 0.7745 GB, free: 11.7 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001593/0.4194, allocations: 179.6 kB / 0.7747 GB, free: 11.5 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.298e-05/0.4195, allocations: 89.08 kB / 0.7748 GB, free: 11.4 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.249e-05/0.4195, allocations: 96 / 0.7748 GB, free: 11.4 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001008/0.4196, allocations: 8 kB / 0.7748 GB, free: 11.39 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.373e-05/0.4196, allocations: 3.984 kB / 0.7748 GB, free: 11.39 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.598e-06/0.4196, allocations: 11.92 kB / 0.7748 GB, free: 11.38 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.201e-05/0.4197, allocations: 79.28 kB / 0.7749 GB, free: 11.3 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4197, allocations: 0 / 0.7749 GB, free: 11.3 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002268/0.4199, allocations: 16 kB / 0.7749 GB, free: 11.28 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.0001083/0.42, allocations: 99.25 kB / 0.775 GB, free: 11.17 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001012/0.4201, allocations: 44.06 kB / 0.775 GB, free: 11.13 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.4201, allocations: 4 kB / 0.775 GB, free: 11.12 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 2.689e-05/0.4202, allocations: 20.17 kB / 0.7751 GB, free: 11.11 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002679/0.4205, allocations: 12 kB / 0.7751 GB, free: 11.09 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005062/0.421, allocations: 355.9 kB / 0.7754 GB, free: 10.71 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002014/0.4212, allocations: 0.6845 MB / 0.7761 GB, free: 10 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.366e-05/0.4212, allocations: 11.44 kB / 0.7761 GB, free: 9.992 MB / 0.545 GB Notification: Performance of SimCode: time 3e-07/0.4212, allocations: 0 / 0.7761 GB, free: 9.992 MB / 0.545 GB Notification: Performance of Templates: time 0.001848/0.4231, allocations: 0.7922 MB / 0.7769 GB, free: 9.203 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)