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.00122/0.00122, allocations: 116.8 kB / 16.37 MB, free: 6 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.001163/0.001163, allocations: 193.5 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.206/1.206, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7279/0.7279, allocations: 135.1 MB / 426.3 MB, free: 4.152 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001162/0.001163, allocations: 67.89 kB / 0.5068 GB, free: 7.688 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2923/0.2934, allocations: 80.91 MB / 0.5858 GB, free: 25.41 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.ZonalFlow): time 0.4252/0.7187, allocations: 204.1 MB / 0.7851 GB, free: 1.52 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.007138/0.7259, allocations: 6.366 MB / 0.7913 GB, free: 1.449 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006878/0.7266, allocations: 36.97 kB / 0.7914 GB, free: 1.449 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001335/0.728, allocations: 0.7291 MB / 0.7921 GB, free: 1.434 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004276/0.7323, allocations: 2.668 MB / 0.7947 GB, free: 1.324 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.001153/0.7335, allocations: 0.7153 MB / 0.7954 GB, free: 1.305 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00234/0.7358, allocations: 3.269 MB / 0.7986 GB, free: 1.297 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009739/0.7368, allocations: 1.142 MB / 0.7997 GB, free: 1.188 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001254/0.7381, allocations: 1.254 MB / 0.8009 GB, free: 1.184 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001307/0.7394, allocations: 1.099 MB / 0.802 GB, free: 1.176 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001325/0.7395, allocations: 128.1 kB / 0.8021 GB, free: 1.176 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003038/0.7426, allocations: 2.351 MB / 0.8044 GB, free: 1.156 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003677/0.7429, allocations: 0.5171 MB / 0.8049 GB, free: 1.133 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0005683/0.7435, allocations: 0.7424 MB / 0.8056 GB, free: 0.9531 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002443/0.746, allocations: 2.797 MB / 0.8084 GB, free: 0.6641 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.746, allocations: 0 / 0.8084 GB, free: 0.6641 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.363e-06/0.746, allocations: 0.8438 kB / 0.8084 GB, free: 0.6641 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.26e-05/0.746, allocations: 0 / 0.8084 GB, free: 0.6641 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.003173/0.7492, allocations: 1.767 MB / 0.8101 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 2.954e-05/0.7492, allocations: 13.81 kB / 0.8101 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001952/0.7512, allocations: 347.2 kB / 0.8104 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001302/0.7525, allocations: 0.8747 MB / 0.8113 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.703e-05/0.7526, allocations: 80.72 kB / 0.8114 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001401/0.7527, allocations: 104.8 kB / 0.8115 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001529/0.7542, allocations: 1.195 MB / 0.8126 GB, free: 15.35 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.462e-05/0.7543, allocations: 5.188 kB / 0.8126 GB, free: 15.35 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.58e-05/0.7544, allocations: 40.72 kB / 0.8127 GB, free: 15.35 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.264e-05/0.7544, allocations: 59.69 kB / 0.8127 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001473/0.7559, allocations: 1.243 MB / 0.814 GB, free: 15.33 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.005232/0.7611, allocations: 5.083 MB / 0.8189 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001165/0.7623, allocations: 1.139 MB / 0.82 GB, free: 12.44 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006513/0.763, allocations: 0.506 MB / 0.8205 GB, free: 12.42 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 5.601e-05/0.763, allocations: 19.78 kB / 0.8205 GB, free: 12.42 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005565/0.7636, allocations: 486.1 kB / 0.821 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=76): time 2.054e-06/0.7636, allocations: 1.062 kB / 0.821 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of matching and sorting (n=76): time 0.00155/0.7652, allocations: 1.157 MB / 0.8221 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.002e-05/0.7652, allocations: 62.67 kB / 0.8222 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005721/0.7658, allocations: 0.5804 MB / 0.8228 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.85e-05/0.7659, allocations: 42.7 kB / 0.8228 GB, free: 12 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002729/0.7661, allocations: 454.5 kB / 0.8232 GB, free: 11.65 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002046/0.7664, allocations: 274.3 kB / 0.8235 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002029/0.7666, allocations: 132.6 kB / 0.8236 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001467/0.7667, allocations: 385 kB / 0.824 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000436/0.7672, allocations: 331.2 kB / 0.8243 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005186/0.7677, allocations: 457.5 kB / 0.8247 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000973/0.7687, allocations: 0.8269 MB / 0.8256 GB, free: 10.24 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.7687, allocations: 2.25 kB / 0.8256 GB, free: 10.24 MB / 0.5919 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.00115/0.7698, allocations: 0.9259 MB / 0.8265 GB, free: 9.836 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.7699, allocations: 8.844 kB / 0.8265 GB, free: 9.832 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.7699, allocations: 3.469 kB / 0.8265 GB, free: 9.832 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.7699, allocations: 7.844 kB / 0.8265 GB, free: 9.832 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005838/0.7705, allocations: 155.3 kB / 0.8266 GB, free: 9.809 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.268e-05/0.7705, allocations: 12.11 kB / 0.8266 GB, free: 9.805 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006319/0.7711, allocations: 63.75 kB / 0.8267 GB, free: 9.758 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.593e-05/0.7712, allocations: 27.69 kB / 0.8267 GB, free: 9.75 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.0003743/0.7716, allocations: 334.2 kB / 0.827 GB, free: 9.516 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001092/0.7717, allocations: 82.5 kB / 0.8271 GB, free: 9.473 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001788/0.7719, allocations: 111.9 kB / 0.8272 GB, free: 9.379 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.701e-06/0.7719, allocations: 6.125 kB / 0.8272 GB, free: 9.379 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.279e-05/0.7719, allocations: 8.641 kB / 0.8272 GB, free: 9.371 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001151/0.7731, allocations: 1.08 MB / 0.8283 GB, free: 8.578 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.002852/0.7759, allocations: 2.304 MB / 0.8305 GB, free: 7.008 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.7759, allocations: 0 / 0.8305 GB, free: 7.008 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007768/0.7767, allocations: 178.1 kB / 0.8307 GB, free: 6.98 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.3e-06/0.7767, allocations: 9.469 kB / 0.8307 GB, free: 6.977 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.757e-05/0.7768, allocations: 22.36 kB / 0.8307 GB, free: 6.961 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.867e-06/0.7768, allocations: 2.062 kB / 0.8308 GB, free: 6.961 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.7768, allocations: 0.8438 kB / 0.8308 GB, free: 6.961 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001671/0.7785, allocations: 1.486 MB / 0.8322 GB, free: 6.121 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003801/0.7789, allocations: 257.4 kB / 0.8324 GB, free: 5.906 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.764e-05/0.779, allocations: 17.94 kB / 0.8325 GB, free: 5.895 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005555/0.7795, allocations: 23.02 kB / 0.8325 GB, free: 5.879 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.797e-05/0.7796, allocations: 42.56 kB / 0.8325 GB, free: 5.855 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.912e-05/0.7797, allocations: 20.28 kB / 0.8325 GB, free: 5.852 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003997/0.7801, allocations: 427 kB / 0.833 GB, free: 5.602 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7801, allocations: 0.6562 kB / 0.833 GB, free: 5.602 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0007068/0.7808, allocations: 361.2 kB / 0.8333 GB, free: 5.535 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.0002344/0.781, allocations: 178.6 kB / 0.8335 GB, free: 5.422 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001023/0.7821, allocations: 0.809 MB / 0.8343 GB, free: 4.801 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.7821, allocations: 0 / 0.8343 GB, free: 4.801 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0005057/0.7826, allocations: 431.4 kB / 0.8347 GB, free: 4.395 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002124/0.7847, allocations: 0.588 MB / 0.8352 GB, free: 3.832 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002657/0.7874, allocations: 2.164 MB / 0.8374 GB, free: 1.648 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006217/0.788, allocations: 1.136 MB / 0.8385 GB, free: 496 kB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0007006/0.7887, allocations: 271.2 kB / 0.8387 GB, free: 220 kB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002072/0.789, allocations: 75.42 kB / 0.8388 GB, free: 144 kB / 0.5919 GB Notification: Performance of SimCode: time 2.2e-07/0.789, allocations: 0 / 0.8388 GB, free: 144 kB / 0.5919 GB Notification: Performance of Templates: time 0.02546/0.8144, allocations: 19.15 MB / 0.8575 GB, free: 13.3 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 gbode -lv LOG_STATS > IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1)