Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Media.Examples.SteamProperties,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_SteamProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Examples.SteamProperties,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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.001469/0.001469, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001682/0.001682, allocations: 195.4 kB / 16.53 MB, free: 6.664 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.343/1.343, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.9556/0.9556, allocations: 143 MB / 433.4 MB, free: 11.56 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001132/0.001132, allocations: 67.89 kB / 0.5143 GB, free: 11.58 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1273/0.1285, allocations: 82.04 MB / 0.5944 GB, free: 9.523 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.SteamProperties): time 0.3246/0.4531, allocations: 136.1 MB / 0.7273 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02263/0.4757, allocations: 22.33 MB / 0.7491 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001522/0.4759, allocations: 1.375 kB / 0.7491 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0002184/0.4762, allocations: 38.56 kB / 0.7492 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002753/0.4764, allocations: 102.4 kB / 0.7493 GB, free: 14.17 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.01431/0.4908, allocations: 6.684 MB / 0.7558 GB, free: 7.996 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002777/0.4911, allocations: 247.9 kB / 0.756 GB, free: 7.754 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.157e-05/0.4911, allocations: 17.53 kB / 0.756 GB, free: 7.734 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002528/0.4914, allocations: 135.5 kB / 0.7562 GB, free: 7.602 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001145/0.4915, allocations: 87.66 kB / 0.7562 GB, free: 7.516 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.177e-05/0.4915, allocations: 8 kB / 0.7563 GB, free: 7.508 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01609/0.5076, allocations: 10.68 MB / 0.7667 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 7.77e-05/0.5077, allocations: 39.89 kB / 0.7667 GB, free: 12.78 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001163/0.5078, allocations: 79.66 kB / 0.7668 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.01258/0.5204, allocations: 6.177 MB / 0.7728 GB, free: 6.516 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.5205, allocations: 0 / 0.7728 GB, free: 6.516 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.122e-06/0.5205, allocations: 0 / 0.7728 GB, free: 6.516 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 8.205e-06/0.5205, allocations: 0 / 0.7728 GB, free: 6.516 MB / 0.5919 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.002972/0.5235, allocations: 1.189 MB / 0.774 GB, free: 5.281 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.553e-05/0.5235, allocations: 8.031 kB / 0.774 GB, free: 5.273 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.801e-05/0.5235, allocations: 50.73 kB / 0.774 GB, free: 5.215 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001106/0.5247, allocations: 88.67 kB / 0.7741 GB, free: 5.129 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002255/0.5249, allocations: 228.2 kB / 0.7744 GB, free: 4.867 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.825e-05/0.5249, allocations: 22.44 kB / 0.7744 GB, free: 4.848 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.547e-05/0.525, allocations: 12 kB / 0.7744 GB, free: 4.836 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001032/0.526, allocations: 460.6 kB / 0.7748 GB, free: 4.367 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.016e-06/0.526, allocations: 0 / 0.7748 GB, free: 4.367 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.498e-05/0.526, allocations: 12 kB / 0.7748 GB, free: 4.355 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.274e-06/0.5261, allocations: 4.5 kB / 0.7748 GB, free: 4.352 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001085/0.5272, allocations: 0.5937 MB / 0.7754 GB, free: 3.758 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009588/0.5281, allocations: 0.8848 MB / 0.7763 GB, free: 2.789 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007897/0.5289, allocations: 253.2 kB / 0.7765 GB, free: 2.535 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001223/0.5291, allocations: 72.83 kB / 0.7766 GB, free: 2.461 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08016/0.6092, allocations: 35.05 MB / 0.8108 GB, free: 12.33 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.604e-05/0.6093, allocations: 39.06 kB / 0.8109 GB, free: 12.28 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=25): time 1.673e-06/0.6093, allocations: 0 / 0.8109 GB, free: 12.28 MB / 0.6387 GB Notification: Performance of matching and sorting (n=25): time 0.001569/0.6109, allocations: 419.3 kB / 0.8113 GB, free: 11.87 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.416e-05/0.6109, allocations: 59.39 kB / 0.8113 GB, free: 11.8 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001019/0.611, allocations: 145.7 kB / 0.8115 GB, free: 11.64 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 3.302e-05/0.6111, allocations: 29.7 kB / 0.8115 GB, free: 11.61 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 5.18e-05/0.6111, allocations: 108.4 kB / 0.8116 GB, free: 11.5 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 6.421e-05/0.6112, allocations: 78.77 kB / 0.8117 GB, free: 11.42 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001049/0.6113, allocations: 81.59 kB / 0.8117 GB, free: 11.34 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 9.267e-05/0.6114, allocations: 330.8 kB / 0.8121 GB, free: 11 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001636/0.6116, allocations: 87.95 kB / 0.8121 GB, free: 10.92 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002075/0.6118, allocations: 131.1 kB / 0.8123 GB, free: 10.77 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000384/0.6122, allocations: 222 kB / 0.8125 GB, free: 10.54 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.647e-06/0.6122, allocations: 0.5 kB / 0.8125 GB, free: 10.54 MB / 0.6387 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006388/0.6128, allocations: 301.2 kB / 0.8128 GB, free: 10.24 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.6129, allocations: 4 kB / 0.8128 GB, free: 10.24 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.728e-06/0.6129, allocations: 0 / 0.8128 GB, free: 10.24 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/0.6129, allocations: 4 kB / 0.8128 GB, free: 10.23 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002623/0.6132, allocations: 82.12 kB / 0.8128 GB, free: 10.16 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.154e-06/0.6132, allocations: 8.156 kB / 0.8129 GB, free: 10.15 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001345/0.6133, allocations: 23.69 kB / 0.8129 GB, free: 10.12 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.707e-05/0.6134, allocations: 23.98 kB / 0.8129 GB, free: 10.1 MB / 0.6387 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.0001108/0.6135, allocations: 133.8 kB / 0.813 GB, free: 9.961 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001587/0.6136, allocations: 11.91 kB / 0.813 GB, free: 9.949 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002007/0.6156, allocations: 2.349 MB / 0.8153 GB, free: 7.598 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.444e-05/0.6157, allocations: 11.98 kB / 0.8153 GB, free: 7.586 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.6157, allocations: 3.938 kB / 0.8154 GB, free: 7.582 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.6157, allocations: 3.938 kB / 0.8154 GB, free: 7.578 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002689/0.6184, allocations: 3.427 MB / 0.8187 GB, free: 4.043 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.6184, allocations: 0 / 0.8187 GB, free: 4.043 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002317/0.6186, allocations: 63.92 kB / 0.8188 GB, free: 3.98 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.6187, allocations: 4 kB / 0.8188 GB, free: 3.977 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.801e-05/0.6187, allocations: 7.938 kB / 0.8188 GB, free: 3.969 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.6187, allocations: 4 kB / 0.8188 GB, free: 3.965 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.6187, allocations: 0 / 0.8188 GB, free: 3.965 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006677/0.6194, allocations: 0.5507 MB / 0.8193 GB, free: 3.398 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001062/0.6195, allocations: 140.6 kB / 0.8194 GB, free: 3.242 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.381e-05/0.6195, allocations: 8.5 kB / 0.8195 GB, free: 3.234 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001973/0.6197, allocations: 8 kB / 0.8195 GB, free: 3.227 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.714e-05/0.6198, allocations: 27.91 kB / 0.8195 GB, free: 3.199 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.468e-05/0.6198, allocations: 12 kB / 0.8195 GB, free: 3.188 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 5.931e-05/0.6199, allocations: 108.3 kB / 0.8196 GB, free: 3.082 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6199, allocations: 0 / 0.8196 GB, free: 3.082 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.003131/0.623, allocations: 1.628 MB / 0.8212 GB, free: 1.453 MB / 0.6387 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.007033/0.63, allocations: 2.886 MB / 0.824 GB, free: 14.54 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0005735/0.6306, allocations: 332.3 kB / 0.8243 GB, free: 14.22 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 7.684e-06/0.6306, allocations: 4 kB / 0.8243 GB, free: 14.21 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0002583/0.6309, allocations: 245.3 kB / 0.8246 GB, free: 13.98 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004563/0.6314, allocations: 71.61 kB / 0.8246 GB, free: 13.91 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003975/0.6353, allocations: 3.042 MB / 0.8276 GB, free: 10.76 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002455/0.6356, allocations: 0.77 MB / 0.8284 GB, free: 9.965 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.000452/0.6361, allocations: 401.2 kB / 0.8287 GB, free: 9.57 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001672/0.6362, allocations: 103.3 kB / 0.8288 GB, free: 9.469 MB / 0.6544 GB Notification: Performance of SimCode: time 2.4e-07/0.6362, allocations: 0 / 0.8288 GB, free: 9.469 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.351/2.988, allocations: 61.03 MB / 0.8884 GB, free: 188.7 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.83/14.82, allocations: 6.125 kB / 0.8884 GB, free: 188.7 MB / 0.67 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamProperties.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamProperties.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamProperties.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Media_Examples_SteamProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Media_Examples_SteamProperties.fmu > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamProperties.pipe 2>&1)