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.834/2.834, allocations: 287.3 MB / 302.3 MB, free: 8.242 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.001583/0.001583, allocations: 185.1 kB / 370.8 MB, free: 10.87 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.209/2.209, allocations: 205.4 MB / 0.6295 GB, free: 10.63 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001206/0.001205, allocations: 102.2 kB / 0.7428 GB, free: 6.637 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006639/0.0006639, allocations: 14.16 kB / 0.8657 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2436/0.2443, allocations: 115.3 MB / 0.9783 GB, free: 28.34 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.328/1.573, allocations: 406.9 MB / 1.376 GB, free: 8.035 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002953/1.573, allocations: 67.97 kB / 1.376 GB, free: 8 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 0.07036/1.643, allocations: 18.76 MB / 1.394 GB, free: 8.676 MB / 0.9167 GB Notification: Performance of FrontEnd: time 3.266e-06/1.643, allocations: 0 / 1.394 GB, free: 8.676 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 1.857e-05/1.643, allocations: 0 / 1.394 GB, free: 8.676 MB / 0.9167 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.0005851/1.644, allocations: 367.3 kB / 1.394 GB, free: 8.273 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 6.108e-05/1.644, allocations: 16.02 kB / 1.394 GB, free: 8.258 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.26e-05/1.644, allocations: 38.23 kB / 1.394 GB, free: 8.215 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.21e-05/1.644, allocations: 7.906 kB / 1.394 GB, free: 8.207 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001321/1.644, allocations: 163 kB / 1.395 GB, free: 8.008 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.364e-05/1.644, allocations: 0 / 1.395 GB, free: 8.008 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.493e-05/1.645, allocations: 11.56 kB / 1.395 GB, free: 8 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001782/1.645, allocations: 52.17 kB / 1.395 GB, free: 7.945 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/1.645, allocations: 4 kB / 1.395 GB, free: 7.941 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.854e-05/1.645, allocations: 7.688 kB / 1.395 GB, free: 7.938 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/1.645, allocations: 0 / 1.395 GB, free: 7.938 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.971e-05/1.645, allocations: 11.98 kB / 1.395 GB, free: 7.926 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002428/1.645, allocations: 175.3 kB / 1.395 GB, free: 7.715 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001394/1.645, allocations: 49.75 kB / 1.395 GB, free: 7.664 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001127/1.646, allocations: 0.6018 MB / 1.396 GB, free: 6.969 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.826e-05/1.646, allocations: 30.56 kB / 1.396 GB, free: 6.93 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=5): time 3.617e-06/1.646, allocations: 0 / 1.396 GB, free: 6.93 MB / 0.9167 GB Notification: Performance of matching and sorting (n=7): time 0.0008255/1.647, allocations: 301.3 kB / 1.396 GB, free: 6.605 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.206e-05/1.647, allocations: 55.41 kB / 1.396 GB, free: 6.539 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.35e-05/1.647, allocations: 100.4 kB / 1.396 GB, free: 6.438 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 2.144e-05/1.648, allocations: 29.45 kB / 1.396 GB, free: 6.406 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 5.734e-05/1.648, allocations: 84.05 kB / 1.396 GB, free: 6.32 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 3.446e-05/1.648, allocations: 30.88 kB / 1.396 GB, free: 6.293 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.595e-06/1.648, allocations: 3.25 kB / 1.396 GB, free: 6.293 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001324/1.648, allocations: 314.8 kB / 1.396 GB, free: 5.977 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.498e-05/1.648, allocations: 11.44 kB / 1.396 GB, free: 5.969 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.854e-05/1.648, allocations: 60.89 kB / 1.396 GB, free: 5.898 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.242e-05/1.648, allocations: 16.06 kB / 1.397 GB, free: 5.887 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/1.648, allocations: 0 / 1.397 GB, free: 5.887 MB / 0.9167 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000216/1.648, allocations: 95.84 kB / 1.397 GB, free: 5.801 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.134e-05/1.648, allocations: 14.56 kB / 1.397 GB, free: 5.789 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.976e-06/1.648, allocations: 4 kB / 1.397 GB, free: 5.785 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/1.648, allocations: 0 / 1.397 GB, free: 5.785 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001632/1.649, allocations: 31.88 kB / 1.397 GB, free: 5.754 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.386e-06/1.649, allocations: 0 / 1.397 GB, free: 5.754 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.099e-05/1.649, allocations: 7.875 kB / 1.397 GB, free: 5.75 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.18e-05/1.649, allocations: 4 kB / 1.397 GB, free: 5.746 MB / 0.9167 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001096/1.649, allocations: 109.6 kB / 1.397 GB, free: 5.633 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.094e-05/1.649, allocations: 7.984 kB / 1.397 GB, free: 5.625 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.676e-05/1.649, allocations: 11.22 kB / 1.397 GB, free: 5.617 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/1.649, allocations: 0 / 1.397 GB, free: 5.617 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.008e-05/1.649, allocations: 7.953 kB / 1.397 GB, free: 5.609 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/1.649, allocations: 0 / 1.397 GB, free: 5.609 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004071/1.649, allocations: 177.5 kB / 1.397 GB, free: 5.395 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/1.649, allocations: 0 / 1.397 GB, free: 5.395 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002305/1.65, allocations: 15.94 kB / 1.397 GB, free: 5.379 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.889e-06/1.65, allocations: 0 / 1.397 GB, free: 5.379 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.56e-05/1.65, allocations: 3.984 kB / 1.397 GB, free: 5.375 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.08e-06/1.65, allocations: 4 kB / 1.397 GB, free: 5.371 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/1.65, allocations: 0 / 1.397 GB, free: 5.371 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002858/1.65, allocations: 173 kB / 1.397 GB, free: 5.199 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 8.498e-05/1.65, allocations: 92.98 kB / 1.397 GB, free: 5.09 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.022e-05/1.65, allocations: 0 / 1.397 GB, free: 5.09 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001607/1.65, allocations: 3.25 kB / 1.397 GB, free: 5.09 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.533e-05/1.65, allocations: 7.984 kB / 1.397 GB, free: 5.082 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.07e-05/1.65, allocations: 0 / 1.397 GB, free: 5.082 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 4.357e-05/1.65, allocations: 79.28 kB / 1.397 GB, free: 5.004 MB / 0.9167 GB Notification: Performance of sort global known variables: time 3.81e-07/1.65, allocations: 4 kB / 1.397 GB, free: 5 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0003657/1.651, allocations: 21.77 kB / 1.397 GB, free: 4.984 MB / 0.9167 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 (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.0007135/1.651, allocations: 0.7501 MB / 1.398 GB, free: 4.219 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.00016/1.652, allocations: 42.91 kB / 1.398 GB, free: 4.184 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 5.61e-06/1.652, allocations: 4 kB / 1.398 GB, free: 4.18 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 4.031e-05/1.652, allocations: 14.69 kB / 1.398 GB, free: 4.168 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002227/1.652, allocations: 11.36 kB / 1.398 GB, free: 4.16 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001757/1.654, allocations: 1.429 MB / 1.4 GB, free: 2.691 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002981/1.654, allocations: 0.692 MB / 1.4 GB, free: 1.977 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0001213/1.654, allocations: 7.984 kB / 1.4 GB, free: 1.969 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.902e-05/1.654, allocations: 22.44 kB / 1.4 GB, free: 1.953 MB / 0.9167 GB Notification: Performance of SimCode: time 1.483e-06/1.654, allocations: 0 / 1.4 GB, free: 1.953 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02572/1.68, allocations: 2.217 MB / 1.402 GB, free: 15.88 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003436/1.68, allocations: 184.1 kB / 1.403 GB, free: 15.64 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.334/4.015, allocations: 0 / 1.403 GB, free: 15.64 MB / 0.9323 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)