Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Airflow.Multizone.Examples.ZonalFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ZonalFlow") translateModel(IDEAS.Airflow.Multizone.Examples.ZonalFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.00116/0.00116, allocations: 115.5 kB / 16.37 MB, free: 6.004 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.001066/0.001067, allocations: 195.6 kB / 17.31 MB, free: 5.613 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.339/1.339, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8135/0.8135, allocations: 135.1 MB / 426.3 MB, free: 4.121 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001225, allocations: 59.91 kB / 0.5067 GB, free: 7.652 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3594/0.3606, allocations: 80.91 MB / 0.5858 GB, free: 25.52 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.ZonalFlow): time 0.5951/0.9557, allocations: 204.1 MB / 0.7851 GB, free: 1.496 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.009119/0.9649, allocations: 6.359 MB / 0.7913 GB, free: 1.43 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001873/0.9668, allocations: 39.12 kB / 0.7914 GB, free: 1.43 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001955/0.9689, allocations: 0.7281 MB / 0.7921 GB, free: 1.414 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006831/0.9757, allocations: 2.675 MB / 0.7947 GB, free: 1.305 MB / 0.5762 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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.002102/0.9778, allocations: 0.7131 MB / 0.7954 GB, free: 1.281 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004933/0.9828, allocations: 3.275 MB / 0.7986 GB, free: 1.273 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001723/0.9845, allocations: 1.144 MB / 0.7997 GB, free: 1.164 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002799/0.9873, allocations: 1.246 MB / 0.8009 GB, free: 1.16 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002619/0.99, allocations: 1.1 MB / 0.802 GB, free: 1.152 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002352/0.9902, allocations: 131.6 kB / 0.8021 GB, free: 1.152 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005319/0.9955, allocations: 2.351 MB / 0.8044 GB, free: 1.133 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0006732/0.9962, allocations: 0.5135 MB / 0.8049 GB, free: 1.109 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001188/0.9974, allocations: 0.7414 MB / 0.8056 GB, free: 0.9297 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.005237/1.003, allocations: 2.799 MB / 0.8084 GB, free: 0.6406 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/1.003, allocations: 0 / 0.8084 GB, free: 0.6406 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.082e-06/1.003, allocations: 0 / 0.8084 GB, free: 0.6406 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.038e-05/1.003, allocations: 1 kB / 0.8084 GB, free: 0.6406 MB / 0.5762 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.004454/1.007, allocations: 1.774 MB / 0.8101 GB, free: 15.81 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.438e-05/1.007, allocations: 11.86 kB / 0.8101 GB, free: 15.81 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002178/1.009, allocations: 349 kB / 0.8105 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001743/1.011, allocations: 0.8708 MB / 0.8113 GB, free: 15.42 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.24e-05/1.011, allocations: 78.09 kB / 0.8114 GB, free: 15.42 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001788/1.012, allocations: 106.5 kB / 0.8115 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001968/1.013, allocations: 1.193 MB / 0.8126 GB, free: 15.33 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.842e-05/1.014, allocations: 4 kB / 0.8126 GB, free: 15.33 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.803e-05/1.014, allocations: 41 kB / 0.8127 GB, free: 15.33 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.77e-05/1.014, allocations: 58.94 kB / 0.8127 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001654/1.015, allocations: 1.243 MB / 0.814 GB, free: 15.31 MB / 0.5919 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.006673/1.022, allocations: 5.086 MB / 0.8189 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001302/1.023, allocations: 1.14 MB / 0.82 GB, free: 12.42 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006295/1.024, allocations: 0.5052 MB / 0.8205 GB, free: 12.4 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 6.055e-05/1.024, allocations: 19.83 kB / 0.8205 GB, free: 12.4 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00065/1.025, allocations: 480.6 kB / 0.821 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=76): time 4.428e-06/1.025, allocations: 2.812 kB / 0.821 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of matching and sorting (n=76): time 0.001858/1.027, allocations: 1.155 MB / 0.8221 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.339e-05/1.027, allocations: 65.11 kB / 0.8222 GB, free: 12.19 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007071/1.027, allocations: 0.5777 MB / 0.8228 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.235e-05/1.027, allocations: 42.83 kB / 0.8228 GB, free: 11.97 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003207/1.028, allocations: 460.9 kB / 0.8232 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002586/1.028, allocations: 268.8 kB / 0.8235 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002178/1.028, allocations: 133.5 kB / 0.8236 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001897/1.028, allocations: 384.5 kB / 0.824 GB, free: 11 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004646/1.029, allocations: 331.6 kB / 0.8243 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005202/1.029, allocations: 462 kB / 0.8247 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001038/1.031, allocations: 0.8261 MB / 0.8256 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/1.031, allocations: 0 / 0.8256 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001267/1.032, allocations: 0.9232 MB / 0.8265 GB, free: 9.781 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.32e-05/1.032, allocations: 11.53 kB / 0.8265 GB, free: 9.777 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.248e-06/1.032, allocations: 3.594 kB / 0.8265 GB, free: 9.777 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.903e-05/1.032, allocations: 5.75 kB / 0.8265 GB, free: 9.777 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000653/1.033, allocations: 159.5 kB / 0.8266 GB, free: 9.75 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.328e-05/1.033, allocations: 10.28 kB / 0.8266 GB, free: 9.75 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000717/1.033, allocations: 64.72 kB / 0.8267 GB, free: 9.703 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.788e-05/1.033, allocations: 21.66 kB / 0.8267 GB, free: 9.699 MB / 0.5919 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.0004416/1.034, allocations: 330.6 kB / 0.827 GB, free: 9.465 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00012/1.034, allocations: 96.12 kB / 0.8271 GB, free: 9.41 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002148/1.034, allocations: 110.2 kB / 0.8272 GB, free: 9.316 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.852e-06/1.034, allocations: 7.469 kB / 0.8272 GB, free: 9.316 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.204e-05/1.034, allocations: 1.062 kB / 0.8272 GB, free: 9.316 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00116/1.035, allocations: 1.085 MB / 0.8283 GB, free: 8.52 MB / 0.5919 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.003343/1.039, allocations: 2.301 MB / 0.8305 GB, free: 6.953 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/1.039, allocations: 7.484 kB / 0.8306 GB, free: 6.949 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000802/1.04, allocations: 174 kB / 0.8307 GB, free: 6.922 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.492e-06/1.04, allocations: 3.938 kB / 0.8307 GB, free: 6.922 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.935e-05/1.04, allocations: 17.66 kB / 0.8307 GB, free: 6.91 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.48e-06/1.04, allocations: 3.625 kB / 0.8307 GB, free: 6.91 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.514e-06/1.04, allocations: 2.969 kB / 0.8307 GB, free: 6.91 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001764/1.041, allocations: 1.488 MB / 0.8322 GB, free: 6.066 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004147/1.042, allocations: 254 kB / 0.8324 GB, free: 5.855 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001014/1.042, allocations: 15.5 kB / 0.8325 GB, free: 5.844 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005805/1.042, allocations: 24.17 kB / 0.8325 GB, free: 5.828 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.679e-05/1.043, allocations: 42.84 kB / 0.8325 GB, free: 5.805 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.402e-05/1.043, allocations: 25.8 kB / 0.8325 GB, free: 5.797 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004373/1.043, allocations: 419.2 kB / 0.8329 GB, free: 5.555 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.104e-06/1.043, allocations: 0 / 0.8329 GB, free: 5.555 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.00085/1.044, allocations: 373 kB / 0.8333 GB, free: 5.48 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (rooA.dynBal.U,rooA.dynBal.m,rooA.dynBal.mXi[1],rooB.dynBal.U,rooB.dynBal.m,rooB.dynBal.mXi[1]) * 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.0002693/1.044, allocations: 180 kB / 0.8335 GB, free: 5.359 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001097/1.045, allocations: 0.8086 MB / 0.8343 GB, free: 4.746 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.24e-06/1.045, allocations: 4 kB / 0.8343 GB, free: 4.742 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0005141/1.046, allocations: 427.5 kB / 0.8347 GB, free: 4.34 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002196/1.048, allocations: 0.5828 MB / 0.8352 GB, free: 3.785 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003045/1.051, allocations: 2.162 MB / 0.8374 GB, free: 1.602 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006619/1.052, allocations: 1.136 MB / 0.8385 GB, free: 448 kB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0008218/1.053, allocations: 275.1 kB / 0.8387 GB, free: 168 kB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002213/1.053, allocations: 79.42 kB / 0.8388 GB, free: 88 kB / 0.5919 GB Notification: Performance of SimCode: time 9.11e-07/1.053, allocations: 0 / 0.8388 GB, free: 88 kB / 0.5919 GB Notification: Performance of Templates: time 0.03003/1.083, allocations: 19.13 MB / 0.8575 GB, free: 13.26 MB / 0.6231 GB make -j1 -f IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ZonalFlow.makefile (rm -f IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ZonalFlow.sim & ./IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ZonalFlow -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1)