Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.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.ReverseBuoyancy3Zones,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy3Zones") translateModel(IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy3Zones,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy3Zones") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001218/0.001218, allocations: 107.8 kB / 16.27 MB, free: 5.984 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.001244/0.001244, allocations: 189 kB / 17.2 MB, free: 5.609 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.483/1.483, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8361/0.8361, allocations: 132.2 MB / 423.2 MB, free: 6.645 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001396/0.001397, allocations: 67.91 kB / 0.5024 GB, free: 11.64 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3453/0.3467, allocations: 80.18 MB / 0.5807 GB, free: 27.3 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 0.5723/0.9192, allocations: 295.1 MB / 0.8689 GB, free: 9.707 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02683/0.946, allocations: 16.98 MB / 0.8855 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004404/0.9505, allocations: 84.03 kB / 0.8856 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.005614/0.9561, allocations: 1.897 MB / 0.8874 GB, free: 8.684 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.01754/0.9738, allocations: 6.412 MB / 0.8937 GB, free: 2.953 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.008045/0.9818, allocations: 2.93 MB / 0.8966 GB, free: 28 kB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.01024/0.9921, allocations: 7.696 MB / 0.9041 GB, free: 8.305 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003727/0.9958, allocations: 2.599 MB / 0.9066 GB, free: 5.648 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00537/1.001, allocations: 2.784 MB / 0.9093 GB, free: 2.855 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005535/1.007, allocations: 2.697 MB / 0.912 GB, free: 164 kB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0008832/1.008, allocations: 324 kB / 0.9123 GB, free: 15.84 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01343/1.021, allocations: 6.172 MB / 0.9183 GB, free: 9.652 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.002122/1.023, allocations: 1.336 MB / 0.9196 GB, free: 8.312 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.004495/1.028, allocations: 1.883 MB / 0.9214 GB, free: 6.422 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0154/1.043, allocations: 6.845 MB / 0.9281 GB, free: 15.56 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.594e-06/1.043, allocations: 0 / 0.9281 GB, free: 15.56 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.864e-06/1.043, allocations: 0 / 0.9281 GB, free: 15.56 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0001983/1.043, allocations: 3.938 kB / 0.9281 GB, free: 15.55 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 669 * Number of variables: 669 Notification: Performance of Generate backend data structure: time 0.01314/1.057, allocations: 4.127 MB / 0.9322 GB, free: 11.36 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/1.057, allocations: 12.03 kB / 0.9322 GB, free: 11.35 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007043/1.064, allocations: 0.9132 MB / 0.9331 GB, free: 10.43 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004195/1.068, allocations: 1.838 MB / 0.9349 GB, free: 8.535 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002241/1.068, allocations: 197.1 kB / 0.935 GB, free: 8.34 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007131/1.069, allocations: 263.9 kB / 0.9353 GB, free: 8.082 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007304/1.076, allocations: 3.327 MB / 0.9385 GB, free: 4.652 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.662e-05/1.076, allocations: 15.78 kB / 0.9386 GB, free: 4.637 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004196/1.077, allocations: 112 kB / 0.9387 GB, free: 4.527 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000184/1.077, allocations: 137 kB / 0.9388 GB, free: 4.391 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006889/1.084, allocations: 3.49 MB / 0.9422 GB, free: 0.8867 MB / 0.6544 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.01797/1.102, allocations: 12.19 MB / 0.9541 GB, free: 3.793 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004852/1.107, allocations: 3.498 MB / 0.9575 GB, free: 220 kB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002879/1.11, allocations: 1.814 MB / 0.9593 GB, free: 14.4 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001535/1.111, allocations: 1.497 MB / 0.9608 GB, free: 12.59 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.104e-05/1.111, allocations: 64.75 kB / 0.9608 GB, free: 12.51 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=278): time 4.929e-06/1.111, allocations: 0 / 0.9608 GB, free: 12.51 MB / 0.6856 GB Notification: Performance of matching and sorting (n=278): time 0.00696/1.118, allocations: 3.881 MB / 0.9646 GB, free: 8.582 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.127e-05/1.118, allocations: 81.59 kB / 0.9647 GB, free: 8.488 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002085/1.12, allocations: 1.376 MB / 0.966 GB, free: 7.105 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0002047/1.121, allocations: 77.7 kB / 0.9661 GB, free: 7.023 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006991/1.121, allocations: 0.9843 MB / 0.9671 GB, free: 6.027 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009492/1.122, allocations: 0.9393 MB / 0.968 GB, free: 5.074 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006773/1.123, allocations: 413 kB / 0.9684 GB, free: 4.664 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 9.263e-05/1.123, allocations: 301.1 kB / 0.9687 GB, free: 4.367 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00186/1.125, allocations: 1.094 MB / 0.9697 GB, free: 3.27 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002044/1.127, allocations: 1.374 MB / 0.9711 GB, free: 1.816 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004142/1.131, allocations: 2.642 MB / 0.9737 GB, free: 15.08 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.546e-06/1.131, allocations: 4 kB / 0.9737 GB, free: 15.08 MB / 0.7012 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.005121/1.136, allocations: 2.97 MB / 0.9766 GB, free: 12.06 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 3.454e-05/1.136, allocations: 8.562 kB / 0.9766 GB, free: 12.05 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.432e-05/1.136, allocations: 8 kB / 0.9766 GB, free: 12.05 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.105e-05/1.136, allocations: 15.94 kB / 0.9766 GB, free: 12.03 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002288/1.139, allocations: 0.5148 MB / 0.9771 GB, free: 11.52 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.274e-05/1.139, allocations: 16 kB / 0.9771 GB, free: 11.5 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00226/1.141, allocations: 188.7 kB / 0.9773 GB, free: 11.32 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001699/1.141, allocations: 83.98 kB / 0.9774 GB, free: 11.23 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (311): * Single equations (assignments): 311 * 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.001221/1.142, allocations: 0.6494 MB / 0.978 GB, free: 10.57 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005411/1.143, allocations: 229.3 kB / 0.9782 GB, free: 10.35 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005279/1.148, allocations: 3.1 MB / 0.9813 GB, free: 7.188 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.189e-05/1.148, allocations: 31.94 kB / 0.9813 GB, free: 7.156 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.547e-06/1.148, allocations: 0 / 0.9813 GB, free: 7.156 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004161/1.152, allocations: 2.649 MB / 0.9839 GB, free: 4.438 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01075/1.163, allocations: 6.198 MB / 0.9899 GB, free: 14.13 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.087e-06/1.163, allocations: 0 / 0.9899 GB, free: 14.13 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002696/1.166, allocations: 0.554 MB / 0.9905 GB, free: 13.57 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.515e-05/1.166, allocations: 8 kB / 0.9905 GB, free: 13.57 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002218/1.166, allocations: 67.97 kB / 0.9905 GB, free: 13.5 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.942e-05/1.166, allocations: 8 kB / 0.9905 GB, free: 13.49 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.706e-06/1.166, allocations: 0 / 0.9905 GB, free: 13.49 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007868/1.174, allocations: 4.803 MB / 0.9952 GB, free: 8.609 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001481/1.176, allocations: 0.611 MB / 0.9958 GB, free: 7.977 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005062/1.176, allocations: 51.98 kB / 0.9959 GB, free: 7.926 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001991/1.178, allocations: 61.67 kB / 0.9959 GB, free: 7.867 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003387/1.179, allocations: 165.9 kB / 0.9961 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001964/1.179, allocations: 83.98 kB / 0.9962 GB, free: 7.621 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001658/1.18, allocations: 0.9462 MB / 0.9971 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.8e-07/1.18, allocations: 0 / 0.9971 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002567/1.183, allocations: 0.9823 MB / 0.9981 GB, free: 5.695 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 18 (volEas.dynBal.U,volEas.dynBal.m,volEas.dynBal.mXi[1],oriOutBot.mExc,oriOutTop.mExc,volOut.dynBal.U,volOut.dynBal.m,volOut.dynBal.mXi[1],oriWesTop.mExc,dooOpeClo.mExcAB,dooOpeClo.mExcBA,oriEasTop.mExc,volTop.dynBal.U,volTop.dynBal.m,volTop.dynBal.mXi[1],volWes.dynBal.U,volWes.dynBal.m,volWes.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (278): * Single equations (assignments): 278 * 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.0007526/1.184, allocations: 374 kB / 0.9984 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.01232/1.196, allocations: 5.543 MB / 1.004 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 6.803e-06/1.196, allocations: 4 kB / 1.004 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.002429/1.199, allocations: 1.507 MB / 1.005 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006981/1.206, allocations: 1.359 MB / 1.007 GB, free: 12.95 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01143/1.217, allocations: 6.183 MB / 1.013 GB, free: 6.715 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00158/1.219, allocations: 1.895 MB / 1.015 GB, free: 4.781 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001144/1.22, allocations: 239.4 kB / 1.015 GB, free: 4.547 MB / 0.7325 GB Notification: Performance of SimCode: time 1.022e-06/1.22, allocations: 3.938 kB / 1.015 GB, free: 4.543 MB / 0.7325 GB Notification: Performance of Templates: time 0.3296/1.549, allocations: 43.15 MB / 1.057 GB, free: 311.7 MB / 0.7481 GB make -j1 -f IDEAS_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.makefile (rm -f IDEAS_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; mkfifo IDEAS_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; head -c 1048576 < IDEAS_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe >> ../files/IDEAS_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.sim & ./IDEAS_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy3Zones -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe 2>&1)