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.001599/0.001599, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001486/0.001486, allocations: 195.3 kB / 16.14 MB, free: 6.688 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.263/1.263, allocations: 222.9 MB / 239.8 MB, free: 4.523 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.9244/0.9244, allocations: 143 MB / 433 MB, free: 11.73 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001378/0.001378, allocations: 59.84 kB / 0.5136 GB, free: 12.04 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1276/0.129, allocations: 82.04 MB / 0.5937 GB, free: 9.977 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.SteamProperties): time 0.3188/0.4478, allocations: 134 MB / 0.7246 GB, free: 420 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.02668/0.4745, allocations: 24.63 MB / 0.7487 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001434/0.4747, allocations: 0 / 0.7487 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.000241/0.4749, allocations: 43.8 kB / 0.7487 GB, free: 15.01 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002376/0.4752, allocations: 83.48 kB / 0.7488 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.01298/0.4882, allocations: 5.292 MB / 0.754 GB, free: 9.672 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0003042/0.4885, allocations: 307.8 kB / 0.7543 GB, free: 9.371 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.056e-05/0.4886, allocations: 9.562 kB / 0.7543 GB, free: 9.359 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002446/0.4888, allocations: 143.5 kB / 0.7544 GB, free: 9.219 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001153/0.4889, allocations: 87.66 kB / 0.7545 GB, free: 9.133 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.241e-05/0.489, allocations: 8 kB / 0.7545 GB, free: 9.125 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01487/0.5038, allocations: 10.85 MB / 0.7651 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 5.856e-05/0.5039, allocations: 43.83 kB / 0.7651 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 8.892e-05/0.504, allocations: 75.67 kB / 0.7652 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.00763/0.5116, allocations: 6.2 MB / 0.7713 GB, free: 7.938 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.5117, allocations: 0 / 0.7713 GB, free: 7.938 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.003e-06/0.5117, allocations: 4 kB / 0.7713 GB, free: 7.934 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 3.687e-06/0.5117, allocations: 0 / 0.7713 GB, free: 7.934 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.001979/0.5137, allocations: 1.181 MB / 0.7724 GB, free: 6.707 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.606e-05/0.5137, allocations: 8.031 kB / 0.7724 GB, free: 6.699 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.439e-05/0.5137, allocations: 50.73 kB / 0.7725 GB, free: 6.641 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009675/0.5147, allocations: 88.67 kB / 0.7726 GB, free: 6.555 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001989/0.5149, allocations: 228.2 kB / 0.7728 GB, free: 6.293 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.439e-05/0.5149, allocations: 18.44 kB / 0.7728 GB, free: 6.277 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.309e-05/0.515, allocations: 16 kB / 0.7728 GB, free: 6.262 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001038/0.516, allocations: 452.7 kB / 0.7732 GB, free: 5.801 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.246e-06/0.516, allocations: 0 / 0.7732 GB, free: 5.801 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.342e-05/0.5161, allocations: 12 kB / 0.7732 GB, free: 5.789 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.5161, allocations: 4 kB / 0.7733 GB, free: 5.785 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00113/0.5172, allocations: 0.5931 MB / 0.7738 GB, free: 5.191 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008851/0.5181, allocations: 0.8848 MB / 0.7747 GB, free: 4.223 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007712/0.5189, allocations: 248 kB / 0.7749 GB, free: 3.973 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001076/0.519, allocations: 80.81 kB / 0.775 GB, free: 3.891 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07417/0.5932, allocations: 35.05 MB / 0.8092 GB, free: 13.75 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.921e-05/0.5932, allocations: 38.56 kB / 0.8093 GB, free: 13.71 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=25): time 3.105e-06/0.5933, allocations: 0 / 0.8093 GB, free: 13.71 MB / 0.6387 GB Notification: Performance of matching and sorting (n=25): time 0.001631/0.5949, allocations: 424.8 kB / 0.8097 GB, free: 13.29 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.552e-05/0.5949, allocations: 59.39 kB / 0.8097 GB, free: 13.22 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000104/0.595, allocations: 138.5 kB / 0.8099 GB, free: 13.07 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 3.064e-05/0.5951, allocations: 29.7 kB / 0.8099 GB, free: 13.04 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 5.874e-05/0.5952, allocations: 108.3 kB / 0.81 GB, free: 12.93 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 6.203e-05/0.5952, allocations: 86.75 kB / 0.8101 GB, free: 12.84 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001165/0.5953, allocations: 77.66 kB / 0.8102 GB, free: 12.76 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 8.708e-05/0.5954, allocations: 326.8 kB / 0.8105 GB, free: 12.43 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001673/0.5956, allocations: 80.45 kB / 0.8105 GB, free: 12.35 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002164/0.5958, allocations: 138 kB / 0.8107 GB, free: 12.2 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003897/0.5962, allocations: 228.3 kB / 0.8109 GB, free: 11.96 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.5962, allocations: 0 / 0.8109 GB, free: 11.96 MB / 0.6387 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006666/0.5969, allocations: 302 kB / 0.8112 GB, free: 11.66 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.5969, allocations: 4 kB / 0.8112 GB, free: 11.66 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.5969, allocations: 0 / 0.8112 GB, free: 11.66 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.597, allocations: 4 kB / 0.8112 GB, free: 11.65 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002938/0.5973, allocations: 83.81 kB / 0.8113 GB, free: 11.57 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.794e-06/0.5973, allocations: 4 kB / 0.8113 GB, free: 11.57 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001472/0.5974, allocations: 27.84 kB / 0.8113 GB, free: 11.54 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.387e-05/0.5975, allocations: 28.53 kB / 0.8113 GB, free: 11.51 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.0001097/0.5976, allocations: 129.8 kB / 0.8115 GB, free: 11.38 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001678/0.5978, allocations: 11.91 kB / 0.8115 GB, free: 11.36 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002112/0.5999, allocations: 2.353 MB / 0.8138 GB, free: 9.004 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-05/0.5999, allocations: 11.98 kB / 0.8138 GB, free: 8.992 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.5999, allocations: 0 / 0.8138 GB, free: 8.992 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.062e-06/0.5999, allocations: 3.938 kB / 0.8138 GB, free: 8.988 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002805/0.6027, allocations: 3.419 MB / 0.8171 GB, free: 5.461 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.676e-06/0.6028, allocations: 4 kB / 0.8171 GB, free: 5.457 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002664/0.603, allocations: 59.88 kB / 0.8172 GB, free: 5.398 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.603, allocations: 4 kB / 0.8172 GB, free: 5.395 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.898e-05/0.6031, allocations: 8.5 kB / 0.8172 GB, free: 5.387 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.6031, allocations: 4 kB / 0.8172 GB, free: 5.383 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.6031, allocations: 0 / 0.8172 GB, free: 5.383 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007019/0.6038, allocations: 0.5457 MB / 0.8177 GB, free: 4.82 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001102/0.6039, allocations: 145.8 kB / 0.8179 GB, free: 4.66 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.229e-05/0.6039, allocations: 7.938 kB / 0.8179 GB, free: 4.652 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002126/0.6042, allocations: 15.94 kB / 0.8179 GB, free: 4.637 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.688e-05/0.6042, allocations: 19.97 kB / 0.8179 GB, free: 4.617 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.742e-05/0.6042, allocations: 15.98 kB / 0.8179 GB, free: 4.602 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 6.375e-05/0.6043, allocations: 105.1 kB / 0.818 GB, free: 4.5 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6043, allocations: 0 / 0.818 GB, free: 4.5 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.00349/0.6078, allocations: 1.636 MB / 0.8196 GB, free: 2.863 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.007456/0.6153, allocations: 2.882 MB / 0.8224 GB, free: 15.96 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0005124/0.6158, allocations: 319.6 kB / 0.8227 GB, free: 15.65 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.6158, allocations: 4 kB / 0.8227 GB, free: 15.65 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0002765/0.6161, allocations: 244.5 kB / 0.823 GB, free: 15.41 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004825/0.6166, allocations: 60.25 kB / 0.823 GB, free: 15.35 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004029/0.6206, allocations: 3.167 MB / 0.8261 GB, free: 12.07 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002472/0.6209, allocations: 0.7661 MB / 0.8269 GB, free: 11.29 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0004818/0.6214, allocations: 413.8 kB / 0.8273 GB, free: 10.88 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001763/0.6216, allocations: 103.4 kB / 0.8274 GB, free: 10.78 MB / 0.6544 GB Notification: Performance of SimCode: time 2.31e-07/0.6216, allocations: 0 / 0.8274 GB, free: 10.78 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6952/1.317, allocations: 60.73 MB / 0.8867 GB, free: 187.5 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001315/1.317, allocations: 195.6 kB / 0.8869 GB, free: 187.2 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.261/6.578, allocations: 0 / 0.8869 GB, free: 187.2 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)