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.006648/0.006648, allocations: 103 kB / 15.73 MB, free: 6.039 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.001362/0.001362, allocations: 190 kB / 16.67 MB, free: 5.965 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.37/1.37, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002128/0.002127, allocations: 294.5 kB / 290.8 MB, free: 1.914 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9497/0.9497, allocations: 169.3 MB / 0.4983 GB, free: 13.83 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002906/0.002906, allocations: 99.84 kB / 0.6814 GB, free: 15.55 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1906/0.1935, allocations: 86.98 MB / 0.7664 GB, free: 8.496 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.002411/0.1959, allocations: 1.26 MB / 0.7676 GB, free: 7.227 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003844/0.1998, allocations: 2.923 MB / 0.7704 GB, free: 4.289 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.698e-05/0.1999, allocations: 0 / 0.7704 GB, free: 4.289 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.138e-05/0.1999, allocations: 3.938 kB / 0.7704 GB, free: 4.285 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.936e-05/0.2, allocations: 3.938 kB / 0.7705 GB, free: 4.281 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005516/0.2005, allocations: 99.59 kB / 0.7705 GB, free: 4.184 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 9.274e-05/0.2006, allocations: 43.84 kB / 0.7706 GB, free: 4.141 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.18e-05/0.2007, allocations: 4 kB / 0.7706 GB, free: 4.137 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005479/0.2012, allocations: 155.4 kB / 0.7707 GB, free: 3.984 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.138e-05/0.2013, allocations: 19.97 kB / 0.7708 GB, free: 3.965 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.27e-05/0.2013, allocations: 0 / 0.7708 GB, free: 3.965 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001849/0.2015, allocations: 67.83 kB / 0.7708 GB, free: 3.898 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.761e-05/0.2016, allocations: 15.91 kB / 0.7708 GB, free: 3.883 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.093e-05/0.2016, allocations: 15.94 kB / 0.7709 GB, free: 3.867 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.000194/0.2018, allocations: 63.84 kB / 0.7709 GB, free: 3.805 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.2018, allocations: 4 kB / 0.7709 GB, free: 3.801 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.422e-06/0.2018, allocations: 0 / 0.7709 GB, free: 3.801 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.282e-06/0.2018, allocations: 0 / 0.7709 GB, free: 3.801 MB / 0.5606 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.0004246/0.2023, allocations: 347.5 kB / 0.7713 GB, free: 3.414 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.2023, allocations: 12.03 kB / 0.7713 GB, free: 3.402 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.296e-05/0.2024, allocations: 0.9375 kB / 0.7713 GB, free: 3.402 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001108/0.2025, allocations: 168.4 kB / 0.7714 GB, free: 3.199 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.166e-05/0.2025, allocations: 384 / 0.7714 GB, free: 3.199 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.847e-05/0.2025, allocations: 12.28 kB / 0.7714 GB, free: 3.188 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001261/0.2026, allocations: 61.73 kB / 0.7715 GB, free: 3.121 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.185e-06/0.2027, allocations: 0 / 0.7715 GB, free: 3.121 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.2e-05/0.2027, allocations: 0 / 0.7715 GB, free: 3.121 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.2027, allocations: 0 / 0.7715 GB, free: 3.121 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.433e-05/0.2027, allocations: 19.98 kB / 0.7715 GB, free: 3.102 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001748/0.2029, allocations: 165.7 kB / 0.7717 GB, free: 2.891 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 9.227e-05/0.203, allocations: 50.56 kB / 0.7717 GB, free: 2.832 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.953e-05/0.2031, allocations: 20.8 kB / 0.7717 GB, free: 2.809 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006903/0.2038, allocations: 0.6026 MB / 0.7723 GB, free: 2.098 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.943e-05/0.2038, allocations: 30.56 kB / 0.7724 GB, free: 2.059 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=5): time 1.142e-06/0.2038, allocations: 0 / 0.7724 GB, free: 2.059 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7): time 0.0005677/0.2044, allocations: 302.2 kB / 0.7726 GB, free: 1.711 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.584e-05/0.2044, allocations: 55.41 kB / 0.7727 GB, free: 1.645 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.303e-05/0.2045, allocations: 97.98 kB / 0.7728 GB, free: 1.539 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.617e-05/0.2045, allocations: 29.7 kB / 0.7728 GB, free: 1.504 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.961e-05/0.2046, allocations: 88.05 kB / 0.7729 GB, free: 1.414 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.722e-05/0.2046, allocations: 23.72 kB / 0.7729 GB, free: 1.391 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.548e-05/0.2046, allocations: 29.7 kB / 0.773 GB, free: 1.355 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.414e-05/0.2047, allocations: 318.8 kB / 0.7733 GB, free: 1.035 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.218e-05/0.2048, allocations: 23.92 kB / 0.7733 GB, free: 1.012 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.929e-05/0.2049, allocations: 53.08 kB / 0.7733 GB, free: 0.9414 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.341e-05/0.205, allocations: 77.12 kB / 0.7734 GB, free: 0.8477 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.205, allocations: 0 / 0.7734 GB, free: 0.8477 MB / 0.5606 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001347/0.2051, allocations: 93.45 kB / 0.7735 GB, free: 0.75 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.2051, allocations: 8 kB / 0.7735 GB, free: 0.7422 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.2051, allocations: 0 / 0.7735 GB, free: 0.7422 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.2052, allocations: 4 kB / 0.7735 GB, free: 0.7383 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.726e-05/0.2052, allocations: 19.98 kB / 0.7735 GB, free: 0.7188 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.145e-06/0.2052, allocations: 3.938 kB / 0.7735 GB, free: 0.7148 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.144e-05/0.2053, allocations: 16.06 kB / 0.7735 GB, free: 0.6992 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.444e-06/0.2053, allocations: 4 kB / 0.7735 GB, free: 0.6953 MB / 0.5606 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 9.903e-05/0.2054, allocations: 114.5 kB / 0.7737 GB, free: 0.5742 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.795e-05/0.2054, allocations: 0 / 0.7737 GB, free: 0.5742 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.163e-05/0.2055, allocations: 15.95 kB / 0.7737 GB, free: 0.5625 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.013e-06/0.2055, allocations: 0 / 0.7737 GB, free: 0.5625 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.2055, allocations: 0 / 0.7737 GB, free: 0.5625 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.2055, allocations: 3.938 kB / 0.7737 GB, free: 0.5586 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002284/0.2057, allocations: 169.7 kB / 0.7738 GB, free: 352 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.2058, allocations: 4 kB / 0.7738 GB, free: 348 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.418e-05/0.2058, allocations: 15.94 kB / 0.7739 GB, free: 332 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.2059, allocations: 4.438 kB / 0.7739 GB, free: 328 kB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.438e-06/0.2059, allocations: 4 kB / 0.7739 GB, free: 324 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.905e-06/0.2059, allocations: 3.984 kB / 0.7739 GB, free: 320 kB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.2059, allocations: 4 kB / 0.7739 GB, free: 316 kB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001777/0.2061, allocations: 171.4 kB / 0.774 GB, free: 128 kB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.702e-05/0.2061, allocations: 85.14 kB / 0.7741 GB, free: 24 kB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.321e-05/0.2061, allocations: 7.938 kB / 0.7741 GB, free: 16 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001055/0.2063, allocations: 4 kB / 0.7741 GB, free: 12 kB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.613e-05/0.2063, allocations: 3.984 kB / 0.7741 GB, free: 8 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.3407/0.547, allocations: 8.203 kB / 0.7741 GB, free: 15.51 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 7.168e-05/0.5471, allocations: 79.38 kB / 0.7742 GB, free: 15.44 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5471, allocations: 0.9844 kB / 0.7742 GB, free: 15.44 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003656/0.5475, allocations: 11.41 kB / 0.7742 GB, free: 15.44 MB / 0.5606 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.0001664/0.5476, allocations: 103.5 kB / 0.7743 GB, free: 15.35 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001683/0.5478, allocations: 45.41 kB / 0.7744 GB, free: 15.35 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.5478, allocations: 0.6562 kB / 0.7744 GB, free: 15.35 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 3.312e-05/0.5479, allocations: 16.97 kB / 0.7744 GB, free: 15.35 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000291/0.5482, allocations: 9.453 kB / 0.7744 GB, free: 15.35 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005889/0.5488, allocations: 332 kB / 0.7747 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001267/0.5489, allocations: 0.6831 MB / 0.7754 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 4.554e-05/0.549, allocations: 7.109 kB / 0.7754 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.667e-05/0.549, allocations: 15.28 kB / 0.7754 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of SimCode: time 2.21e-07/0.549, allocations: 0 / 0.7754 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of Templates: time 0.003172/0.5522, allocations: 0.6467 MB / 0.776 GB, free: 14.42 MB / 0.5606 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)