Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy.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.ReverseBuoyancy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy") translateModel(IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001322/0.001323, allocations: 111.1 kB / 16.37 MB, free: 6.012 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.001272/0.001273, allocations: 193.7 kB / 17.31 MB, free: 5.613 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.311/1.311, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7833/0.7833, allocations: 132.2 MB / 423.4 MB, free: 6.637 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 55.91 kB / 0.5032 GB, free: 10.97 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3052/0.3064, allocations: 80.18 MB / 0.5815 GB, free: 27.64 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy): time 0.5287/0.8351, allocations: 314.1 MB / 0.8883 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.02628/0.8614, allocations: 18.42 MB / 0.9063 GB, free: 6.598 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003669/0.8651, allocations: 92.41 kB / 0.9064 GB, free: 6.535 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.005255/0.8704, allocations: 2.15 MB / 0.9085 GB, free: 4.41 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.01754/0.888, allocations: 7.304 MB / 0.9156 GB, free: 13.07 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.008283/0.8963, allocations: 3.218 MB / 0.9187 GB, free: 9.859 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.01118/0.9075, allocations: 9.112 MB / 0.9276 GB, free: 0.7188 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0051/0.9126, allocations: 3.119 MB / 0.9307 GB, free: 13.54 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005879/0.9185, allocations: 3.317 MB / 0.9339 GB, free: 10.21 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005839/0.9244, allocations: 3.231 MB / 0.9371 GB, free: 6.98 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.001279/0.9257, allocations: 400 kB / 0.9374 GB, free: 6.59 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0137/0.9394, allocations: 6.995 MB / 0.9443 GB, free: 15.58 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.002584/0.942, allocations: 1.687 MB / 0.9459 GB, free: 13.89 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.00463/0.9466, allocations: 2.306 MB / 0.9482 GB, free: 11.57 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.01697/0.9636, allocations: 8.193 MB / 0.9562 GB, free: 3.355 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.9637, allocations: 0 / 0.9562 GB, free: 3.355 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.062e-06/0.9637, allocations: 0 / 0.9562 GB, free: 3.355 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0001109/0.9638, allocations: 0 / 0.9562 GB, free: 3.355 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 843 * Number of variables: 843 Notification: Performance of Generate backend data structure: time 0.01174/0.9755, allocations: 4.993 MB / 0.9611 GB, free: 14.29 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.555e-05/0.9756, allocations: 8.031 kB / 0.9611 GB, free: 14.29 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006292/0.9819, allocations: 1.002 MB / 0.962 GB, free: 13.28 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004685/0.9866, allocations: 2.252 MB / 0.9642 GB, free: 10.97 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001754/0.9868, allocations: 246.4 kB / 0.9645 GB, free: 10.73 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005486/0.9873, allocations: 327.9 kB / 0.9648 GB, free: 10.41 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006707/0.9941, allocations: 4.239 MB / 0.9689 GB, free: 6.086 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.339e-05/0.9942, allocations: 11.89 kB / 0.9689 GB, free: 6.074 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002922/0.9944, allocations: 136 kB / 0.9691 GB, free: 5.941 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001535/0.9946, allocations: 166.4 kB / 0.9692 GB, free: 5.777 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007941/1.003, allocations: 4.772 MB / 0.9739 GB, free: 0.9961 MB / 0.6856 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.02082/1.023, allocations: 14.42 MB / 0.988 GB, free: 1.602 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006264/1.03, allocations: 4.529 MB / 0.9924 GB, free: 13.07 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003569/1.033, allocations: 2.448 MB / 0.9948 GB, free: 10.61 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001727/1.035, allocations: 1.616 MB / 0.9964 GB, free: 8.664 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.178e-05/1.035, allocations: 73.64 kB / 0.9964 GB, free: 8.582 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=392): time 5.53e-06/1.035, allocations: 0 / 0.9964 GB, free: 8.582 MB / 0.7169 GB Notification: Performance of matching and sorting (n=392): time 0.008958/1.044, allocations: 5.527 MB / 1.002 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.214e-05/1.044, allocations: 90.48 kB / 1.002 GB, free: 2.93 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002405/1.047, allocations: 1.696 MB / 1.004 GB, free: 1.191 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0002662/1.047, allocations: 93.7 kB / 1.004 GB, free: 1.094 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.000836/1.048, allocations: 1.132 MB / 1.005 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.001152/1.049, allocations: 1.32 MB / 1.006 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008504/1.05, allocations: 0.5507 MB / 1.007 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000102/1.05, allocations: 309 kB / 1.007 GB, free: 13.74 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002425/1.052, allocations: 1.56 MB / 1.008 GB, free: 12.18 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002774/1.055, allocations: 1.942 MB / 1.01 GB, free: 10.16 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005459/1.061, allocations: 3.762 MB / 1.014 GB, free: 6.309 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.827e-06/1.061, allocations: 0 / 1.014 GB, free: 6.309 MB / 0.7325 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.006757/1.067, allocations: 4.17 MB / 1.018 GB, free: 2.113 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.475e-05/1.067, allocations: 4 kB / 1.018 GB, free: 2.109 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.815e-05/1.067, allocations: 16.05 kB / 1.018 GB, free: 2.094 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.042e-05/1.067, allocations: 16 kB / 1.018 GB, free: 2.078 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002993/1.07, allocations: 0.6943 MB / 1.019 GB, free: 1.383 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.676e-05/1.07, allocations: 20 kB / 1.019 GB, free: 1.363 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002487/1.073, allocations: 261 kB / 1.019 GB, free: 1.105 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002668/1.073, allocations: 120 kB / 1.019 GB, free: 0.9883 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (430): * Single equations (assignments): 430 * 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.00139/1.075, allocations: 0.8015 MB / 1.02 GB, free: 180 kB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006593/1.075, allocations: 292.5 kB / 1.02 GB, free: 15.89 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007072/1.082, allocations: 4.417 MB / 1.025 GB, free: 11.43 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.789e-05/1.082, allocations: 36 kB / 1.025 GB, free: 11.4 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.103e-05/1.082, allocations: 0 / 1.025 GB, free: 11.4 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005421/1.088, allocations: 3.784 MB / 1.028 GB, free: 7.547 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2591/1.347, allocations: 8.628 MB / 1.037 GB, free: 323.6 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.487e-05/1.347, allocations: 3.469 kB / 1.037 GB, free: 323.6 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003783/1.351, allocations: 0.7341 MB / 1.037 GB, free: 323.6 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.929e-05/1.351, allocations: 15.75 kB / 1.037 GB, free: 323.6 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003884/1.351, allocations: 86.42 kB / 1.038 GB, free: 323.6 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.03e-05/1.351, allocations: 16.02 kB / 1.038 GB, free: 323.6 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.306e-06/1.351, allocations: 6.906 kB / 1.038 GB, free: 323.6 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01065/1.362, allocations: 6.835 MB / 1.044 GB, free: 321.2 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001944/1.364, allocations: 0.7901 MB / 1.045 GB, free: 320.9 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004453/1.364, allocations: 76.08 kB / 1.045 GB, free: 320.8 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001908/1.366, allocations: 85.08 kB / 1.045 GB, free: 320.8 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004312/1.367, allocations: 236.5 kB / 1.045 GB, free: 320.8 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002224/1.367, allocations: 110 kB / 1.045 GB, free: 320.7 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001491/1.369, allocations: 1.157 MB / 1.047 GB, free: 320.3 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.2e-07/1.369, allocations: 0 / 1.047 GB, free: 320.3 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.002272/1.371, allocations: 1.232 MB / 1.048 GB, free: 320.1 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 20 (volBotEas.dynBal.U,volBotEas.dynBal.m,volBotEas.dynBal.mXi[1],oriOutBot.mExc,oriOutTop.mExc,oriWesTop.mExc,dooOpeClo.mExcAB,dooOpeClo.mExcBA,volBotWes.dynBal.U,volBotWes.dynBal.m,volBotWes.dynBal.mXi[1],oriEasTop.mExc,volTopEas.dynBal.U,volTopEas.dynBal.m,volTopEas.dynBal.mXi[1],volTopWes.dynBal.U,volTopWes.dynBal.m,volTopWes.dynBal.mXi[1],dooOpeCloTop.mExcAB,dooOpeCloTop.mExcBA) * 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 (392): * Single equations (assignments): 392 * 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.000775/1.372, allocations: 469.1 kB / 1.048 GB, free: 319.9 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.004991/1.377, allocations: 3.953 MB / 1.052 GB, free: 318.6 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 6.252e-06/1.377, allocations: 0 / 1.052 GB, free: 318.6 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.002591/1.379, allocations: 2.163 MB / 1.054 GB, free: 317.9 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006544/1.386, allocations: 1.59 MB / 1.056 GB, free: 317.5 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01013/1.396, allocations: 7.638 MB / 1.063 GB, free: 313.9 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001309/1.397, allocations: 2.206 MB / 1.065 GB, free: 312.5 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.003441/1.401, allocations: 1.197 MB / 1.067 GB, free: 311.5 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008871/1.402, allocations: 267.4 kB / 1.067 GB, free: 311.2 MB / 0.7481 GB Notification: Performance of SimCode: time 7.82e-07/1.402, allocations: 0 / 1.067 GB, free: 311.2 MB / 0.7481 GB Notification: Performance of Templates: time 0.07457/1.476, allocations: 62.05 MB / 1.127 GB, free: 249.9 MB / 0.7481 GB make -j1 -f IDEAS_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy.makefile (rm -f IDEAS_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; mkfifo IDEAS_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; head -c 1048576 < IDEAS_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy.pipe >> ../files/IDEAS_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy.sim & ./IDEAS_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IDEAS_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy.pipe 2>&1)