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.7679/0.7679, allocations: 141.7 MB / 154.3 MB, free: 15.5 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001133/0.001133, allocations: 181.1 kB / 187.3 MB, free: 11.9 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.469/1.469, allocations: 221.3 MB / 441.4 MB, free: 4.629 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.001048/0.001048, allocations: 94.39 kB / 0.5124 GB, free: 24.18 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001865/0.001865, allocations: 272.4 kB / 0.5939 GB, free: 7.98 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.546e-05/3.55e-05, allocations: 0 / 0.6835 GB, free: 12.18 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4701/0.4702, allocations: 82.77 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9167/1.387, allocations: 420.3 MB / 1.175 GB, free: 4.199 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002765/1.387, allocations: 77.8 kB / 1.175 GB, free: 4.16 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.9258/2.313, allocations: 195.8 MB / 1.366 GB, free: 97.13 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.886e-06/2.313, allocations: 0 / 1.366 GB, free: 97.13 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.881e-05/2.313, allocations: 4 kB / 1.366 GB, free: 97.12 MB / 0.698 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.006343/2.32, allocations: 1.219 MB / 1.367 GB, free: 95.86 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.056e-05/2.32, allocations: 12.03 kB / 1.367 GB, free: 95.85 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.678e-05/2.32, allocations: 50.48 kB / 1.367 GB, free: 95.79 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001007/2.321, allocations: 91.72 kB / 1.367 GB, free: 95.7 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002088/2.321, allocations: 226.8 kB / 1.368 GB, free: 95.44 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.466e-05/2.321, allocations: 12 kB / 1.368 GB, free: 95.43 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.233e-05/2.321, allocations: 12 kB / 1.368 GB, free: 95.41 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009787/2.322, allocations: 448.3 kB / 1.368 GB, free: 94.96 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/2.322, allocations: 0 / 1.368 GB, free: 94.96 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.46e-05/2.322, allocations: 11.98 kB / 1.368 GB, free: 94.95 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.516e-06/2.322, allocations: 4 kB / 1.368 GB, free: 94.94 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009725/2.323, allocations: 0.5932 MB / 1.369 GB, free: 94.35 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008624/2.324, allocations: 0.9021 MB / 1.37 GB, free: 93.36 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006539/2.325, allocations: 263.6 kB / 1.37 GB, free: 93.09 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.71e-05/2.325, allocations: 68.84 kB / 1.37 GB, free: 93.02 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07027/2.395, allocations: 34.76 MB / 1.404 GB, free: 55.17 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.673e-05/2.395, allocations: 30.56 kB / 1.404 GB, free: 55.13 MB / 0.698 GB Notification: Performance of pre-optimization done (n=25): time 1.973e-06/2.395, allocations: 8 kB / 1.404 GB, free: 55.12 MB / 0.698 GB Notification: Performance of matching and sorting (n=25): time 0.001451/2.396, allocations: 380.8 kB / 1.404 GB, free: 54.75 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.904e-05/2.397, allocations: 55.39 kB / 1.404 GB, free: 54.68 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.806e-05/2.397, allocations: 122.6 kB / 1.404 GB, free: 54.56 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.189e-05/2.397, allocations: 33.7 kB / 1.404 GB, free: 54.52 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.235e-05/2.397, allocations: 112.3 kB / 1.405 GB, free: 54.41 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.895e-05/2.397, allocations: 78.77 kB / 1.405 GB, free: 54.33 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.896e-05/2.397, allocations: 8 kB / 1.405 GB, free: 54.32 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.153e-05/2.397, allocations: 322.8 kB / 1.405 GB, free: 54 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001274/2.397, allocations: 79.97 kB / 1.405 GB, free: 53.92 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001575/2.397, allocations: 122.6 kB / 1.405 GB, free: 53.78 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001516/2.397, allocations: 87.88 kB / 1.405 GB, free: 53.7 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/2.397, allocations: 0 / 1.405 GB, free: 53.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005469/2.398, allocations: 285.5 kB / 1.405 GB, free: 53.41 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/2.398, allocations: 8 kB / 1.405 GB, free: 53.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.613e-06/2.398, allocations: 0 / 1.405 GB, free: 53.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.673e-05/2.398, allocations: 4 kB / 1.405 GB, free: 53.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002802/2.398, allocations: 79.88 kB / 1.406 GB, free: 53.32 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.059e-05/2.398, allocations: 7.953 kB / 1.406 GB, free: 53.31 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001705/2.398, allocations: 23.91 kB / 1.406 GB, free: 53.29 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.993e-05/2.398, allocations: 31.97 kB / 1.406 GB, free: 53.26 MB / 0.698 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 (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 8.815e-05/2.399, allocations: 120.9 kB / 1.406 GB, free: 53.13 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001343/2.399, allocations: 15.81 kB / 1.406 GB, free: 53.12 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007503/2.399, allocations: 0.4942 MB / 1.406 GB, free: 52.62 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.008e-05/2.399, allocations: 8 kB / 1.406 GB, free: 52.61 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.668e-06/2.399, allocations: 0 / 1.406 GB, free: 52.61 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/2.4, allocations: 7.938 kB / 1.406 GB, free: 52.6 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009149/2.4, allocations: 0.8085 MB / 1.407 GB, free: 51.73 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/2.4, allocations: 0 / 1.407 GB, free: 51.73 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002357/2.401, allocations: 79.81 kB / 1.407 GB, free: 51.66 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/2.401, allocations: 0 / 1.407 GB, free: 51.66 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.177e-05/2.401, allocations: 23.94 kB / 1.407 GB, free: 51.63 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/2.401, allocations: 3.984 kB / 1.407 GB, free: 51.63 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/2.401, allocations: 0 / 1.407 GB, free: 51.63 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005718/2.401, allocations: 435.7 kB / 1.408 GB, free: 51.19 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.255e-05/2.401, allocations: 128.7 kB / 1.408 GB, free: 51.04 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.689e-05/2.401, allocations: 8 kB / 1.408 GB, free: 51.04 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002424/2.402, allocations: 23.94 kB / 1.408 GB, free: 51.01 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.792e-05/2.402, allocations: 27.91 kB / 1.408 GB, free: 50.98 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.081e-05/2.402, allocations: 27.97 kB / 1.408 GB, free: 50.96 MB / 0.698 GB Notification: Performance of sorting global known variables: time 5.448e-05/2.402, allocations: 105.9 kB / 1.408 GB, free: 50.86 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/2.402, allocations: 0 / 1.408 GB, free: 50.86 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.007196/2.409, allocations: 1.662 MB / 1.409 GB, free: 49.19 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($cse1.phase,$cse1.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.01292/2.422, allocations: 3.308 MB / 1.413 GB, free: 45.86 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0006223/2.423, allocations: 259.9 kB / 1.413 GB, free: 45.61 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.422e-06/2.423, allocations: 0 / 1.413 GB, free: 45.61 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002555/2.423, allocations: 167.7 kB / 1.413 GB, free: 45.44 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005489/2.424, allocations: 68.14 kB / 1.413 GB, free: 45.38 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005581/2.429, allocations: 0.9825 MB / 1.414 GB, free: 44.35 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001927/2.429, allocations: 0.7379 MB / 1.415 GB, free: 43.59 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001119/2.43, allocations: 1.222 MB / 1.416 GB, free: 42.36 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001832/2.431, allocations: 91.38 kB / 1.416 GB, free: 42.27 MB / 0.698 GB Notification: Performance of SimCode: time 8.82e-07/2.431, allocations: 0 / 1.416 GB, free: 42.27 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5211/2.952, allocations: 51 MB / 1.466 GB, free: 175.2 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001626/2.952, allocations: 156.1 kB / 1.466 GB, free: 174.9 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.228/6.18, allocations: 2.109 kB / 1.466 GB, free: 174.9 MB / 0.698 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)