Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.SteamProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Media.Examples.SteamProperties,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_SteamProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Examples.SteamProperties,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_SteamProperties",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8606/0.8606, allocations: 143.3 MB / 158.3 MB, free: 5.781 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001261/0.001261, allocations: 181.1 kB / 191.5 MB, free: 5.762 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.45/1.45, allocations: 223.2 MB / 447.7 MB, free: 4.82 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009481/0.0009481, allocations: 99.7 kB / 0.5187 GB, free: 1.176 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001737/0.001737, allocations: 282.7 kB / 0.6005 GB, free: 48.75 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004223/0.0004224, allocations: 14.94 kB / 0.6929 GB, free: 59.61 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1431/0.1435, allocations: 82.79 MB / 0.7738 GB, free: 13.77 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.059/1.203, allocations: 420.3 MB / 1.184 GB, free: 243.9 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002401/1.203, allocations: 72.52 kB / 1.184 GB, free: 243.9 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.4628/1.666, allocations: 196.1 MB / 1.376 GB, free: 72.84 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.204e-06/1.666, allocations: 0 / 1.376 GB, free: 72.84 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.241e-05/1.666, allocations: 4 kB / 1.376 GB, free: 72.84 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.005464/1.671, allocations: 1.235 MB / 1.377 GB, free: 71.55 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.002e-05/1.671, allocations: 12.03 kB / 1.377 GB, free: 71.54 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.213e-05/1.672, allocations: 46.55 kB / 1.377 GB, free: 71.48 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001722/1.673, allocations: 87.72 kB / 1.377 GB, free: 71.4 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002966/1.674, allocations: 222.9 kB / 1.377 GB, free: 71.14 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.903e-05/1.674, allocations: 16 kB / 1.377 GB, free: 71.12 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.647e-05/1.674, allocations: 16 kB / 1.377 GB, free: 71.11 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001528/1.675, allocations: 444.5 kB / 1.378 GB, free: 70.66 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.298e-05/1.675, allocations: 0 / 1.378 GB, free: 70.66 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.669e-05/1.675, allocations: 11.95 kB / 1.378 GB, free: 70.64 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.303e-06/1.675, allocations: 4 kB / 1.378 GB, free: 70.64 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001608/1.677, allocations: 0.5892 MB / 1.378 GB, free: 70.05 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001272/1.678, allocations: 0.9061 MB / 1.379 GB, free: 69.06 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001125/1.679, allocations: 243.5 kB / 1.38 GB, free: 68.81 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1195/1.799, allocations: 34.66 MB / 1.413 GB, free: 31.06 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.431e-05/1.799, allocations: 38.56 kB / 1.413 GB, free: 31.01 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=25): time 3.316e-06/1.799, allocations: 0 / 1.413 GB, free: 31.01 MB / 0.7136 GB Notification: Performance of matching and sorting (n=25): time 0.002555/1.802, allocations: 406.9 kB / 1.414 GB, free: 30.61 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.517e-05/1.802, allocations: 55.41 kB / 1.414 GB, free: 30.54 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001278/1.802, allocations: 127.1 kB / 1.414 GB, free: 30.41 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.871e-05/1.802, allocations: 33.7 kB / 1.414 GB, free: 30.38 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.314e-05/1.802, allocations: 111.9 kB / 1.414 GB, free: 30.27 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 8.2e-05/1.802, allocations: 78.77 kB / 1.414 GB, free: 30.19 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.866e-05/1.802, allocations: 8 kB / 1.414 GB, free: 30.18 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.013e-05/1.802, allocations: 326.8 kB / 1.415 GB, free: 29.85 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002438/1.802, allocations: 79.95 kB / 1.415 GB, free: 29.77 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002893/1.803, allocations: 122.6 kB / 1.415 GB, free: 29.64 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000282/1.803, allocations: 96.78 kB / 1.415 GB, free: 29.54 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/1.803, allocations: 0 / 1.415 GB, free: 29.54 MB / 0.7136 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.00101/1.804, allocations: 296.2 kB / 1.415 GB, free: 29.25 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.376e-05/1.804, allocations: 8 kB / 1.415 GB, free: 29.24 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.276e-06/1.804, allocations: 3.938 kB / 1.415 GB, free: 29.24 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.371e-05/1.804, allocations: 4 kB / 1.415 GB, free: 29.23 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004614/1.805, allocations: 83.81 kB / 1.415 GB, free: 29.15 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.26e-05/1.805, allocations: 8.156 kB / 1.415 GB, free: 29.14 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003028/1.805, allocations: 15.84 kB / 1.415 GB, free: 29.13 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.36e-05/1.805, allocations: 31.97 kB / 1.415 GB, free: 29.1 MB / 0.7136 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 (30): * Single equations (assignments): 30 * 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.0001845/1.805, allocations: 126.2 kB / 1.415 GB, free: 28.96 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002597/1.805, allocations: 23.77 kB / 1.415 GB, free: 28.94 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003051/1.809, allocations: 2.295 MB / 1.418 GB, free: 26.64 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.48e-05/1.809, allocations: 15.97 kB / 1.418 GB, free: 26.62 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.775e-06/1.809, allocations: 0 / 1.418 GB, free: 26.62 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.313e-06/1.809, allocations: 0 / 1.418 GB, free: 26.62 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004107/1.813, allocations: 3.372 MB / 1.421 GB, free: 23.15 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/1.813, allocations: 0 / 1.421 GB, free: 23.15 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004237/1.813, allocations: 59.89 kB / 1.421 GB, free: 23.09 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.254e-06/1.813, allocations: 0 / 1.421 GB, free: 23.09 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.301e-05/1.813, allocations: 7.984 kB / 1.421 GB, free: 23.08 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.148e-06/1.813, allocations: 0 / 1.421 GB, free: 23.08 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/1.813, allocations: 0 / 1.421 GB, free: 23.08 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001009/1.814, allocations: 0.5507 MB / 1.422 GB, free: 22.52 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001783/1.814, allocations: 144.5 kB / 1.422 GB, free: 22.36 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.087e-05/1.815, allocations: 8 kB / 1.422 GB, free: 22.35 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004089/1.815, allocations: 15.98 kB / 1.422 GB, free: 22.33 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.712e-05/1.815, allocations: 19.97 kB / 1.422 GB, free: 22.31 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.464e-05/1.815, allocations: 15.92 kB / 1.422 GB, free: 22.3 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 8.589e-05/1.815, allocations: 104.5 kB / 1.422 GB, free: 22.2 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.7e-07/1.815, allocations: 4 kB / 1.422 GB, free: 22.19 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0088/1.824, allocations: 1.666 MB / 1.423 GB, free: 20.52 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.01787/1.842, allocations: 3.426 MB / 1.427 GB, free: 17.07 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0008244/1.843, allocations: 320.4 kB / 1.427 GB, free: 16.75 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 6.463e-06/1.843, allocations: 320 / 1.427 GB, free: 16.75 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0003646/1.843, allocations: 244.5 kB / 1.427 GB, free: 16.52 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005917/1.844, allocations: 54.66 kB / 1.427 GB, free: 16.46 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007641/1.851, allocations: 2.902 MB / 1.43 GB, free: 13.49 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000216/1.852, allocations: 0.7741 MB / 1.431 GB, free: 12.69 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0006283/1.852, allocations: 410 kB / 1.431 GB, free: 12.29 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002265/1.853, allocations: 95.39 kB / 1.431 GB, free: 12.2 MB / 0.7136 GB Notification: Performance of SimCode: time 8.62e-07/1.853, allocations: 4 kB / 1.431 GB, free: 12.19 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.492/2.345, allocations: 49.44 MB / 1.48 GB, free: 163.6 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002096/2.345, allocations: 179.8 kB / 1.48 GB, free: 163.3 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.638/5.983, allocations: 3.812 kB / 1.48 GB, free: 163.3 MB / 0.7136 GB (rm -f BuildingSystems_BuildingSystems.Media.Examples.SteamProperties.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.SteamProperties.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.SteamProperties.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.SteamProperties.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Media_Examples_SteamProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Media_Examples_SteamProperties.fmu > BuildingSystems_BuildingSystems.Media.Examples.SteamProperties.pipe 2>&1)