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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001772/0.001772, allocations: 183 kB / 15.98 MB, free: 5.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7509/0.7509, allocations: 133.3 MB / 150.1 MB, free: 11.18 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.333/1.333, allocations: 222.9 MB / 404.7 MB, free: 6.113 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001033/0.001033, allocations: 107.5 kB / 485.9 MB, free: 7.23 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009827/0.0009829, allocations: 51.92 kB / 0.5636 GB, free: 69.95 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1123/0.1133, allocations: 80.43 MB / 0.6421 GB, free: 5.449 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.ZonalFlow): time 0.4301/0.5434, allocations: 201.9 MB / 0.8393 GB, free: 7.18 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.008795/0.5523, allocations: 6.436 MB / 0.8456 GB, free: 0.7266 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00104/0.5533, allocations: 31.81 kB / 0.8457 GB, free: 0.6953 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.001634/0.555, allocations: 0.6454 MB / 0.8463 GB, free: 48 kB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.005304/0.5603, allocations: 2.515 MB / 0.8487 GB, free: 13.52 MB / 0.5886 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.001491/0.5618, allocations: 0.6266 MB / 0.8494 GB, free: 12.91 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.004492/0.5663, allocations: 4.854 MB / 0.8541 GB, free: 8.035 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00129/0.5676, allocations: 0.9646 MB / 0.855 GB, free: 7.055 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001811/0.5695, allocations: 1.089 MB / 0.8561 GB, free: 5.961 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002293/0.5718, allocations: 1.158 MB / 0.8572 GB, free: 4.805 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 0.0002024/0.572, allocations: 72 kB / 0.8573 GB, free: 4.734 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004192/0.5762, allocations: 2.723 MB / 0.86 GB, free: 2.004 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0005412/0.5767, allocations: 470.7 kB / 0.8604 GB, free: 1.543 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0009164/0.5777, allocations: 0.6766 MB / 0.8611 GB, free: 0.8633 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.003688/0.5814, allocations: 2.898 MB / 0.8639 GB, free: 13.96 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.5814, allocations: 0 / 0.8639 GB, free: 13.96 MB / 0.6042 GB Notification: Performance of FrontEnd: time 7.41e-07/0.5814, allocations: 0 / 0.8639 GB, free: 13.96 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.704e-05/0.5814, allocations: 0 / 0.8639 GB, free: 13.96 MB / 0.6042 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.00413/0.5856, allocations: 1.777 MB / 0.8656 GB, free: 12.12 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.514e-05/0.5856, allocations: 8.031 kB / 0.8656 GB, free: 12.12 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002172/0.5878, allocations: 346.1 kB / 0.866 GB, free: 11.78 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001469/0.5893, allocations: 0.8428 MB / 0.8668 GB, free: 10.89 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.08e-05/0.5893, allocations: 74.02 kB / 0.8669 GB, free: 10.81 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001586/0.5895, allocations: 103.9 kB / 0.867 GB, free: 10.71 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001867/0.5914, allocations: 1.191 MB / 0.8681 GB, free: 9.488 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.401e-05/0.5914, allocations: 0 / 0.8681 GB, free: 9.488 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.604e-05/0.5915, allocations: 36 kB / 0.8682 GB, free: 9.453 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-05/0.5916, allocations: 62.06 kB / 0.8682 GB, free: 9.391 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00217/0.5938, allocations: 1.249 MB / 0.8694 GB, free: 8.133 MB / 0.6042 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.006542/0.6003, allocations: 5.054 MB / 0.8744 GB, free: 2.621 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001419/0.6017, allocations: 1.147 MB / 0.8755 GB, free: 1.395 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007086/0.6025, allocations: 0.505 MB / 0.876 GB, free: 0.8867 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 6.555e-05/0.6025, allocations: 20.8 kB / 0.876 GB, free: 0.8672 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007034/0.6033, allocations: 492.1 kB / 0.8765 GB, free: 384 kB / 0.6042 GB Notification: Performance of pre-optimization done (n=76): time 2.815e-06/0.6033, allocations: 0 / 0.8765 GB, free: 384 kB / 0.6042 GB Notification: Performance of matching and sorting (n=76): time 0.00194/0.6052, allocations: 1.149 MB / 0.8776 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.884e-05/0.6053, allocations: 60.06 kB / 0.8777 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006798/0.606, allocations: 0.5744 MB / 0.8782 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.403e-05/0.606, allocations: 45.7 kB / 0.8783 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.000291/0.6063, allocations: 463.7 kB / 0.8787 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002323/0.6066, allocations: 268 kB / 0.879 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002043/0.6068, allocations: 134.6 kB / 0.8791 GB, free: 13.65 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001554/0.6069, allocations: 382.8 kB / 0.8795 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005274/0.6075, allocations: 333.8 kB / 0.8798 GB, free: 12.94 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005652/0.6081, allocations: 458.5 kB / 0.8802 GB, free: 12.45 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001072/0.6091, allocations: 0.8233 MB / 0.881 GB, free: 11.59 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.656e-06/0.6091, allocations: 7.938 kB / 0.881 GB, free: 11.58 MB / 0.6198 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001368/0.6105, allocations: 0.9257 MB / 0.8819 GB, free: 10.64 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.6105, allocations: 4 kB / 0.8819 GB, free: 10.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.508e-06/0.6106, allocations: 7.938 kB / 0.8819 GB, free: 10.63 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/0.6106, allocations: 4 kB / 0.8819 GB, free: 10.63 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006838/0.6113, allocations: 152.2 kB / 0.8821 GB, free: 10.48 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.477e-05/0.6113, allocations: 15.98 kB / 0.8821 GB, free: 10.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009875/0.6123, allocations: 137.4 kB / 0.8822 GB, free: 10.33 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.15e-05/0.6124, allocations: 32 kB / 0.8823 GB, free: 10.3 MB / 0.6198 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.0004054/0.6128, allocations: 325.8 kB / 0.8826 GB, free: 9.973 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001353/0.6129, allocations: 87 kB / 0.8827 GB, free: 9.887 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002442/0.6132, allocations: 107.7 kB / 0.8828 GB, free: 9.777 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.943e-06/0.6132, allocations: 8 kB / 0.8828 GB, free: 9.77 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.094e-06/0.6132, allocations: 3.984 kB / 0.8828 GB, free: 9.766 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001203/0.6144, allocations: 1.085 MB / 0.8838 GB, free: 8.594 MB / 0.6198 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.003298/0.6177, allocations: 2.305 MB / 0.8861 GB, free: 6.199 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.6177, allocations: 0 / 0.8861 GB, free: 6.199 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000855/0.6186, allocations: 179.8 kB / 0.8862 GB, free: 6.023 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.743e-06/0.6186, allocations: 8.031 kB / 0.8863 GB, free: 6.016 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.098e-05/0.6187, allocations: 15.98 kB / 0.8863 GB, free: 6 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.649e-06/0.6187, allocations: 4 kB / 0.8863 GB, free: 5.996 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.6187, allocations: 0 / 0.8863 GB, free: 5.996 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008935/0.6276, allocations: 5.972 MB / 0.8921 GB, free: 15.88 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004125/0.628, allocations: 248 kB / 0.8923 GB, free: 15.61 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.204e-05/0.6281, allocations: 19.94 kB / 0.8924 GB, free: 15.59 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007894/0.6289, allocations: 107.7 kB / 0.8925 GB, free: 15.49 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.145e-05/0.629, allocations: 48.59 kB / 0.8925 GB, free: 15.44 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.392e-05/0.6291, allocations: 27.98 kB / 0.8925 GB, free: 15.41 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0004419/0.6296, allocations: 407.1 kB / 0.8929 GB, free: 15.02 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2.41e-07/0.6296, allocations: 0 / 0.8929 GB, free: 15.02 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.002003/0.6316, allocations: 0.5302 MB / 0.8934 GB, free: 14.49 MB / 0.6355 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.0002483/0.6318, allocations: 176.3 kB / 0.8936 GB, free: 14.31 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001131/0.633, allocations: 0.7987 MB / 0.8944 GB, free: 13.51 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/0.633, allocations: 3.938 kB / 0.8944 GB, free: 13.5 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0005406/0.6335, allocations: 431.6 kB / 0.8948 GB, free: 13.08 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002644/0.6362, allocations: 0.5536 MB / 0.8953 GB, free: 12.54 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003723/0.6399, allocations: 3.093 MB / 0.8984 GB, free: 9.395 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007339/0.6407, allocations: 1.156 MB / 0.8995 GB, free: 8.211 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0009936/0.6417, allocations: 287.1 kB / 0.8998 GB, free: 7.926 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00028/0.642, allocations: 83.42 kB / 0.8999 GB, free: 7.844 MB / 0.6355 GB Notification: Performance of SimCode: time 2.4e-07/0.642, allocations: 0 / 0.8999 GB, free: 7.844 MB / 0.6355 GB Notification: Performance of Templates: time 0.03004/0.672, allocations: 20.47 MB / 0.9198 GB, free: 3.574 MB / 0.6511 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)