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.001459/0.001459, allocations: 112.4 kB / 15.99 MB, free: 5.91 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.001486/0.001486, allocations: 196 kB / 16.91 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.41/1.41, allocations: 222.9 MB / 240.6 MB, free: 13.71 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8823/0.8823, allocations: 135.1 MB / 425.9 MB, free: 4.25 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001486/0.001486, allocations: 71.88 kB / 0.5055 GB, free: 8.66 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4165/0.418, allocations: 80.91 MB / 0.5845 GB, free: 24.88 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.ZonalFlow): time 0.6439/1.062, allocations: 201.6 MB / 0.7813 GB, free: 1.594 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0102/1.072, allocations: 6.32 MB / 0.7875 GB, free: 1.531 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002127/1.074, allocations: 30.78 kB / 0.7875 GB, free: 1.531 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002051/1.076, allocations: 0.666 MB / 0.7882 GB, free: 1.516 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.007451/1.084, allocations: 2.517 MB / 0.7907 GB, free: 1.395 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.001919/1.086, allocations: 0.6434 MB / 0.7913 GB, free: 1.383 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004382/1.09, allocations: 3.272 MB / 0.7945 GB, free: 1.371 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001631/1.092, allocations: 1.111 MB / 0.7956 GB, free: 1.27 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002988/1.095, allocations: 1.26 MB / 0.7968 GB, free: 1.27 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002814/1.098, allocations: 1.178 MB / 0.7979 GB, free: 1.258 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002426/1.098, allocations: 126.4 kB / 0.7981 GB, free: 1.258 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005148/1.103, allocations: 2.472 MB / 0.8005 GB, free: 1.234 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0007075/1.104, allocations: 0.5174 MB / 0.801 GB, free: 1.23 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001305/1.105, allocations: 0.7403 MB / 0.8017 GB, free: 1.078 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004073/1.109, allocations: 2.082 MB / 0.8037 GB, free: 0.9375 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 9.328e-06/1.109, allocations: 2.125 kB / 0.8037 GB, free: 0.9375 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.226e-06/1.109, allocations: 1.031 kB / 0.8037 GB, free: 0.9375 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.096e-05/1.109, allocations: 0 / 0.8037 GB, free: 0.9375 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.005197/1.115, allocations: 1.771 MB / 0.8055 GB, free: 16.11 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.616e-05/1.115, allocations: 11.83 kB / 0.8055 GB, free: 16.11 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002318/1.117, allocations: 348.8 kB / 0.8058 GB, free: 16.04 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00145/1.118, allocations: 0.8389 MB / 0.8066 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.869e-05/1.119, allocations: 74.86 kB / 0.8067 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000164/1.119, allocations: 114.3 kB / 0.8068 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002011/1.121, allocations: 1.184 MB / 0.808 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.187e-05/1.121, allocations: 5.266 kB / 0.808 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001118/1.121, allocations: 44.97 kB / 0.808 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.515e-05/1.121, allocations: 62.09 kB / 0.8081 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001988/1.123, allocations: 1.241 MB / 0.8093 GB, free: 15.6 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.006755/1.13, allocations: 5.046 MB / 0.8142 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0016/1.131, allocations: 1.143 MB / 0.8153 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007334/1.132, allocations: 0.5059 MB / 0.8158 GB, free: 12.69 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 6.822e-05/1.132, allocations: 18.59 kB / 0.8158 GB, free: 12.69 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007908/1.133, allocations: 485.2 kB / 0.8163 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=76): time 3.367e-06/1.133, allocations: 0.7812 kB / 0.8163 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of matching and sorting (n=76): time 0.002146/1.135, allocations: 1.155 MB / 0.8174 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.322e-05/1.135, allocations: 64.86 kB / 0.8175 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008137/1.136, allocations: 0.5842 MB / 0.8181 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.501e-05/1.136, allocations: 41.8 kB / 0.8181 GB, free: 12.31 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003974/1.137, allocations: 456.6 kB / 0.8185 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003341/1.137, allocations: 273.4 kB / 0.8188 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002377/1.137, allocations: 133.8 kB / 0.8189 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002365/1.137, allocations: 383.8 kB / 0.8193 GB, free: 11.58 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005032/1.138, allocations: 326.9 kB / 0.8196 GB, free: 11.58 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006546/1.139, allocations: 465.5 kB / 0.8201 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001253/1.14, allocations: 0.8255 MB / 0.8209 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/1.14, allocations: 1.906 kB / 0.8209 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001678/1.142, allocations: 0.9256 MB / 0.8218 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.422e-05/1.142, allocations: 7.641 kB / 0.8218 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.331e-05/1.142, allocations: 6.281 kB / 0.8218 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.656e-05/1.142, allocations: 5.562 kB / 0.8218 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000723/1.142, allocations: 155.8 kB / 0.8219 GB, free: 10.92 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.885e-05/1.142, allocations: 6 kB / 0.8219 GB, free: 10.92 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001334/1.144, allocations: 133.8 kB / 0.8221 GB, free: 10.87 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.124e-05/1.144, allocations: 30.69 kB / 0.8221 GB, free: 10.86 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.000727/1.145, allocations: 333.3 kB / 0.8224 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002089/1.145, allocations: 81.44 kB / 0.8225 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000281/1.145, allocations: 105.8 kB / 0.8226 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.339e-05/1.145, allocations: 12.38 kB / 0.8226 GB, free: 10.53 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.181e-05/1.145, allocations: 0 / 0.8226 GB, free: 10.53 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001402/1.146, allocations: 1.087 MB / 0.8237 GB, free: 9.812 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.003798/1.15, allocations: 2.309 MB / 0.8259 GB, free: 8.625 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/1.15, allocations: 0 / 0.8259 GB, free: 8.625 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008726/1.151, allocations: 181.1 kB / 0.8261 GB, free: 8.617 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-05/1.151, allocations: 3.281 kB / 0.8261 GB, free: 8.617 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.827e-05/1.151, allocations: 16.88 kB / 0.8261 GB, free: 8.609 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.699e-06/1.151, allocations: 4.344 kB / 0.8261 GB, free: 8.609 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/1.151, allocations: 0 / 0.8261 GB, free: 8.609 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002113/1.153, allocations: 1.495 MB / 0.8276 GB, free: 7.789 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005654/1.154, allocations: 251 kB / 0.8278 GB, free: 7.578 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000176/1.154, allocations: 18.22 kB / 0.8278 GB, free: 7.566 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001018/1.155, allocations: 104 kB / 0.8279 GB, free: 7.523 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000107/1.155, allocations: 50.41 kB / 0.828 GB, free: 7.496 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.1e-05/1.155, allocations: 26.7 kB / 0.828 GB, free: 7.488 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0005682/1.156, allocations: 409.3 kB / 0.8284 GB, free: 7.254 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.91e-07/1.156, allocations: 0 / 0.8284 GB, free: 7.254 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001087/1.157, allocations: 364.3 kB / 0.8287 GB, free: 7.188 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.0003366/1.157, allocations: 176.7 kB / 0.8289 GB, free: 7.066 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001871/1.159, allocations: 1.042 MB / 0.8299 GB, free: 6.68 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/1.159, allocations: 0 / 0.8299 GB, free: 6.68 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0005408/1.16, allocations: 428.3 kB / 0.8303 GB, free: 6.492 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002683/1.163, allocations: 0.5933 MB / 0.8309 GB, free: 6.129 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004095/1.167, allocations: 2.691 MB / 0.8335 GB, free: 3.414 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008481/1.168, allocations: 1.136 MB / 0.8347 GB, free: 2.25 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003139/1.168, allocations: 83.42 kB / 0.8347 GB, free: 2.168 MB / 0.5919 GB Notification: Performance of SimCode: time 1.012e-06/1.168, allocations: 0 / 0.8347 GB, free: 2.168 MB / 0.5919 GB Notification: Performance of Templates: time 0.02593/1.194, allocations: 15.95 MB / 0.8503 GB, free: 2.359 MB / 0.6075 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 -lv LOG_STATS > IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1)