Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.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.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT",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.601/1.601, allocations: 251.9 MB / 266.9 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00119/0.00119, allocations: 180.4 kB / 326.5 MB, free: 2.25 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.124/2.124, allocations: 205.4 MB / 0.5775 GB, free: 20.26 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.001014/0.001014, allocations: 98.34 kB / 0.6821 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003496/0.0003497, allocations: 9.781 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2733/0.2737, allocations: 106.3 MB / 0.9002 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.146/1.42, allocations: 430.9 MB / 1.321 GB, free: 1.02 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003778/1.421, allocations: 85.48 kB / 1.321 GB, free: 0.9727 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.9189/2.34, allocations: 86.04 MB / 1.405 GB, free: 301.1 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.414e-06/2.34, allocations: 1.125 kB / 1.405 GB, free: 301.1 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.137e-05/2.34, allocations: 2.688 kB / 1.405 GB, free: 301.1 MB / 0.8855 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.003204/2.343, allocations: 0.736 MB / 1.406 GB, free: 300.6 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 6.047e-05/2.343, allocations: 9.562 kB / 1.406 GB, free: 300.6 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.467e-05/2.343, allocations: 55.67 kB / 1.406 GB, free: 300.6 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001645/2.343, allocations: 28.17 kB / 1.406 GB, free: 300.5 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002501/2.343, allocations: 220.4 kB / 1.406 GB, free: 300.3 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.981e-05/2.343, allocations: 11.11 kB / 1.406 GB, free: 300.3 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.801e-05/2.343, allocations: 17.31 kB / 1.406 GB, free: 300.3 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004171/2.344, allocations: 240.1 kB / 1.406 GB, free: 300.3 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/2.344, allocations: 1.594 kB / 1.406 GB, free: 300.3 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.519e-05/2.344, allocations: 9.719 kB / 1.406 GB, free: 300.3 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.1e-05/2.344, allocations: 8.422 kB / 1.406 GB, free: 300.3 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005578/2.345, allocations: 433 kB / 1.407 GB, free: 300.2 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001113/2.346, allocations: 1.048 MB / 1.408 GB, free: 299.4 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003468/2.346, allocations: 160.5 kB / 1.408 GB, free: 299.4 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00141/2.347, allocations: 1.862 MB / 1.41 GB, free: 297.4 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.62e-05/2.347, allocations: 36.91 kB / 1.41 GB, free: 297.4 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=15): time 1.533e-06/2.347, allocations: 0 / 1.41 GB, free: 297.4 MB / 0.8855 GB Notification: Performance of matching and sorting (n=15): time 0.0003838/2.348, allocations: 142.4 kB / 1.41 GB, free: 297.3 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.878e-05/2.348, allocations: 57.38 kB / 1.41 GB, free: 297.3 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001424/2.348, allocations: 150.1 kB / 1.41 GB, free: 297.2 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.354e-05/2.348, allocations: 35.95 kB / 1.41 GB, free: 297.1 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 8.059e-05/2.348, allocations: 141.5 kB / 1.41 GB, free: 297 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 3.939e-05/2.348, allocations: 55.25 kB / 1.41 GB, free: 297 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.606e-06/2.348, allocations: 5.281 kB / 1.41 GB, free: 297 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 8.65e-05/2.348, allocations: 324.7 kB / 1.411 GB, free: 296.7 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.049e-05/2.348, allocations: 35.78 kB / 1.411 GB, free: 296.7 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001233/2.349, allocations: 137.9 kB / 1.411 GB, free: 296.5 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001103/2.349, allocations: 57.09 kB / 1.411 GB, free: 296.5 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/2.349, allocations: 1.094 kB / 1.411 GB, free: 296.5 MB / 0.8855 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003629/2.349, allocations: 216 kB / 1.411 GB, free: 296.5 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.615e-05/2.349, allocations: 9.297 kB / 1.411 GB, free: 296.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.292e-05/2.349, allocations: 3.906 kB / 1.411 GB, free: 296.5 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.454e-05/2.349, allocations: 5.938 kB / 1.411 GB, free: 296.5 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002111/2.349, allocations: 63.58 kB / 1.411 GB, free: 296.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.445e-05/2.349, allocations: 4.781 kB / 1.411 GB, free: 296.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001245/2.35, allocations: 28.97 kB / 1.411 GB, free: 296.4 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.66e-05/2.35, allocations: 14.53 kB / 1.411 GB, free: 296.4 MB / 0.8855 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 () * Number of clocked 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 0.0001055/2.35, allocations: 126.5 kB / 1.411 GB, free: 296.3 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.661e-05/2.35, allocations: 16.19 kB / 1.411 GB, free: 296.3 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003356/2.35, allocations: 164.3 kB / 1.412 GB, free: 296.2 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-05/2.35, allocations: 4.781 kB / 1.412 GB, free: 296.2 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/2.35, allocations: 1.094 kB / 1.412 GB, free: 296.2 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/2.35, allocations: 0 / 1.412 GB, free: 296.2 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002404/2.35, allocations: 215.5 kB / 1.412 GB, free: 296.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/2.35, allocations: 3.938 kB / 1.412 GB, free: 296.1 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001208/2.35, allocations: 30.05 kB / 1.412 GB, free: 296.1 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/2.351, allocations: 1.25 kB / 1.412 GB, free: 296.1 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.514e-05/2.351, allocations: 6.344 kB / 1.412 GB, free: 296.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.898e-06/2.351, allocations: 4.5 kB / 1.412 GB, free: 296.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/2.351, allocations: 0 / 1.412 GB, free: 296.1 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002449/2.351, allocations: 219 kB / 1.412 GB, free: 295.9 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001003/2.351, allocations: 128.9 kB / 1.412 GB, free: 295.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.82e-05/2.351, allocations: 8.859 kB / 1.412 GB, free: 295.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001903/2.351, allocations: 4.688 kB / 1.412 GB, free: 295.8 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.047e-05/2.351, allocations: 17.36 kB / 1.412 GB, free: 295.8 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.471e-05/2.351, allocations: 13.3 kB / 1.412 GB, free: 295.8 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 8.896e-05/2.351, allocations: 117 kB / 1.412 GB, free: 295.7 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.1e-07/2.351, allocations: 1.062 kB / 1.412 GB, free: 295.7 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0005495/2.352, allocations: 86.59 kB / 1.412 GB, free: 295.7 MB / 0.8855 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 () * Number of clocked 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.0007204/2.353, allocations: 0.8754 MB / 1.413 GB, free: 295 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0002658/2.353, allocations: 118.2 kB / 1.413 GB, free: 295 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/2.353, allocations: 0.7812 kB / 1.413 GB, free: 295 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 7.346e-05/2.353, allocations: 47.81 kB / 1.413 GB, free: 295 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003719/2.353, allocations: 55.28 kB / 1.413 GB, free: 295 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001922/2.355, allocations: 3.253 MB / 1.417 GB, free: 292.2 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001856/2.355, allocations: 0.7169 MB / 1.417 GB, free: 291.5 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0002153/2.356, allocations: 52.78 kB / 1.417 GB, free: 291.5 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.01e-05/2.356, allocations: 45.06 kB / 1.417 GB, free: 291.5 MB / 0.8855 GB Notification: Performance of SimCode: time 2.9e-07/2.356, allocations: 1.156 kB / 1.417 GB, free: 291.5 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0232/2.379, allocations: 5.966 MB / 1.423 GB, free: 291.2 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002047/2.379, allocations: 208.1 kB / 1.423 GB, free: 291 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.863/4.242, allocations: 0 / 1.423 GB, free: 291 MB / 0.8855 GB (rm -f Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT.fmu > Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1)