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/ModelicaServices 4.0.0+maint.om/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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004481/0.004481, allocations: 98.77 kB / 15.73 MB, free: 6.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001312/0.001312, allocations: 195.9 kB / 16.68 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.412/1.412, allocations: 222.9 MB / 240.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002592/0.002592, allocations: 297.4 kB / 290.8 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.018/1.018, allocations: 169.2 MB / 0.4983 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002857/0.002858, allocations: 95.86 kB / 0.681 GB, free: 7.473 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4007/0.4036, allocations: 86.97 MB / 0.7659 GB, free: 3.883 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamProperties): time 0.1564/0.56, allocations: 136.1 MB / 0.8989 GB, free: 11.22 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02972/0.5898, allocations: 22.35 MB / 0.9207 GB, free: 4.793 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001434/0.59, allocations: 4 kB / 0.9207 GB, free: 4.789 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0002859/0.5903, allocations: 43.67 kB / 0.9207 GB, free: 4.746 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.0003339/0.5906, allocations: 91.36 kB / 0.9208 GB, free: 4.656 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.01586/0.6065, allocations: 6.687 MB / 0.9273 GB, free: 13.98 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.0003735/0.6069, allocations: 247.9 kB / 0.9276 GB, free: 13.74 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 4.15e-05/0.6069, allocations: 5.562 kB / 0.9276 GB, free: 13.74 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003245/0.6073, allocations: 147.4 kB / 0.9277 GB, free: 13.59 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001603/0.6075, allocations: 95.66 kB / 0.9278 GB, free: 13.5 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 2.296e-05/0.6075, allocations: 8 kB / 0.9278 GB, free: 13.49 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01895/0.6264, allocations: 10.96 MB / 0.9385 GB, free: 2.52 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 8.956e-05/0.6265, allocations: 35.91 kB / 0.9386 GB, free: 2.484 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0001235/0.6267, allocations: 83.64 kB / 0.9386 GB, free: 2.402 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.01089/0.6376, allocations: 6.158 MB / 0.9447 GB, free: 12.23 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 9.027e-06/0.6376, allocations: 4 kB / 0.9447 GB, free: 12.23 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.693e-06/0.6376, allocations: 0 / 0.9447 GB, free: 12.23 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.434e-06/0.6376, allocations: 4 kB / 0.9447 GB, free: 12.22 MB / 0.7169 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.003573/0.6412, allocations: 1.226 MB / 0.9459 GB, free: 10.94 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.385e-05/0.6413, allocations: 8.031 kB / 0.9459 GB, free: 10.93 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.341e-05/0.6413, allocations: 58.67 kB / 0.9459 GB, free: 10.87 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001147/0.6425, allocations: 84.77 kB / 0.946 GB, free: 10.79 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003712/0.6429, allocations: 232.1 kB / 0.9462 GB, free: 10.52 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.391e-05/0.6429, allocations: 15.88 kB / 0.9462 GB, free: 10.5 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.187e-05/0.6429, allocations: 20 kB / 0.9463 GB, free: 10.48 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001261/0.6442, allocations: 453.6 kB / 0.9467 GB, free: 10.02 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.6442, allocations: 0 / 0.9467 GB, free: 10.02 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.8e-05/0.6443, allocations: 8 kB / 0.9467 GB, free: 10.02 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.476e-06/0.6443, allocations: 4 kB / 0.9467 GB, free: 10.01 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001358/0.6456, allocations: 0.5931 MB / 0.9473 GB, free: 9.418 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001179/0.6468, allocations: 0.8785 MB / 0.9481 GB, free: 8.453 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008933/0.6477, allocations: 258.3 kB / 0.9484 GB, free: 8.191 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001264/0.6479, allocations: 76.83 kB / 0.9485 GB, free: 8.113 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3832/1.031, allocations: 35.42 MB / 0.9831 GB, free: 165.1 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.681e-05/1.031, allocations: 34.56 kB / 0.9831 GB, free: 165 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=25): time 2.094e-06/1.031, allocations: 0 / 0.9831 GB, free: 165 MB / 0.7169 GB Notification: Performance of matching and sorting (n=25): time 0.00166/1.033, allocations: 421.1 kB / 0.9835 GB, free: 164.6 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.847e-05/1.033, allocations: 55.41 kB / 0.9835 GB, free: 164.6 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.448e-05/1.033, allocations: 145 kB / 0.9837 GB, free: 164.4 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.231e-05/1.033, allocations: 33.7 kB / 0.9837 GB, free: 164.4 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.053e-05/1.033, allocations: 120.8 kB / 0.9838 GB, free: 164.3 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.781e-05/1.033, allocations: 82.53 kB / 0.9839 GB, free: 164.2 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.288e-05/1.033, allocations: 81.66 kB / 0.984 GB, free: 164.1 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.276e-05/1.033, allocations: 322.8 kB / 0.9843 GB, free: 163.8 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001479/1.033, allocations: 79.42 kB / 0.9844 GB, free: 163.7 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001932/1.034, allocations: 129.6 kB / 0.9845 GB, free: 163.6 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003426/1.034, allocations: 221.1 kB / 0.9847 GB, free: 163.3 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/1.034, allocations: 0 / 0.9847 GB, free: 163.3 MB / 0.7169 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005976/1.034, allocations: 307.7 kB / 0.985 GB, free: 163 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/1.035, allocations: 4 kB / 0.985 GB, free: 163 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/1.035, allocations: 4 kB / 0.985 GB, free: 163 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/1.035, allocations: 0 / 0.985 GB, free: 163 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002864/1.035, allocations: 87.88 kB / 0.9851 GB, free: 162.9 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.812e-06/1.035, allocations: 3.75 kB / 0.9851 GB, free: 162.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001607/1.035, allocations: 24.67 kB / 0.9851 GB, free: 162.9 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.452e-05/1.035, allocations: 22.25 kB / 0.9851 GB, free: 162.9 MB / 0.7169 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001013/1.035, allocations: 130 kB / 0.9853 GB, free: 162.8 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001676/1.035, allocations: 15.91 kB / 0.9853 GB, free: 162.8 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001623/1.037, allocations: 2.351 MB / 0.9876 GB, free: 160.4 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.748e-06/1.037, allocations: 7.984 kB / 0.9876 GB, free: 160.4 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/1.037, allocations: 3.938 kB / 0.9876 GB, free: 160.4 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/1.037, allocations: 0 / 0.9876 GB, free: 160.4 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002157/1.039, allocations: 3.43 MB / 0.9909 GB, free: 156.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/1.039, allocations: 0 / 0.9909 GB, free: 156.9 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002617/1.039, allocations: 55.89 kB / 0.991 GB, free: 156.8 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/1.039, allocations: 7.375 kB / 0.991 GB, free: 156.8 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.719e-05/1.039, allocations: 11.98 kB / 0.991 GB, free: 156.8 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.434e-06/1.039, allocations: 3.938 kB / 0.991 GB, free: 156.8 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/1.039, allocations: 0 / 0.991 GB, free: 156.8 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005816/1.04, allocations: 0.5428 MB / 0.9915 GB, free: 156.2 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 8.144e-05/1.04, allocations: 147.1 kB / 0.9917 GB, free: 156.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.022e-05/1.04, allocations: 4 kB / 0.9917 GB, free: 156.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002368/1.04, allocations: 19.98 kB / 0.9917 GB, free: 156.1 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.691e-05/1.04, allocations: 11.98 kB / 0.9917 GB, free: 156.1 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.294e-05/1.041, allocations: 15.98 kB / 0.9917 GB, free: 156 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.383e-05/1.041, allocations: 106.2 kB / 0.9918 GB, free: 155.9 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/1.041, allocations: 0 / 0.9918 GB, free: 155.9 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.00329/1.044, allocations: 1.65 MB / 0.9934 GB, free: 154.5 MB / 0.7169 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005861/1.05, allocations: 2.895 MB / 0.9963 GB, free: 151.7 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004486/1.05, allocations: 328.1 kB / 0.9966 GB, free: 151.4 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/1.05, allocations: 0 / 0.9966 GB, free: 151.4 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002256/1.05, allocations: 237.7 kB / 0.9968 GB, free: 151.2 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00054/1.051, allocations: 76.12 kB / 0.9969 GB, free: 151.1 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003442/1.054, allocations: 3.08 MB / 0.9999 GB, free: 147.9 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001302/1.055, allocations: 0.7661 MB / 1.001 GB, free: 147.1 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0003724/1.055, allocations: 405.2 kB / 1.001 GB, free: 146.7 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001481/1.055, allocations: 103.3 kB / 1.001 GB, free: 146.6 MB / 0.7169 GB Notification: Performance of SimCode: time 2.5e-07/1.055, allocations: 0 / 1.001 GB, free: 146.6 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.347/2.402, allocations: 60.8 MB / 1.06 GB, free: 85.91 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.69/17.09, allocations: 8 kB / 1.06 GB, free: 85.9 MB / 0.7169 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/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)