Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterProperties.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.PropyleneGlycolWaterProperties,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Media_Examples_PropyleneGlycolWaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterProperties,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Media_Examples_PropyleneGlycolWaterProperties",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.464/1.464, allocations: 249.5 MB / 257 MB, free: 6.879 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.001296/0.001296, allocations: 180.6 kB / 316.3 MB, free: 3.285 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.95 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.0008831/0.0008832, allocations: 100.3 kB / 0.6714 GB, free: 5.059 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.996e-05/1.997e-05, allocations: 0 / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2237/0.2237, allocations: 106.4 MB / 0.8853 GB, free: 12.21 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.579/1.803, allocations: 420.9 MB / 1.296 GB, free: 325.3 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002996/1.803, allocations: 67.08 kB / 1.296 GB, free: 325.2 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.05273/1.856, allocations: 25.11 MB / 1.321 GB, free: 300.1 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.683e-06/1.856, allocations: 0 / 1.321 GB, free: 300.1 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.333e-05/1.856, allocations: 4 kB / 1.321 GB, free: 300.1 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0008265/1.857, allocations: 498.4 kB / 1.321 GB, free: 299.6 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.121e-05/1.857, allocations: 8.031 kB / 1.321 GB, free: 299.6 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001704/1.857, allocations: 15.91 kB / 1.321 GB, free: 299.6 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002275/1.857, allocations: 210.8 kB / 1.322 GB, free: 299.3 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.626e-05/1.857, allocations: 11.98 kB / 1.322 GB, free: 299.3 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.145e-05/1.857, allocations: 16 kB / 1.322 GB, free: 299.3 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004543/1.858, allocations: 408.2 kB / 1.322 GB, free: 298.9 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002968/1.858, allocations: 212.7 kB / 1.322 GB, free: 298.7 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/1.858, allocations: 0 / 1.322 GB, free: 298.7 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.409e-05/1.858, allocations: 4 kB / 1.322 GB, free: 298.7 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.998e-05/1.858, allocations: 8 kB / 1.322 GB, free: 298.7 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001001/1.859, allocations: 0.9847 MB / 1.323 GB, free: 297.6 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002566/1.859, allocations: 149.6 kB / 1.323 GB, free: 297.4 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.876e-05/1.859, allocations: 52.81 kB / 1.323 GB, free: 297.4 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001182/1.861, allocations: 1.939 MB / 1.325 GB, free: 295.1 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.321e-05/1.861, allocations: 30.56 kB / 1.325 GB, free: 295.1 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=15): time 1.693e-06/1.861, allocations: 0 / 1.325 GB, free: 295.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=15): time 0.0005095/1.861, allocations: 133.4 kB / 1.326 GB, free: 294.9 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.222e-05/1.861, allocations: 51.41 kB / 1.326 GB, free: 294.9 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001192/1.861, allocations: 138 kB / 1.326 GB, free: 294.7 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.797e-05/1.861, allocations: 29.7 kB / 1.326 GB, free: 294.7 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 5.258e-05/1.861, allocations: 139.9 kB / 1.326 GB, free: 294.5 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.791e-05/1.862, allocations: 55.2 kB / 1.326 GB, free: 294.5 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.164e-06/1.862, allocations: 0 / 1.326 GB, free: 294.5 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 5.595e-05/1.862, allocations: 322.8 kB / 1.326 GB, free: 294.1 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.448e-05/1.862, allocations: 28.5 kB / 1.326 GB, free: 294.1 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.342e-05/1.862, allocations: 133.7 kB / 1.326 GB, free: 293.9 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003083/1.862, allocations: 71.88 kB / 1.326 GB, free: 293.9 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/1.862, allocations: 0 / 1.326 GB, free: 293.9 MB / 0.8698 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004507/1.863, allocations: 212.1 kB / 1.327 GB, free: 293.7 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.922e-05/1.863, allocations: 8 kB / 1.327 GB, free: 293.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/1.863, allocations: 4 kB / 1.327 GB, free: 293.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/1.863, allocations: 4 kB / 1.327 GB, free: 293.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001701/1.863, allocations: 63.84 kB / 1.327 GB, free: 293.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.588e-06/1.863, allocations: 8.422 kB / 1.327 GB, free: 293.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001219/1.863, allocations: 27.69 kB / 1.327 GB, free: 293.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.771e-05/1.863, allocations: 16 kB / 1.327 GB, free: 293.5 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 29 * Array equations: 1 * 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.523e-05/1.863, allocations: 106.6 kB / 1.327 GB, free: 293.4 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000366/1.863, allocations: 137.4 kB / 1.327 GB, free: 293.3 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.251e-05/1.863, allocations: 11.91 kB / 1.327 GB, free: 293.3 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004451/1.864, allocations: 177.9 kB / 1.327 GB, free: 293.1 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.979e-06/1.864, allocations: 7.953 kB / 1.327 GB, free: 293.1 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/1.864, allocations: 4 kB / 1.327 GB, free: 293.1 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.092e-06/1.864, allocations: 3.984 kB / 1.327 GB, free: 293.1 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000208/1.864, allocations: 178.2 kB / 1.327 GB, free: 292.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/1.864, allocations: 0 / 1.327 GB, free: 292.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001034/1.864, allocations: 31.97 kB / 1.327 GB, free: 292.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.639e-06/1.864, allocations: 0 / 1.327 GB, free: 292.8 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.191e-05/1.864, allocations: 3.938 kB / 1.327 GB, free: 292.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.896e-06/1.864, allocations: 4 kB / 1.327 GB, free: 292.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.367e-06/1.864, allocations: 3.938 kB / 1.327 GB, free: 292.8 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000377/1.865, allocations: 237.7 kB / 1.328 GB, free: 292.6 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.38e-05/1.865, allocations: 112.9 kB / 1.328 GB, free: 292.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.319e-05/1.865, allocations: 8 kB / 1.328 GB, free: 292.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001462/1.865, allocations: 8 kB / 1.328 GB, free: 292.4 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.55e-05/1.865, allocations: 7.984 kB / 1.328 GB, free: 292.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.568e-05/1.865, allocations: 7.984 kB / 1.328 GB, free: 292.4 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 6.277e-05/1.865, allocations: 110.2 kB / 1.328 GB, free: 292.3 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.41e-07/1.865, allocations: 0 / 1.328 GB, free: 292.3 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0004705/1.866, allocations: 79.84 kB / 1.328 GB, free: 292.2 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 14 * Array equations: 1 * 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.0009294/1.867, allocations: 0.8709 MB / 1.329 GB, free: 291.3 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0002074/1.867, allocations: 103.7 kB / 1.329 GB, free: 291.2 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/1.867, allocations: 0 / 1.329 GB, free: 291.2 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 5.063e-05/1.867, allocations: 43.08 kB / 1.329 GB, free: 291.2 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000326/1.867, allocations: 28.91 kB / 1.329 GB, free: 291.2 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007682/1.868, allocations: 228 kB / 1.329 GB, free: 290.9 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001875/1.868, allocations: 0.7128 MB / 1.33 GB, free: 290.2 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0001762/1.868, allocations: 45.59 kB / 1.33 GB, free: 290.1 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.909e-05/1.868, allocations: 47.41 kB / 1.33 GB, free: 290.1 MB / 0.8698 GB Notification: Performance of SimCode: time 2.51e-07/1.868, allocations: 0 / 1.33 GB, free: 290.1 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02229/1.891, allocations: 4.155 MB / 1.334 GB, free: 286 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001643/1.891, allocations: 152.3 kB / 1.334 GB, free: 285.8 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.633/3.523, allocations: 2.672 kB / 1.334 GB, free: 285.8 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterProperties.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Media_Examples_PropyleneGlycolWaterProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Media_Examples_PropyleneGlycolWaterProperties.fmu > Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe 2>&1)