Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Airflow.Multizone.Examples.ZonalFlow") translateModel(IDEAS.Airflow.Multizone.Examples.ZonalFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001275/0.001275, allocations: 102.2 kB / 16.35 MB, free: 5.875 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.001253/0.001253, allocations: 194.3 kB / 17.3 MB, free: 5.516 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.293/1.293, allocations: 222.9 MB / 241 MB, free: 14.97 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7979/0.7979, allocations: 132.2 MB / 423.3 MB, free: 6.598 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002538/0.002538, allocations: 63.91 kB / 0.5032 GB, free: 10.9 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4161/0.4187, allocations: 80.18 MB / 0.5815 GB, free: 27.61 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.ZonalFlow): time 0.5745/0.9933, allocations: 204.1 MB / 0.7808 GB, free: 1.578 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01044/1.004, allocations: 6.365 MB / 0.7871 GB, free: 1.504 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002157/1.006, allocations: 40 kB / 0.7871 GB, free: 1.504 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002054/1.008, allocations: 0.7279 MB / 0.7878 GB, free: 1.492 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0077/1.016, allocations: 2.67 MB / 0.7904 GB, free: 1.379 MB / 0.5762 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.002004/1.018, allocations: 0.7056 MB / 0.7911 GB, free: 1.363 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004222/1.022, allocations: 3.277 MB / 0.7943 GB, free: 1.355 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001528/1.024, allocations: 1.147 MB / 0.7954 GB, free: 1.242 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002497/1.026, allocations: 1.242 MB / 0.7966 GB, free: 1.242 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002389/1.029, allocations: 1.1 MB / 0.7977 GB, free: 1.234 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002225/1.029, allocations: 127.8 kB / 0.7978 GB, free: 1.234 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004914/1.034, allocations: 2.358 MB / 0.8001 GB, free: 1.211 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0006204/1.034, allocations: 0.5119 MB / 0.8006 GB, free: 1.207 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001133/1.035, allocations: 0.74 MB / 0.8014 GB, free: 1.074 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.005213/1.041, allocations: 2.8 MB / 0.8041 GB, free: 0.7852 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/1.041, allocations: 0.875 kB / 0.8041 GB, free: 0.7852 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.285e-06/1.041, allocations: 0 / 0.8041 GB, free: 0.7852 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.653e-05/1.041, allocations: 4.438 kB / 0.8041 GB, free: 0.7812 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.003989/1.045, allocations: 1.763 MB / 0.8058 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.988e-05/1.045, allocations: 12.16 kB / 0.8058 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002197/1.047, allocations: 344.1 kB / 0.8062 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001532/1.049, allocations: 0.8833 MB / 0.807 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.484e-05/1.049, allocations: 77.03 kB / 0.8071 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001493/1.049, allocations: 106.4 kB / 0.8072 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001764/1.051, allocations: 1.191 MB / 0.8084 GB, free: 15.47 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.759e-05/1.051, allocations: 1.453 kB / 0.8084 GB, free: 15.47 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.75e-05/1.051, allocations: 45.39 kB / 0.8084 GB, free: 15.47 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.838e-05/1.051, allocations: 59.8 kB / 0.8085 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001815/1.053, allocations: 1.24 MB / 0.8097 GB, free: 15.45 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.00676/1.059, allocations: 5.075 MB / 0.8146 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001351/1.061, allocations: 1.152 MB / 0.8158 GB, free: 12.56 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007407/1.062, allocations: 0.5035 MB / 0.8162 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 6.771e-05/1.062, allocations: 18.89 kB / 0.8163 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007275/1.062, allocations: 484.2 kB / 0.8167 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=76): time 2.885e-06/1.062, allocations: 0 / 0.8167 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of matching and sorting (n=76): time 0.001914/1.064, allocations: 1.156 MB / 0.8179 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.924e-05/1.064, allocations: 67.14 kB / 0.8179 GB, free: 12.33 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006793/1.065, allocations: 0.5756 MB / 0.8185 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.909e-05/1.065, allocations: 43.98 kB / 0.8185 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003128/1.065, allocations: 457.3 kB / 0.819 GB, free: 11.94 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002434/1.066, allocations: 273.3 kB / 0.8192 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002057/1.066, allocations: 132.9 kB / 0.8193 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001755/1.066, allocations: 385.2 kB / 0.8197 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004424/1.066, allocations: 326 kB / 0.82 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005432/1.067, allocations: 460.5 kB / 0.8205 GB, free: 11.31 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001119/1.068, allocations: 0.8248 MB / 0.8213 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/1.068, allocations: 2.344 kB / 0.8213 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001517/1.07, allocations: 0.9263 MB / 0.8222 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.132e-05/1.07, allocations: 5.938 kB / 0.8222 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.116e-05/1.07, allocations: 3.625 kB / 0.8222 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.297e-05/1.07, allocations: 6.312 kB / 0.8222 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007206/1.071, allocations: 162.5 kB / 0.8223 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.391e-05/1.071, allocations: 5.875 kB / 0.8224 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007768/1.071, allocations: 67.33 kB / 0.8224 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.733e-05/1.071, allocations: 29.34 kB / 0.8224 GB, free: 10.74 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.0005401/1.072, allocations: 328.4 kB / 0.8228 GB, free: 10.53 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001265/1.072, allocations: 81.59 kB / 0.8228 GB, free: 10.49 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002028/1.072, allocations: 107.9 kB / 0.8229 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.275e-06/1.072, allocations: 12.44 kB / 0.823 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.387e-05/1.072, allocations: 1 kB / 0.823 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001224/1.074, allocations: 1.088 MB / 0.824 GB, free: 9.688 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.003355/1.077, allocations: 2.309 MB / 0.8263 GB, free: 8.23 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/1.077, allocations: 0 / 0.8263 GB, free: 8.23 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008786/1.078, allocations: 189.2 kB / 0.8264 GB, free: 8.191 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.925e-06/1.078, allocations: 5.125 kB / 0.8265 GB, free: 8.191 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.051e-05/1.078, allocations: 12.75 kB / 0.8265 GB, free: 8.184 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.272e-06/1.078, allocations: 3.156 kB / 0.8265 GB, free: 8.184 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.377e-06/1.078, allocations: 5.859 kB / 0.8265 GB, free: 8.18 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002014/1.08, allocations: 1.484 MB / 0.8279 GB, free: 7.34 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005262/1.08, allocations: 258.3 kB / 0.8282 GB, free: 7.125 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001066/1.081, allocations: 15.22 kB / 0.8282 GB, free: 7.113 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006082/1.081, allocations: 22.39 kB / 0.8282 GB, free: 7.102 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.969e-05/1.081, allocations: 44.81 kB / 0.8282 GB, free: 7.082 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.831e-05/1.081, allocations: 24.03 kB / 0.8283 GB, free: 7.074 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004653/1.082, allocations: 417.6 kB / 0.8287 GB, free: 6.836 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.11e-07/1.082, allocations: 0 / 0.8287 GB, free: 6.836 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0009389/1.083, allocations: 371.1 kB / 0.829 GB, free: 6.762 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.0002809/1.083, allocations: 173.3 kB / 0.8292 GB, free: 6.652 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001183/1.084, allocations: 0.8106 MB / 0.83 GB, free: 6.285 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.858e-06/1.084, allocations: 0.9062 kB / 0.83 GB, free: 6.285 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0005215/1.085, allocations: 430.4 kB / 0.8304 GB, free: 6.102 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002325/1.087, allocations: 0.6022 MB / 0.831 GB, free: 5.797 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00333/1.091, allocations: 2.152 MB / 0.8331 GB, free: 3.75 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000733/1.091, allocations: 1.136 MB / 0.8342 GB, free: 2.59 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0008767/1.092, allocations: 267.2 kB / 0.8344 GB, free: 2.324 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002309/1.092, allocations: 74.61 kB / 0.8345 GB, free: 2.258 MB / 0.5919 GB Notification: Performance of SimCode: time 1.463e-06/1.092, allocations: 3.938 kB / 0.8345 GB, free: 2.254 MB / 0.5919 GB Notification: Performance of Templates: time 0.03159/1.124, allocations: 19.14 MB / 0.8532 GB, free: 15.44 MB / 0.6231 GB make -j1 -f IDEAS_IDEAS.Airflow.Multizone.Examples.ZonalFlow.makefile (rm -f IDEAS_IDEAS.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo IDEAS_IDEAS.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < IDEAS_IDEAS.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/IDEAS_IDEAS.Airflow.Multizone.Examples.ZonalFlow.sim & ./IDEAS_IDEAS.Airflow.Multizone.Examples.ZonalFlow -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1)