Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck,fileNamePrefix="Buildings_8_0_0_Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck,fileNamePrefix="Buildings_8_0_0_Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.566/2.566, allocations: 284.9 MB / 292.4 MB, free: 10.54 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00151/0.001509, allocations: 188.8 kB / 360.6 MB, free: 7.266 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.026/2.026, allocations: 205.3 MB / 0.6191 GB, free: 12.17 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001051/0.00105, allocations: 94.47 kB / 0.7321 GB, free: 44.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.096e-05/3.091e-05, allocations: 4 kB / 0.8508 GB, free: 3.348 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9872/0.9873, allocations: 115.3 MB / 0.9634 GB, free: 78.5 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.341/2.328, allocations: 406.2 MB / 1.36 GB, free: 161.9 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002732/2.329, allocations: 69.09 kB / 1.36 GB, free: 161.8 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.06122/2.39, allocations: 18.6 MB / 1.378 GB, free: 147.1 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.673e-06/2.39, allocations: 0 / 1.378 GB, free: 147.1 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 7.986e-06/2.39, allocations: 4 kB / 1.378 GB, free: 147.1 MB / 0.8542 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.0003937/2.39, allocations: 362 kB / 1.379 GB, free: 146.7 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.694e-05/2.391, allocations: 11.97 kB / 1.379 GB, free: 146.7 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.01e-05/2.391, allocations: 9.109 kB / 1.379 GB, free: 146.7 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.126e-05/2.391, allocations: 170.2 kB / 1.379 GB, free: 146.5 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.306e-05/2.391, allocations: 0 / 1.379 GB, free: 146.5 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.07e-05/2.391, allocations: 7.938 kB / 1.379 GB, free: 146.5 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.23e-05/2.391, allocations: 15.98 kB / 1.379 GB, free: 146.5 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.946e-05/2.391, allocations: 42.66 kB / 1.379 GB, free: 146.4 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/2.391, allocations: 0 / 1.379 GB, free: 146.4 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.642e-05/2.391, allocations: 7.984 kB / 1.379 GB, free: 146.4 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.301e-06/2.391, allocations: 0 / 1.379 GB, free: 146.4 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001519/2.391, allocations: 141.8 kB / 1.379 GB, free: 146.2 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 9.104e-05/2.391, allocations: 49.56 kB / 1.379 GB, free: 146.2 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.371e-05/2.391, allocations: 16.8 kB / 1.379 GB, free: 146.2 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008189/2.392, allocations: 0.6127 MB / 1.38 GB, free: 145.5 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.879e-05/2.392, allocations: 34 kB / 1.38 GB, free: 145.4 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=5): time 2.174e-06/2.392, allocations: 4 kB / 1.38 GB, free: 145.4 MB / 0.8542 GB Notification: Performance of matching and sorting (n=7): time 0.000586/2.393, allocations: 278.2 kB / 1.38 GB, free: 145.1 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.325e-05/2.393, allocations: 58.8 kB / 1.38 GB, free: 145 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.746e-05/2.393, allocations: 89 kB / 1.38 GB, free: 144.9 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.421e-05/2.393, allocations: 25.7 kB / 1.38 GB, free: 144.9 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 3.181e-05/2.393, allocations: 87.55 kB / 1.38 GB, free: 144.8 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.096e-05/2.393, allocations: 34.98 kB / 1.38 GB, free: 144.8 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.789e-06/2.393, allocations: 0 / 1.38 GB, free: 144.8 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 5.637e-05/2.393, allocations: 310.8 kB / 1.381 GB, free: 144.5 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.077e-05/2.393, allocations: 15.88 kB / 1.381 GB, free: 144.5 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.352e-05/2.393, allocations: 51.95 kB / 1.381 GB, free: 144.4 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.731e-05/2.393, allocations: 15.88 kB / 1.381 GB, free: 144.4 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/2.393, allocations: 0 / 1.381 GB, free: 144.4 MB / 0.8542 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001533/2.393, allocations: 80.61 kB / 1.381 GB, free: 144.3 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/2.393, allocations: 10.19 kB / 1.381 GB, free: 144.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.974e-06/2.393, allocations: 0 / 1.381 GB, free: 144.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.708e-05/2.393, allocations: 4 kB / 1.381 GB, free: 144.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001325/2.394, allocations: 21.95 kB / 1.381 GB, free: 144.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.201e-06/2.394, allocations: 128 / 1.381 GB, free: 144.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.899e-05/2.394, allocations: 11.95 kB / 1.381 GB, free: 144.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.969e-06/2.394, allocations: 7.938 kB / 1.381 GB, free: 144.3 MB / 0.8542 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.426e-05/2.394, allocations: 108.7 kB / 1.381 GB, free: 144.2 MB / 0.8542 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001086/2.394, allocations: 56.56 kB / 1.381 GB, free: 144.1 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.138e-05/2.394, allocations: 3.906 kB / 1.381 GB, free: 144.1 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.559e-05/2.394, allocations: 7.844 kB / 1.381 GB, free: 144.1 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.232e-06/2.394, allocations: 9.328 kB / 1.381 GB, free: 144.1 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/2.394, allocations: 3.984 kB / 1.381 GB, free: 144.1 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.087e-06/2.394, allocations: 4 kB / 1.381 GB, free: 144.1 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003009/2.394, allocations: 145.8 kB / 1.381 GB, free: 143.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/2.394, allocations: 4 kB / 1.381 GB, free: 143.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001615/2.395, allocations: 19.92 kB / 1.381 GB, free: 143.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/2.395, allocations: 0 / 1.381 GB, free: 143.9 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.007e-05/2.395, allocations: 0 / 1.381 GB, free: 143.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.694e-06/2.395, allocations: 0 / 1.381 GB, free: 143.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.337e-06/2.395, allocations: 0.625 kB / 1.381 GB, free: 143.9 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001695/2.395, allocations: 166.2 kB / 1.381 GB, free: 143.7 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 5.043e-05/2.395, allocations: 90.78 kB / 1.381 GB, free: 143.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.929e-05/2.395, allocations: 0 / 1.381 GB, free: 143.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001656/2.395, allocations: 0 / 1.381 GB, free: 143.6 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.553e-05/2.395, allocations: 7.984 kB / 1.381 GB, free: 143.6 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.216e-05/2.395, allocations: 10.62 kB / 1.381 GB, free: 143.6 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 2.554e-05/2.395, allocations: 75.66 kB / 1.381 GB, free: 143.5 MB / 0.8542 GB Notification: Performance of sort global known variables: time 3.8e-07/2.395, allocations: 0 / 1.381 GB, free: 143.5 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003366/2.396, allocations: 15.95 kB / 1.381 GB, free: 143.5 MB / 0.8542 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005152/2.396, allocations: 0.7569 MB / 1.382 GB, free: 142.7 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001242/2.396, allocations: 34.92 kB / 1.382 GB, free: 142.7 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/2.396, allocations: 4.25 kB / 1.382 GB, free: 142.7 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 2.979e-05/2.396, allocations: 19.38 kB / 1.382 GB, free: 142.7 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002182/2.396, allocations: 5.547 kB / 1.382 GB, free: 142.7 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008459/2.397, allocations: 308 kB / 1.383 GB, free: 142.4 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001389/2.397, allocations: 0.6846 MB / 1.383 GB, free: 141.6 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001005/2.398, allocations: 11.98 kB / 1.383 GB, free: 141.6 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.961e-05/2.398, allocations: 15.38 kB / 1.383 GB, free: 141.6 MB / 0.8542 GB Notification: Performance of SimCode: time 1.052e-06/2.398, allocations: 0 / 1.383 GB, free: 141.6 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03249/2.43, allocations: 1.492 MB / 1.385 GB, free: 140.2 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002652/2.43, allocations: 156.8 kB / 1.385 GB, free: 140 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.462/4.892, allocations: 2.156 kB / 1.385 GB, free: 140 MB / 0.8542 GB (rm -f Buildings_8.0.0_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; mkfifo Buildings_8.0.0_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe >> ../files/Buildings_8.0.0_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_8_0_0_Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck.fmu > Buildings_8.0.0_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe 2>&1)