Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.452/1.452, allocations: 249.5 MB / 257 MB, free: 6.953 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001127/0.001127, allocations: 168.9 kB / 316.3 MB, free: 3.336 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.644/1.644, allocations: 205.3 MB / 0.5671 GB, free: 15.86 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000986/0.0009859, allocations: 100.4 kB / 0.6714 GB, free: 4.973 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.801e-05/1.804e-05, allocations: 0 / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2188/0.2189, allocations: 106.3 MB / 0.8853 GB, free: 12.23 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.557/1.776, allocations: 401 MB / 1.277 GB, free: 264.4 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002745/1.776, allocations: 69.88 kB / 1.277 GB, free: 264.4 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.04128/1.818, allocations: 18.61 MB / 1.295 GB, free: 262.4 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.292e-06/1.818, allocations: 1.469 kB / 1.295 GB, free: 262.4 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 5.951e-06/1.818, allocations: 0 / 1.295 GB, free: 262.4 MB / 0.8698 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.0003298/1.818, allocations: 369.7 kB / 1.296 GB, free: 262 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/1.818, allocations: 8.812 kB / 1.296 GB, free: 262 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.499e-05/1.818, allocations: 2.719 kB / 1.296 GB, free: 262 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.437e-05/1.818, allocations: 168.3 kB / 1.296 GB, free: 261.8 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.322e-05/1.818, allocations: 1.062 kB / 1.296 GB, free: 261.8 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.788e-05/1.818, allocations: 7.094 kB / 1.296 GB, free: 261.8 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.422e-05/1.818, allocations: 17.05 kB / 1.296 GB, free: 261.8 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.486e-05/1.818, allocations: 50.61 kB / 1.296 GB, free: 261.8 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.238e-06/1.818, allocations: 0 / 1.296 GB, free: 261.8 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.139e-05/1.818, allocations: 0 / 1.296 GB, free: 261.8 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.9e-06/1.818, allocations: 5.5 kB / 1.296 GB, free: 261.8 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001303/1.818, allocations: 141.6 kB / 1.296 GB, free: 261.6 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.528e-05/1.819, allocations: 48.03 kB / 1.296 GB, free: 261.6 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.502e-05/1.819, allocations: 12.11 kB / 1.296 GB, free: 261.6 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006493/1.819, allocations: 0.6175 MB / 1.297 GB, free: 261 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.811e-05/1.819, allocations: 35.36 kB / 1.297 GB, free: 260.9 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=5): time 1.082e-06/1.819, allocations: 0 / 1.297 GB, free: 260.9 MB / 0.8698 GB Notification: Performance of matching and sorting (n=7): time 0.0004651/1.82, allocations: 277.5 kB / 1.297 GB, free: 260.7 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.831e-05/1.82, allocations: 56.48 kB / 1.297 GB, free: 260.6 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.248e-05/1.82, allocations: 96.64 kB / 1.297 GB, free: 260.5 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.105e-05/1.82, allocations: 29.7 kB / 1.297 GB, free: 260.5 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 2.739e-05/1.82, allocations: 89.19 kB / 1.297 GB, free: 260.4 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.476e-05/1.82, allocations: 22.84 kB / 1.297 GB, free: 260.4 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.676e-06/1.82, allocations: 0 / 1.297 GB, free: 260.4 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 4.701e-05/1.82, allocations: 319.4 kB / 1.297 GB, free: 260.1 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.275e-05/1.82, allocations: 11.03 kB / 1.297 GB, free: 260.1 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.929e-05/1.82, allocations: 46.69 kB / 1.297 GB, free: 260 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.349e-05/1.82, allocations: 19.88 kB / 1.298 GB, free: 260 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.21e-07/1.82, allocations: 1 kB / 1.298 GB, free: 260 MB / 0.8698 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001118/1.82, allocations: 81.52 kB / 1.298 GB, free: 260 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/1.82, allocations: 5.375 kB / 1.298 GB, free: 260 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/1.82, allocations: 5.188 kB / 1.298 GB, free: 260 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/1.82, allocations: 2.188 kB / 1.298 GB, free: 260 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.559e-05/1.82, allocations: 24.33 kB / 1.298 GB, free: 260 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/1.82, allocations: 2.094 kB / 1.298 GB, free: 260 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.788e-05/1.82, allocations: 10.23 kB / 1.298 GB, free: 260 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.536e-06/1.82, allocations: 6.562 kB / 1.298 GB, free: 260 MB / 0.8698 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 5.915e-05/1.821, allocations: 109.6 kB / 1.298 GB, free: 259.8 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.084e-05/1.821, allocations: 51.02 kB / 1.298 GB, free: 259.8 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.356e-05/1.821, allocations: 6.062 kB / 1.298 GB, free: 259.8 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.726e-05/1.821, allocations: 12.97 kB / 1.298 GB, free: 259.8 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/1.821, allocations: 5.172 kB / 1.298 GB, free: 259.8 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.818e-06/1.821, allocations: 0 / 1.298 GB, free: 259.8 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.808e-06/1.821, allocations: 3.703 kB / 1.298 GB, free: 259.8 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001841/1.821, allocations: 148.3 kB / 1.298 GB, free: 259.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/1.821, allocations: 3.938 kB / 1.298 GB, free: 259.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.598e-05/1.821, allocations: 17.83 kB / 1.298 GB, free: 259.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/1.821, allocations: 0 / 1.298 GB, free: 259.6 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.845e-06/1.821, allocations: 5.094 kB / 1.298 GB, free: 259.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/1.821, allocations: 0 / 1.298 GB, free: 259.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/1.821, allocations: 1 kB / 1.298 GB, free: 259.6 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001295/1.821, allocations: 168.5 kB / 1.298 GB, free: 259.5 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.115e-05/1.821, allocations: 87.39 kB / 1.298 GB, free: 259.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.403e-05/1.821, allocations: 0.9688 kB / 1.298 GB, free: 259.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.571e-05/1.821, allocations: 5.734 kB / 1.298 GB, free: 259.4 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.574e-05/1.821, allocations: 2.188 kB / 1.298 GB, free: 259.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.284e-06/1.821, allocations: 2.094 kB / 1.298 GB, free: 259.4 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 1.949e-05/1.821, allocations: 77.38 kB / 1.298 GB, free: 259.3 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.6e-07/1.821, allocations: 4 kB / 1.298 GB, free: 259.3 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002469/1.822, allocations: 23.53 kB / 1.298 GB, free: 259.3 MB / 0.8698 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.000388/1.822, allocations: 0.7433 MB / 1.299 GB, free: 258.6 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0001021/1.822, allocations: 38.8 kB / 1.299 GB, free: 258.6 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/1.822, allocations: 4.609 kB / 1.299 GB, free: 258.6 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 2.093e-05/1.822, allocations: 13.78 kB / 1.299 GB, free: 258.6 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001576/1.822, allocations: 1.875 kB / 1.299 GB, free: 258.6 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000545/1.823, allocations: 308.5 kB / 1.299 GB, free: 258.4 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.831e-05/1.823, allocations: 0.6855 MB / 1.3 GB, free: 257.7 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 6.882e-05/1.823, allocations: 10.48 kB / 1.3 GB, free: 257.7 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.816e-05/1.823, allocations: 15.53 kB / 1.3 GB, free: 257.7 MB / 0.8698 GB Notification: Performance of SimCode: time 2.6e-07/1.823, allocations: 0 / 1.3 GB, free: 257.7 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01844/1.842, allocations: 1.505 MB / 1.302 GB, free: 257.5 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002143/1.842, allocations: 170.9 kB / 1.302 GB, free: 257.3 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.524/3.365, allocations: 0 / 1.302 GB, free: 257.3 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_maint_7_0_x_Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck.fmu > Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe 2>&1)