Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirProperties.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-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-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(BuildSysPro.IBPSA.Media.Examples.AirProperties,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_AirProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Examples.AirProperties,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_AirProperties",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.00474/0.00474, allocations: 98.89 kB / 15.73 MB, free: 6.031 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.001246/0.001246, allocations: 194 kB / 16.67 MB, free: 5.953 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.365/1.365, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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-master/package.mo): time 0.8801/0.8801, allocations: 143.3 MB / 433.9 MB, free: 11.78 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001769/0.001769, allocations: 64.64 kB / 0.5953 GB, free: 12.55 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1429/0.1447, allocations: 82.03 MB / 0.6755 GB, free: 10.56 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.AirProperties): time 0.4905/0.6353, allocations: 149.1 MB / 0.8211 GB, free: 1.094 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.004143/0.6395, allocations: 3.618 MB / 0.8246 GB, free: 14.19 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.706e-05/0.6396, allocations: 0.5625 kB / 0.8246 GB, free: 14.19 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0003272/0.6399, allocations: 70.45 kB / 0.8247 GB, free: 14.13 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002738/0.6402, allocations: 133.5 kB / 0.8248 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002085/0.6423, allocations: 1.01 MB / 0.8258 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003501/0.6427, allocations: 325.5 kB / 0.8261 GB, free: 13.12 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.576e-05/0.6427, allocations: 12.97 kB / 0.8261 GB, free: 13.11 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003591/0.6431, allocations: 196.6 kB / 0.8263 GB, free: 13 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001751/0.6433, allocations: 129.3 kB / 0.8264 GB, free: 12.93 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.761e-05/0.6433, allocations: 10.25 kB / 0.8264 GB, free: 12.93 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001834/0.6451, allocations: 1.217 MB / 0.8276 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.373e-05/0.6453, allocations: 74.41 kB / 0.8277 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001224/0.6454, allocations: 110.5 kB / 0.8278 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0009228/0.6463, allocations: 0.6385 MB / 0.8284 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.6463, allocations: 0 / 0.8284 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.433e-06/0.6463, allocations: 6.719 kB / 0.8284 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.6463, allocations: 0 / 0.8284 GB, free: 11.78 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.001063/0.6474, allocations: 0.6008 MB / 0.829 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.782e-05/0.6475, allocations: 11.39 kB / 0.829 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.995e-05/0.6475, allocations: 56.89 kB / 0.8291 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001137/0.6487, allocations: 135.1 kB / 0.8292 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002603/0.6489, allocations: 227.5 kB / 0.8294 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.914e-05/0.649, allocations: 14 kB / 0.8294 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.838e-05/0.649, allocations: 20.17 kB / 0.8294 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005275/0.6495, allocations: 339.4 kB / 0.8298 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.6496, allocations: 0 / 0.8298 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.228e-05/0.6496, allocations: 10.58 kB / 0.8298 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.246e-05/0.6496, allocations: 24.05 kB / 0.8298 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004939/0.6501, allocations: 323 kB / 0.8301 GB, free: 10.48 MB / 0.6075 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001546/0.6517, allocations: 1.101 MB / 0.8312 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004578/0.6522, allocations: 190.9 kB / 0.8314 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001287/0.6523, allocations: 82.28 kB / 0.8314 GB, free: 9.371 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005619/0.6529, allocations: 466.1 kB / 0.8319 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.505e-05/0.6529, allocations: 37.34 kB / 0.8319 GB, free: 8.824 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=21): time 1.493e-06/0.6529, allocations: 0 / 0.8319 GB, free: 8.824 MB / 0.6075 GB Notification: Performance of matching and sorting (n=21): time 0.0006477/0.6536, allocations: 260.3 kB / 0.8322 GB, free: 8.699 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.919e-05/0.6536, allocations: 57.97 kB / 0.8322 GB, free: 8.633 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001999/0.6539, allocations: 219.4 kB / 0.8324 GB, free: 8.465 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.882e-05/0.6539, allocations: 28.33 kB / 0.8325 GB, free: 8.434 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001029/0.654, allocations: 140.6 kB / 0.8326 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.865e-05/0.6541, allocations: 77.38 kB / 0.8327 GB, free: 8.234 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.815e-05/0.6542, allocations: 53.19 kB / 0.8327 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001452/0.6543, allocations: 328.5 kB / 0.833 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001191/0.6544, allocations: 71.16 kB / 0.8331 GB, free: 7.844 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001848/0.6546, allocations: 160.3 kB / 0.8333 GB, free: 7.699 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003161/0.6549, allocations: 255.7 kB / 0.8335 GB, free: 7.508 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.655, allocations: 2.094 kB / 0.8335 GB, free: 7.508 MB / 0.6075 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004909/0.6554, allocations: 283.5 kB / 0.8338 GB, free: 7.367 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/0.6555, allocations: 9.562 kB / 0.8338 GB, free: 7.363 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.6555, allocations: 6.5 kB / 0.8338 GB, free: 7.359 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.685e-05/0.6555, allocations: 8.875 kB / 0.8338 GB, free: 7.355 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002569/0.6558, allocations: 60.69 kB / 0.8339 GB, free: 7.34 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.095e-06/0.6558, allocations: 5.688 kB / 0.8339 GB, free: 7.34 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001953/0.656, allocations: 27.08 kB / 0.8339 GB, free: 7.32 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.254e-05/0.656, allocations: 16.31 kB / 0.8339 GB, free: 7.316 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (31): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0001328/0.6562, allocations: 139.6 kB / 0.834 GB, free: 7.18 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001234/0.6563, allocations: 20.94 kB / 0.8341 GB, free: 7.172 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004844/0.6568, allocations: 283 kB / 0.8343 GB, free: 7.012 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.025e-05/0.6568, allocations: 6.031 kB / 0.8343 GB, free: 7.008 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.6568, allocations: 2.594 kB / 0.8343 GB, free: 7.008 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.6568, allocations: 3.984 kB / 0.8343 GB, free: 7.004 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007463/0.6576, allocations: 0.577 MB / 0.8349 GB, free: 6.535 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.6576, allocations: 0 / 0.8349 GB, free: 6.535 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001736/0.6578, allocations: 31.58 kB / 0.8349 GB, free: 6.531 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.6578, allocations: 4 kB / 0.8349 GB, free: 6.527 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.07e-05/0.6578, allocations: 8.062 kB / 0.8349 GB, free: 6.523 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.689e-06/0.6578, allocations: 6.469 kB / 0.8349 GB, free: 6.52 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.6578, allocations: 0 / 0.8349 GB, free: 6.52 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005191/0.6583, allocations: 353.9 kB / 0.8353 GB, free: 6.273 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001233/0.6585, allocations: 128.5 kB / 0.8354 GB, free: 6.145 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.518e-05/0.6585, allocations: 2.125 kB / 0.8354 GB, free: 6.145 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002409/0.6588, allocations: 12.55 kB / 0.8354 GB, free: 6.137 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.392e-05/0.6588, allocations: 11.73 kB / 0.8354 GB, free: 6.133 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.914e-05/0.6588, allocations: 18.34 kB / 0.8354 GB, free: 6.125 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001281/0.659, allocations: 151.2 kB / 0.8356 GB, free: 6.016 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.659, allocations: 0 / 0.8356 GB, free: 6.016 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004565/0.6594, allocations: 112.6 kB / 0.8357 GB, free: 5.996 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 simulation (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.00109/0.6605, allocations: 1.002 MB / 0.8367 GB, free: 5.16 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003442/0.6609, allocations: 207.6 kB / 0.8369 GB, free: 5.082 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.6609, allocations: 0.75 kB / 0.8369 GB, free: 5.082 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001361/0.6611, allocations: 109.2 kB / 0.837 GB, free: 5.039 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006079/0.6617, allocations: 98.88 kB / 0.8371 GB, free: 4.992 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002819/0.6645, allocations: 2.511 MB / 0.8395 GB, free: 2.996 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003512/0.6649, allocations: 0.7334 MB / 0.8402 GB, free: 2.273 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0002297/0.6651, allocations: 58.03 kB / 0.8403 GB, free: 2.246 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001153/0.6652, allocations: 62.28 kB / 0.8404 GB, free: 2.199 MB / 0.6075 GB Notification: Performance of SimCode: time 2.51e-07/0.6652, allocations: 0 / 0.8404 GB, free: 2.199 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02951/0.6948, allocations: 7.845 MB / 0.848 GB, free: 12.53 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.034/8.729, allocations: 0 / 0.848 GB, free: 12.53 MB / 0.6231 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirProperties.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirProperties.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirProperties.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirProperties.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirProperties_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildSysPro_BuildSysPro_IBPSA_Media_Examples_AirProperties.fmu > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirProperties.pipe 2>&1)