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.001033/0.001036, 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.001069/0.001069, allocations: 191.9 kB / 16.25 MB, free: 6.633 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.228/1.228, allocations: 222.9 MB / 239.9 MB, free: 4.535 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.8458/0.8458, allocations: 143 MB / 433.1 MB, free: 11.54 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001305/0.001305, allocations: 63.91 kB / 0.5138 GB, free: 11.98 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1267/0.128, allocations: 82.04 MB / 0.5939 GB, free: 9.906 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.SteamProperties): time 0.3321/0.4601, allocations: 134.2 MB / 0.725 GB, free: 44 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.02547/0.4856, allocations: 22.6 MB / 0.747 GB, free: 260 kB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001883/0.4859, allocations: 1.781 kB / 0.747 GB, free: 260 kB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0003047/0.4862, allocations: 47.02 kB / 0.7471 GB, free: 220 kB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0003348/0.4866, allocations: 85.8 kB / 0.7472 GB, free: 148 kB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.01883/0.5054, allocations: 5.91 MB / 0.7529 GB, free: 10.85 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0004005/0.5058, allocations: 247.9 kB / 0.7532 GB, free: 10.61 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 6.349e-05/0.5059, allocations: 9.562 kB / 0.7532 GB, free: 10.6 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003541/0.5063, allocations: 135.5 kB / 0.7533 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000159/0.5064, allocations: 95.59 kB / 0.7534 GB, free: 10.37 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.383e-05/0.5065, allocations: 8 kB / 0.7534 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01858/0.525, allocations: 10.81 MB / 0.764 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 9.5e-05/0.5252, allocations: 35.91 kB / 0.764 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001345/0.5253, allocations: 83.59 kB / 0.7641 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.01247/0.5378, allocations: 6.2 MB / 0.7701 GB, free: 9.215 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.5378, allocations: 0 / 0.7701 GB, free: 9.215 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.373e-06/0.5378, allocations: 4 kB / 0.7701 GB, free: 9.211 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 7.123e-06/0.5379, allocations: 0 / 0.7701 GB, free: 9.211 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.002916/0.5408, allocations: 1.184 MB / 0.7713 GB, free: 7.98 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.636e-05/0.5408, allocations: 12.03 kB / 0.7713 GB, free: 7.969 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.699e-05/0.5409, allocations: 50.73 kB / 0.7713 GB, free: 7.91 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001018/0.5419, allocations: 89.16 kB / 0.7714 GB, free: 7.824 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002016/0.5421, allocations: 225.2 kB / 0.7716 GB, free: 7.566 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.538e-05/0.5421, allocations: 18.44 kB / 0.7717 GB, free: 7.551 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.691e-05/0.5422, allocations: 20 kB / 0.7717 GB, free: 7.531 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001115/0.5433, allocations: 448.7 kB / 0.7721 GB, free: 7.074 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.388e-06/0.5433, allocations: 0.6875 kB / 0.7721 GB, free: 7.074 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.766e-05/0.5433, allocations: 12 kB / 0.7721 GB, free: 7.062 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.177e-06/0.5434, allocations: 4 kB / 0.7721 GB, free: 7.059 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001172/0.5445, allocations: 0.5976 MB / 0.7727 GB, free: 6.461 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009445/0.5455, allocations: 0.8848 MB / 0.7736 GB, free: 5.492 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008279/0.5463, allocations: 256 kB / 0.7738 GB, free: 5.234 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001121/0.5465, allocations: 76.83 kB / 0.7739 GB, free: 5.156 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07674/0.6232, allocations: 35.05 MB / 0.8081 GB, free: 15.03 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.892e-05/0.6233, allocations: 38.56 kB / 0.8082 GB, free: 14.98 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=25): time 1.472e-06/0.6233, allocations: 4 kB / 0.8082 GB, free: 14.98 MB / 0.6387 GB Notification: Performance of matching and sorting (n=25): time 0.001661/0.6249, allocations: 419.3 kB / 0.8086 GB, free: 14.56 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.022e-05/0.625, allocations: 55.41 kB / 0.8086 GB, free: 14.5 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000104/0.6251, allocations: 142.4 kB / 0.8087 GB, free: 14.35 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 3.482e-05/0.6251, allocations: 29.7 kB / 0.8088 GB, free: 14.31 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 5.318e-05/0.6252, allocations: 104.4 kB / 0.8089 GB, free: 14.21 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 6.376e-05/0.6253, allocations: 90.73 kB / 0.809 GB, free: 14.12 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001173/0.6254, allocations: 77.67 kB / 0.809 GB, free: 14.04 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 9.084e-05/0.6255, allocations: 330.8 kB / 0.8094 GB, free: 13.7 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001641/0.6257, allocations: 88.44 kB / 0.8094 GB, free: 13.62 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002102/0.6259, allocations: 126.1 kB / 0.8096 GB, free: 13.48 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003931/0.6263, allocations: 225.8 kB / 0.8098 GB, free: 13.24 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.6263, allocations: 0 / 0.8098 GB, free: 13.24 MB / 0.6387 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006772/0.627, allocations: 308.6 kB / 0.8101 GB, free: 12.94 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.627, allocations: 4.625 kB / 0.8101 GB, free: 12.93 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.627, allocations: 0 / 0.8101 GB, free: 12.93 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.627, allocations: 4.156 kB / 0.8101 GB, free: 12.93 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002863/0.6273, allocations: 83.88 kB / 0.8102 GB, free: 12.85 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.697e-06/0.6273, allocations: 4 kB / 0.8102 GB, free: 12.84 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001537/0.6275, allocations: 23.69 kB / 0.8102 GB, free: 12.82 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.247e-05/0.6275, allocations: 27.97 kB / 0.8102 GB, free: 12.79 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.0001166/0.6277, allocations: 129.8 kB / 0.8103 GB, free: 12.66 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001638/0.6278, allocations: 11.91 kB / 0.8103 GB, free: 12.64 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002055/0.6299, allocations: 2.354 MB / 0.8126 GB, free: 10.29 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.138e-05/0.6299, allocations: 7.984 kB / 0.8126 GB, free: 10.28 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.6299, allocations: 4 kB / 0.8127 GB, free: 10.27 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.6299, allocations: 7.875 kB / 0.8127 GB, free: 10.27 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00277/0.6327, allocations: 3.423 MB / 0.816 GB, free: 6.734 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.958e-06/0.6327, allocations: 3.938 kB / 0.816 GB, free: 6.73 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002641/0.633, allocations: 47.95 kB / 0.8161 GB, free: 6.684 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.633, allocations: 7.938 kB / 0.8161 GB, free: 6.676 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.002e-05/0.633, allocations: 7.938 kB / 0.8161 GB, free: 6.668 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.448e-06/0.6331, allocations: 4 kB / 0.8161 GB, free: 6.664 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.6331, allocations: 0 / 0.8161 GB, free: 6.664 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006785/0.6337, allocations: 0.5534 MB / 0.8166 GB, free: 6.094 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001068/0.6339, allocations: 140.6 kB / 0.8167 GB, free: 5.938 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.583e-05/0.6339, allocations: 7.938 kB / 0.8168 GB, free: 5.93 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002225/0.6341, allocations: 15.98 kB / 0.8168 GB, free: 5.914 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.642e-05/0.6342, allocations: 15.98 kB / 0.8168 GB, free: 5.898 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.942e-05/0.6342, allocations: 15.98 kB / 0.8168 GB, free: 5.883 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 6.153e-05/0.6343, allocations: 108.6 kB / 0.8169 GB, free: 5.777 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6343, allocations: 0 / 0.8169 GB, free: 5.777 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.003603/0.6379, allocations: 1.632 MB / 0.8185 GB, free: 4.145 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.007387/0.6453, allocations: 2.889 MB / 0.8213 GB, free: 1.238 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0006685/0.646, allocations: 335.6 kB / 0.8216 GB, free: 0.9141 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/0.646, allocations: 320 / 0.8216 GB, free: 0.9141 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0002799/0.6463, allocations: 244.5 kB / 0.8219 GB, free: 0.6758 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005164/0.6468, allocations: 66.02 kB / 0.8219 GB, free: 0.6133 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004557/0.6514, allocations: 3.164 MB / 0.825 GB, free: 13.33 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002529/0.6516, allocations: 0.7622 MB / 0.8258 GB, free: 12.55 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0005243/0.6522, allocations: 410.6 kB / 0.8262 GB, free: 12.14 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001999/0.6524, allocations: 99.39 kB / 0.8263 GB, free: 12.05 MB / 0.6544 GB Notification: Performance of SimCode: time 6.91e-07/0.6524, allocations: 0 / 0.8263 GB, free: 12.05 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8279/1.48, allocations: 61 MB / 0.8858 GB, free: 187 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000159/1.481, allocations: 191.4 kB / 0.886 GB, free: 186.7 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.44/6.921, allocations: 2.125 kB / 0.886 GB, free: 186.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)