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.001146/0.001146, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001157/0.001157, allocations: 187.4 kB / 16.25 MB, free: 6.59 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.207/1.207, allocations: 222.9 MB / 239.9 MB, free: 4.48 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001936/0.001936, allocations: 279 kB / 290.3 MB, free: 2.105 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8745/0.8745, allocations: 169.2 MB / 0.4978 GB, free: 14.09 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001789/0.001789, allocations: 94.34 kB / 0.5948 GB, free: 28.36 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1303/0.1321, allocations: 86.98 MB / 0.6797 GB, free: 0.9922 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamProperties): time 0.3806/0.5128, allocations: 134.2 MB / 0.8108 GB, free: 1.875 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01899/0.5318, allocations: 22.6 MB / 0.8329 GB, free: 15.94 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001486/0.532, allocations: 1.438 kB / 0.8329 GB, free: 15.94 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0002179/0.5322, allocations: 38.06 kB / 0.8329 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002384/0.5325, allocations: 89.59 kB / 0.833 GB, free: 15.9 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.01479/0.5473, allocations: 5.908 MB / 0.8387 GB, free: 14.1 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0003246/0.5476, allocations: 246.8 kB / 0.839 GB, free: 13.97 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.994e-05/0.5477, allocations: 17.42 kB / 0.839 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002567/0.5479, allocations: 135.8 kB / 0.8391 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001193/0.5481, allocations: 94.25 kB / 0.8392 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.821e-05/0.5481, allocations: 8.656 kB / 0.8392 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01686/0.565, allocations: 10.81 MB / 0.8498 GB, free: 8.312 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 8.867e-05/0.5651, allocations: 37.41 kB / 0.8498 GB, free: 8.289 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000132/0.5652, allocations: 80 kB / 0.8499 GB, free: 8.25 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01123/0.5765, allocations: 6.203 MB / 0.8559 GB, free: 4.578 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.5765, allocations: 0 / 0.8559 GB, free: 4.578 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.333e-06/0.5765, allocations: 0 / 0.8559 GB, free: 4.578 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.631e-06/0.5765, allocations: 0 / 0.8559 GB, free: 4.578 MB / 0.5762 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.00281/0.5793, allocations: 1.187 MB / 0.8571 GB, free: 3.703 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.412e-05/0.5794, allocations: 10.06 kB / 0.8571 GB, free: 3.703 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.749e-05/0.5794, allocations: 52.42 kB / 0.8572 GB, free: 3.648 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001009/0.5804, allocations: 84.28 kB / 0.8572 GB, free: 3.613 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002005/0.5806, allocations: 230.6 kB / 0.8575 GB, free: 3.367 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.782e-05/0.5807, allocations: 24.95 kB / 0.8575 GB, free: 3.348 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.28e-05/0.5807, allocations: 13.53 kB / 0.8575 GB, free: 3.344 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001052/0.5818, allocations: 452.1 kB / 0.8579 GB, free: 3.059 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.5818, allocations: 0 / 0.8579 GB, free: 3.059 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.307e-05/0.5818, allocations: 6.688 kB / 0.8579 GB, free: 3.055 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.73e-06/0.5818, allocations: 4.562 kB / 0.8579 GB, free: 3.055 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001087/0.5829, allocations: 0.6039 MB / 0.8585 GB, free: 2.758 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008736/0.5838, allocations: 0.8693 MB / 0.8594 GB, free: 1.918 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007447/0.5845, allocations: 247.4 kB / 0.8596 GB, free: 1.785 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.837e-05/0.5847, allocations: 73.17 kB / 0.8597 GB, free: 1.75 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07126/0.6559, allocations: 35.05 MB / 0.8939 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.345e-05/0.656, allocations: 40.38 kB / 0.894 GB, free: 15.77 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=25): time 1.453e-06/0.656, allocations: 0 / 0.894 GB, free: 15.77 MB / 0.6231 GB Notification: Performance of matching and sorting (n=25): time 0.00156/0.6575, allocations: 421.9 kB / 0.8944 GB, free: 15.36 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.685e-05/0.6576, allocations: 59.39 kB / 0.8944 GB, free: 15.29 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.879e-05/0.6577, allocations: 140 kB / 0.8946 GB, free: 15.14 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.433e-05/0.6577, allocations: 29.7 kB / 0.8946 GB, free: 15.11 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 5.171e-05/0.6578, allocations: 112.3 kB / 0.8947 GB, free: 15 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 5.626e-05/0.6578, allocations: 80.88 kB / 0.8948 GB, free: 14.92 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001103/0.658, allocations: 81.66 kB / 0.8948 GB, free: 14.83 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 8.778e-05/0.6581, allocations: 326.8 kB / 0.8952 GB, free: 14.5 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001541/0.6582, allocations: 83.89 kB / 0.8952 GB, free: 14.42 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001998/0.6584, allocations: 142.8 kB / 0.8954 GB, free: 14.27 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003626/0.6588, allocations: 217 kB / 0.8956 GB, free: 14.04 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.6588, allocations: 0 / 0.8956 GB, free: 14.04 MB / 0.6231 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006341/0.6594, allocations: 304.5 kB / 0.8959 GB, free: 13.73 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.6595, allocations: 4 kB / 0.8959 GB, free: 13.73 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.6595, allocations: 4 kB / 0.8959 GB, free: 13.73 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.066e-05/0.6595, allocations: 0 / 0.8959 GB, free: 13.73 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002731/0.6598, allocations: 79.88 kB / 0.896 GB, free: 13.65 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.624e-06/0.6598, allocations: 4 kB / 0.896 GB, free: 13.64 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000148/0.6599, allocations: 23.78 kB / 0.896 GB, free: 13.62 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.554e-05/0.66, allocations: 32.11 kB / 0.896 GB, free: 13.59 MB / 0.6231 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.000107/0.6601, allocations: 130.4 kB / 0.8961 GB, free: 13.45 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001547/0.6603, allocations: 15.81 kB / 0.8962 GB, free: 13.44 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00196/0.6622, allocations: 2.346 MB / 0.8984 GB, free: 11.09 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.251e-05/0.6623, allocations: 11.98 kB / 0.8985 GB, free: 11.08 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.6623, allocations: 1.938 kB / 0.8985 GB, free: 11.08 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.6623, allocations: 3.938 kB / 0.8985 GB, free: 11.07 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002641/0.6649, allocations: 3.43 MB / 0.9018 GB, free: 7.535 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.87e-06/0.6649, allocations: 0 / 0.9018 GB, free: 7.535 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002533/0.6652, allocations: 63.81 kB / 0.9019 GB, free: 7.473 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.6652, allocations: 0 / 0.9019 GB, free: 7.473 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.142e-05/0.6652, allocations: 11.94 kB / 0.9019 GB, free: 7.461 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.6652, allocations: 0 / 0.9019 GB, free: 7.461 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.6652, allocations: 0 / 0.9019 GB, free: 7.461 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006575/0.6659, allocations: 0.5457 MB / 0.9024 GB, free: 6.902 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001067/0.666, allocations: 144.5 kB / 0.9026 GB, free: 6.742 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.26e-05/0.6661, allocations: 11.94 kB / 0.9026 GB, free: 6.73 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002099/0.6663, allocations: 15.98 kB / 0.9026 GB, free: 6.715 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.817e-05/0.6663, allocations: 19.97 kB / 0.9026 GB, free: 6.695 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.553e-05/0.6663, allocations: 9.75 kB / 0.9026 GB, free: 6.688 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 6.104e-05/0.6664, allocations: 109.8 kB / 0.9027 GB, free: 6.582 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6664, allocations: 0 / 0.9027 GB, free: 6.582 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.003154/0.6696, allocations: 1.62 MB / 0.9043 GB, free: 4.961 MB / 0.6231 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.007186/0.6768, allocations: 2.896 MB / 0.9071 GB, free: 2.18 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0005679/0.6773, allocations: 334 kB / 0.9074 GB, free: 1.855 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.6774, allocations: 0 / 0.9074 GB, free: 1.855 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002635/0.6776, allocations: 244.5 kB / 0.9077 GB, free: 1.613 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004557/0.6781, allocations: 67.75 kB / 0.9077 GB, free: 1.551 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004188/0.6823, allocations: 3.159 MB / 0.9108 GB, free: 14.29 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002312/0.6825, allocations: 0.7661 MB / 0.9116 GB, free: 13.5 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0004767/0.683, allocations: 409.1 kB / 0.912 GB, free: 13.09 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001751/0.6832, allocations: 99.39 kB / 0.9121 GB, free: 13 MB / 0.6387 GB Notification: Performance of SimCode: time 2.5e-07/0.6832, allocations: 0 / 0.9121 GB, free: 13 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.183/3.866, allocations: 60.92 MB / 0.9715 GB, free: 160 kB / 0.6856 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002104/3.867, allocations: 203.4 kB / 0.9717 GB, free: 15.89 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.593/9.46, allocations: 5.906 kB / 0.9717 GB, free: 15.89 MB / 0.7012 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)