Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ZonalFlow.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: translateModel(IBPSA.Airflow.Multizone.Examples.ZonalFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ZonalFlow") translateModel(IBPSA.Airflow.Multizone.Examples.ZonalFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ZonalFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001319/0.001319, allocations: 108.6 kB / 16.41 MB, free: 6.473 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.001463/0.001463, allocations: 189.2 kB / 17.34 MB, free: 5.754 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.344/1.344, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7008/0.7008, allocations: 115.3 MB / 406.5 MB, free: 6.152 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001221/0.001221, allocations: 66.34 kB / 0.5577 GB, free: 32.23 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1331/0.1343, allocations: 76.18 MB / 0.6321 GB, free: 4.402 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.Examples.ZonalFlow): time 0.5387/0.673, allocations: 204.1 MB / 0.8314 GB, free: 6.961 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.009762/0.6828, allocations: 6.38 MB / 0.8376 GB, free: 3.934 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001872/0.6847, allocations: 39.5 kB / 0.8377 GB, free: 3.922 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002024/0.6868, allocations: 0.7257 MB / 0.8384 GB, free: 3.406 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.006719/0.6936, allocations: 2.679 MB / 0.841 GB, free: 1.547 MB / 0.5919 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/Airflow/Multizone/ZonalFlow_ACS.mo:29:3-37:11:writable] Warning: initial() may only be used as a when condition (when initial() or when {..., initial(), ...}), but got condition 'zonFlo.useDefaultProperties and initial()'. Notification: Performance of NFTyping.typeClassSections: time 0.001923/0.6955, allocations: 0.7044 MB / 0.8417 GB, free: 0.9883 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.00405/0.6996, allocations: 3.272 MB / 0.8449 GB, free: 15.12 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001449/0.701, allocations: 1.148 MB / 0.846 GB, free: 14.43 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002175/0.7032, allocations: 1.259 MB / 0.8472 GB, free: 13.73 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001905/0.7051, allocations: 1.094 MB / 0.8483 GB, free: 13.1 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001732/0.7053, allocations: 132.1 kB / 0.8484 GB, free: 13.1 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004611/0.7099, allocations: 2.367 MB / 0.8507 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0005763/0.7105, allocations: 0.5151 MB / 0.8513 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000889/0.7114, allocations: 0.7333 MB / 0.852 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0053/0.7167, allocations: 2.8 MB / 0.8547 GB, free: 8.418 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.7168, allocations: 0 / 0.8547 GB, free: 8.418 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.563e-06/0.7168, allocations: 0 / 0.8547 GB, free: 8.418 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.087e-05/0.7168, allocations: 0 / 0.8547 GB, free: 8.418 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: 265 * Number of variables: 265 Notification: Performance of Generate backend data structure: time 0.004085/0.7209, allocations: 1.773 MB / 0.8564 GB, free: 6.59 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.7209, allocations: 12.03 kB / 0.8564 GB, free: 6.578 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002292/0.7232, allocations: 342.2 kB / 0.8568 GB, free: 6.242 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001482/0.7247, allocations: 0.8856 MB / 0.8576 GB, free: 5.309 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.03e-05/0.7248, allocations: 78 kB / 0.8577 GB, free: 5.23 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001596/0.725, allocations: 100 kB / 0.8578 GB, free: 5.133 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002113/0.7271, allocations: 1.191 MB / 0.859 GB, free: 3.91 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.733e-05/0.7271, allocations: 0 / 0.859 GB, free: 3.91 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001015/0.7272, allocations: 36 kB / 0.859 GB, free: 3.875 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.918e-05/0.7273, allocations: 62.06 kB / 0.8591 GB, free: 3.812 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001944/0.7293, allocations: 1.25 MB / 0.8603 GB, free: 2.555 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.006494/0.7358, allocations: 5.101 MB / 0.8653 GB, free: 13 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001512/0.7373, allocations: 1.165 MB / 0.8664 GB, free: 11.75 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007099/0.738, allocations: 0.5051 MB / 0.8669 GB, free: 11.24 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 4.976e-05/0.7381, allocations: 8.656 kB / 0.8669 GB, free: 11.23 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007609/0.7389, allocations: 488.2 kB / 0.8674 GB, free: 10.74 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=76): time 2.505e-06/0.7389, allocations: 0 / 0.8674 GB, free: 10.74 MB / 0.6231 GB Notification: Performance of matching and sorting (n=76): time 0.002022/0.7409, allocations: 1.165 MB / 0.8685 GB, free: 9.566 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.815e-05/0.741, allocations: 60.06 kB / 0.8686 GB, free: 9.496 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000794/0.7418, allocations: 0.5744 MB / 0.8691 GB, free: 8.914 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 7.517e-05/0.7419, allocations: 41.7 kB / 0.8692 GB, free: 8.867 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004155/0.7423, allocations: 459.8 kB / 0.8696 GB, free: 8.41 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004184/0.7427, allocations: 272.1 kB / 0.8699 GB, free: 8.141 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002438/0.743, allocations: 130.6 kB / 0.87 GB, free: 8.004 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0003189/0.7433, allocations: 390.8 kB / 0.8704 GB, free: 7.613 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005118/0.7438, allocations: 329.8 kB / 0.8707 GB, free: 7.293 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000607/0.7444, allocations: 444.8 kB / 0.8711 GB, free: 6.824 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001174/0.7456, allocations: 0.8278 MB / 0.8719 GB, free: 5.957 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.119e-06/0.7456, allocations: 0 / 0.8719 GB, free: 5.957 MB / 0.6231 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001691/0.7473, allocations: 0.9299 MB / 0.8728 GB, free: 5.02 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.672e-05/0.7474, allocations: 12.06 kB / 0.8728 GB, free: 5.008 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.299e-05/0.7474, allocations: 7.938 kB / 0.8728 GB, free: 5 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.59e-05/0.7474, allocations: 7.938 kB / 0.8728 GB, free: 4.992 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007225/0.7481, allocations: 160.9 kB / 0.873 GB, free: 4.836 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.28e-05/0.7482, allocations: 4 kB / 0.873 GB, free: 4.832 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007516/0.7489, allocations: 59.38 kB / 0.8731 GB, free: 4.773 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.997e-05/0.749, allocations: 28 kB / 0.8731 GB, free: 4.746 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 91 * 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.0007033/0.7497, allocations: 328.7 kB / 0.8734 GB, free: 4.418 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001261/0.7498, allocations: 87.06 kB / 0.8735 GB, free: 4.332 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002736/0.7501, allocations: 107.7 kB / 0.8736 GB, free: 4.223 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.727e-05/0.7501, allocations: 11.94 kB / 0.8736 GB, free: 4.211 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.806e-06/0.7501, allocations: 0 / 0.8736 GB, free: 4.211 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001936/0.7521, allocations: 1.089 MB / 0.8747 GB, free: 3.035 MB / 0.6231 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 postOpt removeSimpleEquations (simulation): time 0.004958/0.7571, allocations: 2.31 MB / 0.8769 GB, free: 0.6406 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.574e-06/0.7571, allocations: 0.875 kB / 0.8769 GB, free: 0.6406 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001251/0.7583, allocations: 175.9 kB / 0.8771 GB, free: 480 kB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.319e-05/0.7584, allocations: 4 kB / 0.8771 GB, free: 476 kB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.039e-05/0.7585, allocations: 19.98 kB / 0.8771 GB, free: 456 kB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.145e-06/0.7585, allocations: 3.938 kB / 0.8771 GB, free: 452 kB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.55e-06/0.7585, allocations: 4 kB / 0.8771 GB, free: 448 kB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003049/0.7615, allocations: 1.359 MB / 0.8784 GB, free: 15.05 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006634/0.7622, allocations: 256 kB / 0.8787 GB, free: 14.79 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001558/0.7624, allocations: 16 kB / 0.8787 GB, free: 14.77 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009053/0.7633, allocations: 19.98 kB / 0.8787 GB, free: 14.75 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001997/0.7635, allocations: 44.59 kB / 0.8788 GB, free: 14.71 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.188e-05/0.7636, allocations: 20 kB / 0.8788 GB, free: 14.69 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0008034/0.7644, allocations: 415 kB / 0.8792 GB, free: 14.29 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.61e-07/0.7644, allocations: 3.938 kB / 0.8792 GB, free: 14.28 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001517/0.766, allocations: 367.1 kB / 0.8795 GB, free: 13.92 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (rooA.dynBal.medium.Xi[1],rooA.dynBal.U,rooA.dynBal.m,rooB.dynBal.medium.Xi[1],rooB.dynBal.U,rooB.dynBal.m) * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 76 * 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 Backend phase and start with SimCode phase: time 0.0004146/0.7664, allocations: 179.1 kB / 0.8797 GB, free: 13.74 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.00183/0.7682, allocations: 0.8097 MB / 0.8805 GB, free: 12.93 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/0.7683, allocations: 0 / 0.8805 GB, free: 12.93 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0009469/0.7692, allocations: 423.5 kB / 0.8809 GB, free: 12.52 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004025/0.7733, allocations: 0.5907 MB / 0.8815 GB, free: 11.94 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00575/0.779, allocations: 2.168 MB / 0.8836 GB, free: 9.738 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001154/0.7802, allocations: 1.147 MB / 0.8847 GB, free: 8.566 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001694/0.7819, allocations: 271.2 kB / 0.885 GB, free: 8.297 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004032/0.7824, allocations: 71.42 kB / 0.885 GB, free: 8.227 MB / 0.6387 GB Notification: Performance of SimCode: time 9.02e-07/0.7824, allocations: 0 / 0.885 GB, free: 8.227 MB / 0.6387 GB Notification: Performance of Templates: time 0.04124/0.8236, allocations: 19.24 MB / 0.9038 GB, free: 5.199 MB / 0.6544 GB make -j1 -f IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ZonalFlow.makefile (rm -f IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ZonalFlow.sim & ./IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ZonalFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1)