Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Airflow.Multizone.Examples.OneOpenDoor.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.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(IBPSA.Airflow.Multizone.Examples.OneOpenDoor,fileNamePrefix="IBPSA_latest_IBPSA_Airflow_Multizone_Examples_OneOpenDoor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Airflow.Multizone.Examples.OneOpenDoor,fileNamePrefix="IBPSA_latest_IBPSA_Airflow_Multizone_Examples_OneOpenDoor",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.001085/0.001085, allocations: 111.3 kB / 16.41 MB, free: 6.445 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.00112/0.00112, allocations: 189.2 kB / 17.34 MB, free: 5.738 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.282/1.282, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7469/0.7469, allocations: 126.1 MB / 417.3 MB, free: 12.85 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001364/0.001364, allocations: 78.23 kB / 0.5726 GB, free: 27.27 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1197/0.121, allocations: 78.7 MB / 0.6494 GB, free: 4.504 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.Examples.OneOpenDoor): time 0.4535/0.5745, allocations: 166.9 MB / 0.8124 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01151/0.5861, allocations: 8.489 MB / 0.8207 GB, free: 8.238 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001732/0.5878, allocations: 44.53 kB / 0.8208 GB, free: 8.219 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001679/0.5895, allocations: 0.5642 MB / 0.8213 GB, free: 7.785 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.004068/0.5937, allocations: 1.573 MB / 0.8229 GB, free: 6.785 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002432/0.5961, allocations: 0.9924 MB / 0.8238 GB, free: 6.113 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.004093/0.6002, allocations: 4.105 MB / 0.8278 GB, free: 3.852 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001702/0.6019, allocations: 1.322 MB / 0.8291 GB, free: 3.02 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002853/0.6048, allocations: 1.513 MB / 0.8306 GB, free: 2.262 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002107/0.6069, allocations: 1.508 MB / 0.8321 GB, free: 1.488 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0003747/0.6073, allocations: 186.2 kB / 0.8322 GB, free: 1.488 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002392/0.6097, allocations: 1.109 MB / 0.8333 GB, free: 1.129 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.000679/0.6104, allocations: 0.6669 MB / 0.834 GB, free: 0.6641 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001379/0.6118, allocations: 1.035 MB / 0.835 GB, free: 0 / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003402/0.6152, allocations: 2.765 MB / 0.8377 GB, free: 14.28 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.6152, allocations: 3.938 kB / 0.8377 GB, free: 14.27 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.874e-06/0.6152, allocations: 3.938 kB / 0.8377 GB, free: 14.27 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.565e-05/0.6153, allocations: 0 / 0.8377 GB, free: 14.27 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: 385 * Number of variables: 385 Notification: Performance of Generate backend data structure: time 0.004655/0.62, allocations: 2.318 MB / 0.84 GB, free: 12.68 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.62, allocations: 7.562 kB / 0.84 GB, free: 12.68 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002435/0.6203, allocations: 223.2 kB / 0.8402 GB, free: 12.51 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004655/0.6207, allocations: 212.4 kB / 0.8404 GB, free: 12.4 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001845/0.6226, allocations: 1.175 MB / 0.8415 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.833e-05/0.6227, allocations: 115.6 kB / 0.8416 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001946/0.6229, allocations: 156.7 kB / 0.8418 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002773/0.6257, allocations: 1.914 MB / 0.8437 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.844e-05/0.6257, allocations: 11.02 kB / 0.8437 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001379/0.6259, allocations: 60.09 kB / 0.8437 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.141e-05/0.6259, allocations: 38.09 kB / 0.8438 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003786/0.6297, allocations: 2.477 MB / 0.8462 GB, free: 8.176 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.009027/0.6387, allocations: 6.129 MB / 0.8522 GB, free: 1.734 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003849/0.6426, allocations: 2.804 MB / 0.8549 GB, free: 14.92 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002171/0.6448, allocations: 1.432 MB / 0.8563 GB, free: 13.49 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001616/0.6464, allocations: 1.731 MB / 0.858 GB, free: 11.39 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.424e-05/0.6465, allocations: 60.55 kB / 0.8581 GB, free: 11.33 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=237): time 4.058e-06/0.6465, allocations: 0 / 0.8581 GB, free: 11.33 MB / 0.6231 GB Notification: Performance of matching and sorting (n=237): time 0.005731/0.6522, allocations: 3.438 MB / 0.8614 GB, free: 7.844 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.496e-05/0.6523, allocations: 77.41 kB / 0.8615 GB, free: 7.754 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001066/0.6534, allocations: 0.7705 MB / 0.8622 GB, free: 6.977 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001343/0.6535, allocations: 77.69 kB / 0.8623 GB, free: 6.895 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.000318/0.6539, allocations: 497.5 kB / 0.8628 GB, free: 6.402 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.000606/0.6545, allocations: 0.8315 MB / 0.8636 GB, free: 5.582 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004925/0.655, allocations: 343.7 kB / 0.8639 GB, free: 5.238 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 8.834e-05/0.6551, allocations: 305.1 kB / 0.8642 GB, free: 4.938 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001476/0.6565, allocations: 0.9029 MB / 0.8651 GB, free: 4.031 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001632/0.6582, allocations: 1.125 MB / 0.8662 GB, free: 2.844 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00333/0.6615, allocations: 2.227 MB / 0.8684 GB, free: 0.5742 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.937e-06/0.6615, allocations: 8 kB / 0.8684 GB, free: 0.5664 MB / 0.6231 GB Notification: Performance of matching and sorting (n=261) (initialization): time 0.003994/0.6655, allocations: 2.437 MB / 0.8708 GB, free: 14.12 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.308e-05/0.6656, allocations: 13.97 kB / 0.8708 GB, free: 14.11 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.245e-05/0.6656, allocations: 4 kB / 0.8708 GB, free: 14.11 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.562e-05/0.6656, allocations: 12 kB / 0.8708 GB, free: 14.09 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00174/0.6674, allocations: 439.4 kB / 0.8712 GB, free: 13.66 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.365e-05/0.6674, allocations: 17.06 kB / 0.8712 GB, free: 13.65 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001116/0.6686, allocations: 158.8 kB / 0.8714 GB, free: 13.49 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001664/0.6687, allocations: 71.98 kB / 0.8714 GB, free: 13.42 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (261): * Single equations (assignments): 261 * 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.0007044/0.6694, allocations: 444.8 kB / 0.8719 GB, free: 12.98 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003554/0.6698, allocations: 155 kB / 0.872 GB, free: 12.83 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004896/0.6747, allocations: 2.718 MB / 0.8747 GB, free: 10.09 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.359e-05/0.6748, allocations: 28 kB / 0.8747 GB, free: 10.06 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.587e-05/0.6748, allocations: 3.984 kB / 0.8747 GB, free: 10.06 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003598/0.6784, allocations: 2.389 MB / 0.877 GB, free: 7.617 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006743/0.6852, allocations: 4.3 MB / 0.8812 GB, free: 3.301 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.925e-06/0.6852, allocations: 0 / 0.8812 GB, free: 3.301 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001717/0.6869, allocations: 407.6 kB / 0.8816 GB, free: 2.902 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005453/0.6875, allocations: 101.6 kB / 0.8817 GB, free: 2.797 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001503/0.6876, allocations: 51.98 kB / 0.8818 GB, free: 2.746 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006784/0.6883, allocations: 1.124 MB / 0.8829 GB, free: 1.57 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.6883, allocations: 4 kB / 0.8829 GB, free: 1.566 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006043/0.6944, allocations: 4.069 MB / 0.8868 GB, free: 13.48 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008569/0.6953, allocations: 479.5 kB / 0.8873 GB, free: 12.99 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002744/0.6956, allocations: 40 kB / 0.8873 GB, free: 12.95 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009864/0.6966, allocations: 55.97 kB / 0.8874 GB, free: 12.89 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002601/0.6968, allocations: 137.8 kB / 0.8875 GB, free: 12.76 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001494/0.697, allocations: 71.97 kB / 0.8876 GB, free: 12.69 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0007368/0.6977, allocations: 0.5459 MB / 0.8881 GB, free: 12.14 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6977, allocations: 0 / 0.8881 GB, free: 12.14 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001469/0.6992, allocations: 0.6591 MB / 0.8888 GB, free: 11.48 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 8 (dooOpe.mExcAB,dooOpe.mExcBA,volA.dynBal.U,volA.dynBal.m,volB.dynBal.U,volB.dynBal.m,dooOpeClo.mExcAB,dooOpeClo.mExcBA) * 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 (237): * Single equations (assignments): 235 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.007141/0.7064, allocations: 4.906 MB / 0.8936 GB, free: 6.559 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.003742/0.7101, allocations: 2.325 MB / 0.8958 GB, free: 4.234 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 6.482e-06/0.7101, allocations: 4 kB / 0.8958 GB, free: 4.23 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001968/0.7121, allocations: 1.276 MB / 0.8971 GB, free: 2.953 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002792/0.7149, allocations: 0.5692 MB / 0.8976 GB, free: 2.395 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02056/0.7355, allocations: 13.69 MB / 0.911 GB, free: 4.441 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00102/0.7366, allocations: 1.339 MB / 0.9123 GB, free: 3.074 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.002045/0.7386, allocations: 0.7151 MB / 0.913 GB, free: 2.352 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009992/0.7396, allocations: 0.6281 MB / 0.9136 GB, free: 1.723 MB / 0.67 GB Notification: Performance of SimCode: time 7.02e-07/0.7397, allocations: 0 / 0.9136 GB, free: 1.723 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06767/0.8073, allocations: 39.79 MB / 0.9525 GB, free: 10.34 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.59/14.39, allocations: 10.67 kB / 0.9525 GB, free: 10.33 MB / 0.7169 GB (rm -f IBPSA_latest_IBPSA.Airflow.Multizone.Examples.OneOpenDoor.pipe ; mkfifo IBPSA_latest_IBPSA.Airflow.Multizone.Examples.OneOpenDoor.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Airflow.Multizone.Examples.OneOpenDoor.pipe >> ../files/IBPSA_latest_IBPSA.Airflow.Multizone.Examples.OneOpenDoor.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Airflow.Multizone.Examples.OneOpenDoor_res.csv --start-time 0 --stop-time 7200 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 2.88 IBPSA_latest_IBPSA_Airflow_Multizone_Examples_OneOpenDoor.fmu > IBPSA_latest_IBPSA.Airflow.Multizone.Examples.OneOpenDoor.pipe 2>&1)