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.001432/0.001433, allocations: 92.08 kB / 15.06 MB, free: 1.098 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.001728/0.001728, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.454/1.454, allocations: 223.3 MB / 240 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.977/0.977, allocations: 135.3 MB / 426.4 MB, free: 14.3 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003721/0.0003722, allocations: 9.344 kB / 0.507 GB, free: 5.176 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1951/0.1955, allocations: 82.31 MB / 0.5874 GB, free: 3.035 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.ZonalFlow): time 0.6519/0.8475, allocations: 185.9 MB / 0.7689 GB, free: 3.133 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01101/0.8585, allocations: 5.965 MB / 0.7747 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002249/0.8608, allocations: 27.81 kB / 0.7747 GB, free: 13.13 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002539/0.8634, allocations: 489.1 kB / 0.7752 GB, free: 12.65 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.008216/0.8716, allocations: 1.936 MB / 0.7771 GB, free: 10.7 MB / 0.5919 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.002089/0.8738, allocations: 0.489 MB / 0.7776 GB, free: 10.22 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.006087/0.8799, allocations: 4.026 MB / 0.7815 GB, free: 6.184 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001835/0.8817, allocations: 0.8211 MB / 0.7823 GB, free: 5.355 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003338/0.8851, allocations: 1.058 MB / 0.7833 GB, free: 4.293 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002359/0.8875, allocations: 1.059 MB / 0.7844 GB, free: 3.23 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001626/0.8876, allocations: 56 kB / 0.7844 GB, free: 3.176 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004389/0.892, allocations: 1.134 MB / 0.7855 GB, free: 2.039 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0006765/0.8927, allocations: 442.7 kB / 0.786 GB, free: 1.605 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0007479/0.8935, allocations: 289.1 kB / 0.7862 GB, free: 1.316 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003285/0.8968, allocations: 1.832 MB / 0.788 GB, free: 15.48 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 8.767e-06/0.8968, allocations: 0 / 0.788 GB, free: 15.48 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.466e-06/0.8968, allocations: 3.938 kB / 0.788 GB, free: 15.48 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.875e-05/0.8968, allocations: 0 / 0.788 GB, free: 15.48 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.004042/0.9009, allocations: 1.543 MB / 0.7895 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.127e-05/0.901, allocations: 8.031 kB / 0.7895 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002154/0.9031, allocations: 350.1 kB / 0.7899 GB, free: 13.53 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001615/0.9047, allocations: 0.8121 MB / 0.7907 GB, free: 12.68 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.654e-05/0.9048, allocations: 74.02 kB / 0.7907 GB, free: 12.6 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000166/0.905, allocations: 104 kB / 0.7908 GB, free: 12.5 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002147/0.9072, allocations: 1.183 MB / 0.792 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.148e-05/0.9072, allocations: 3.938 kB / 0.792 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001099/0.9073, allocations: 47.98 kB / 0.792 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.219e-05/0.9074, allocations: 62.06 kB / 0.7921 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002016/0.9094, allocations: 1.238 MB / 0.7933 GB, free: 9.926 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.007127/0.9166, allocations: 5.054 MB / 0.7983 GB, free: 4.414 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001437/0.918, allocations: 1.148 MB / 0.7994 GB, free: 3.184 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007331/0.9188, allocations: 0.4934 MB / 0.7999 GB, free: 2.691 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 7.132e-05/0.9189, allocations: 20.8 kB / 0.7999 GB, free: 2.672 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007569/0.9196, allocations: 480.2 kB / 0.8003 GB, free: 2.191 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=76): time 6.001e-06/0.9197, allocations: 0 / 0.8003 GB, free: 2.191 MB / 0.6075 GB Notification: Performance of matching and sorting (n=76): time 0.002101/0.9218, allocations: 1.153 MB / 0.8015 GB, free: 1.035 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.371e-05/0.9218, allocations: 60.05 kB / 0.8015 GB, free: 0.9648 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007245/0.9225, allocations: 0.5667 MB / 0.8021 GB, free: 396 kB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.206e-05/0.9226, allocations: 41.7 kB / 0.8021 GB, free: 348 kB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003645/0.923, allocations: 471.7 kB / 0.8026 GB, free: 15.87 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002764/0.9233, allocations: 264.1 kB / 0.8028 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.793e-05/0.9233, allocations: 12 kB / 0.8028 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0002079/0.9235, allocations: 386.5 kB / 0.8032 GB, free: 15.21 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004903/0.924, allocations: 333.8 kB / 0.8035 GB, free: 14.88 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005668/0.9246, allocations: 454.4 kB / 0.8039 GB, free: 14.4 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005871/0.9252, allocations: 399.1 kB / 0.8043 GB, free: 14.01 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/0.9252, allocations: 0 / 0.8043 GB, free: 14.01 MB / 0.6231 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001372/0.9266, allocations: 0.9179 MB / 0.8052 GB, free: 13.09 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.362e-05/0.9266, allocations: 8 kB / 0.8052 GB, free: 13.08 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.271e-05/0.9266, allocations: 4 kB / 0.8052 GB, free: 13.07 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.487e-05/0.9267, allocations: 4 kB / 0.8052 GB, free: 13.07 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006709/0.9274, allocations: 163.7 kB / 0.8054 GB, free: 12.91 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.795e-05/0.9274, allocations: 5.594 kB / 0.8054 GB, free: 12.91 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000988/0.9284, allocations: 131.3 kB / 0.8055 GB, free: 12.78 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.289e-05/0.9284, allocations: 31.98 kB / 0.8056 GB, free: 12.75 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005859/0.929, allocations: 339 kB / 0.8059 GB, free: 12.41 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001113/0.9292, allocations: 83 kB / 0.806 GB, free: 12.32 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002571/0.9294, allocations: 111.8 kB / 0.8061 GB, free: 12.21 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.476e-06/0.9294, allocations: 8 kB / 0.8061 GB, free: 12.2 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.024e-05/0.9294, allocations: 0 / 0.8061 GB, free: 12.2 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00124/0.9307, allocations: 1.077 MB / 0.8071 GB, free: 11.04 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.003466/0.9342, allocations: 2.308 MB / 0.8094 GB, free: 8.645 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.969e-06/0.9342, allocations: 0 / 0.8094 GB, free: 8.645 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008131/0.935, allocations: 180.7 kB / 0.8095 GB, free: 8.469 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.129e-05/0.935, allocations: 4 kB / 0.8096 GB, free: 8.465 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.314e-05/0.9351, allocations: 19.98 kB / 0.8096 GB, free: 8.445 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.285e-06/0.9351, allocations: 4 kB / 0.8096 GB, free: 8.441 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.9351, allocations: 0 / 0.8096 GB, free: 8.441 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002005/0.9371, allocations: 1.483 MB / 0.811 GB, free: 6.934 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005288/0.9377, allocations: 253.8 kB / 0.8113 GB, free: 6.668 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.902e-05/0.9378, allocations: 16 kB / 0.8113 GB, free: 6.652 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007273/0.9385, allocations: 95.86 kB / 0.8114 GB, free: 6.559 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.093e-05/0.9386, allocations: 48.59 kB / 0.8114 GB, free: 6.512 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.031e-05/0.9387, allocations: 23.98 kB / 0.8114 GB, free: 6.488 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0004941/0.9392, allocations: 407.1 kB / 0.8118 GB, free: 6.094 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9392, allocations: 0 / 0.8118 GB, free: 6.094 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001072/0.9403, allocations: 367 kB / 0.8122 GB, free: 5.734 MB / 0.6231 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000366/0.9406, allocations: 187.1 kB / 0.8124 GB, free: 5.543 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001281/0.9419, allocations: 0.7941 MB / 0.8131 GB, free: 4.75 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.9419, allocations: 4.625 kB / 0.8131 GB, free: 4.746 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0005523/0.9425, allocations: 431.5 kB / 0.8135 GB, free: 4.324 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002452/0.945, allocations: 0.5522 MB / 0.8141 GB, free: 3.793 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004392/0.9494, allocations: 2.686 MB / 0.8167 GB, free: 1.078 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001002/0.9504, allocations: 1.136 MB / 0.8178 GB, free: 15.91 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001318/0.9517, allocations: 275.1 kB / 0.8181 GB, free: 15.64 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003055/0.952, allocations: 79.36 kB / 0.8182 GB, free: 15.56 MB / 0.6387 GB Notification: Performance of SimCode: time 1.182e-06/0.9521, allocations: 4 kB / 0.8182 GB, free: 15.56 MB / 0.6387 GB Notification: Performance of Templates: time 0.03271/0.9848, allocations: 17.65 MB / 0.8354 GB, free: 14.16 MB / 0.6544 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)