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.001363/0.001363, allocations: 105.2 kB / 16.41 MB, free: 6.457 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.001378/0.001378, allocations: 189.7 kB / 17.35 MB, free: 5.715 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.381/1.381, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7914/0.7914, allocations: 132.2 MB / 423.4 MB, free: 6.605 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001328/0.001328, allocations: 68.31 kB / 0.582 GB, free: 23.78 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1354/0.1368, allocations: 80.21 MB / 0.6603 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy): time 0.6081/0.7449, allocations: 314.1 MB / 0.9671 GB, free: 11.38 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.02589/0.7709, allocations: 18.43 MB / 0.9851 GB, free: 8.91 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003326/0.7742, allocations: 91.56 kB / 0.9852 GB, free: 8.82 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.005353/0.7796, allocations: 2.148 MB / 0.9873 GB, free: 6.66 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.01759/0.7972, allocations: 7.304 MB / 0.9944 GB, free: 15.33 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.008328/0.8056, allocations: 3.222 MB / 0.9976 GB, free: 12.11 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.01149/0.8171, allocations: 9.101 MB / 1.006 GB, free: 2.984 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004949/0.8221, allocations: 3.111 MB / 1.009 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006137/0.8282, allocations: 3.36 MB / 1.013 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006082/0.8343, allocations: 3.22 MB / 1.016 GB, free: 9.227 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.00127/0.8356, allocations: 404 kB / 1.016 GB, free: 8.832 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01351/0.8491, allocations: 6.999 MB / 1.023 GB, free: 1.816 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.002425/0.8516, allocations: 1.683 MB / 1.025 GB, free: 132 kB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.004686/0.8563, allocations: 2.307 MB / 1.027 GB, free: 13.81 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.01543/0.8717, allocations: 8.196 MB / 1.035 GB, free: 5.594 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.8718, allocations: 0 / 1.035 GB, free: 5.594 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.713e-06/0.8718, allocations: 0 / 1.035 GB, free: 5.594 MB / 0.795 GB Notification: Performance of Transformations before backend: time 0.0001862/0.872, allocations: 0 / 1.035 GB, free: 5.594 MB / 0.795 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.01439/0.8864, allocations: 4.993 MB / 1.04 GB, free: 0.5312 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/0.8864, allocations: 8.031 kB / 1.04 GB, free: 0.5234 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007398/0.8938, allocations: 1.014 MB / 1.041 GB, free: 15.5 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004929/0.8988, allocations: 2.248 MB / 1.043 GB, free: 13.2 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002383/0.8991, allocations: 250.4 kB / 1.043 GB, free: 12.96 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009448/0.9, allocations: 324 kB / 1.044 GB, free: 12.64 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008886/0.9089, allocations: 4.238 MB / 1.048 GB, free: 8.32 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.823e-05/0.909, allocations: 15.94 kB / 1.048 GB, free: 8.305 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005131/0.9096, allocations: 139.9 kB / 1.048 GB, free: 8.168 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001728/0.9097, allocations: 170.4 kB / 1.048 GB, free: 8 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008499/0.9182, allocations: 4.768 MB / 1.053 GB, free: 3.223 MB / 0.8106 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.2962/1.214, allocations: 14.4 MB / 1.067 GB, free: 304.3 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006481/1.221, allocations: 4.544 MB / 1.071 GB, free: 302.3 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003652/1.225, allocations: 2.454 MB / 1.074 GB, free: 301.4 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001313/1.226, allocations: 1.612 MB / 1.075 GB, free: 299.7 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.7e-05/1.226, allocations: 78.81 kB / 1.075 GB, free: 299.6 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=392): time 5.49e-06/1.226, allocations: 1.406 kB / 1.075 GB, free: 299.6 MB / 0.8106 GB Notification: Performance of matching and sorting (n=392): time 0.00951/1.236, allocations: 5.529 MB / 1.081 GB, free: 297.6 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.117e-05/1.236, allocations: 92.86 kB / 1.081 GB, free: 297.5 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002444/1.238, allocations: 1.681 MB / 1.082 GB, free: 296.9 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.000379/1.239, allocations: 93.73 kB / 1.083 GB, free: 296.8 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006104/1.239, allocations: 1.135 MB / 1.084 GB, free: 296 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009268/1.24, allocations: 1.321 MB / 1.085 GB, free: 294.9 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000783/1.241, allocations: 0.5588 MB / 1.085 GB, free: 294.7 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 3.982e-05/1.241, allocations: 311.1 kB / 1.086 GB, free: 294.4 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002313/1.243, allocations: 1.556 MB / 1.087 GB, free: 293.8 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002576/1.246, allocations: 1.938 MB / 1.089 GB, free: 293 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0048/1.251, allocations: 3.768 MB / 1.093 GB, free: 291.3 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.239e-05/1.251, allocations: 3.938 kB / 1.093 GB, free: 291.3 MB / 0.8106 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.005811/1.256, allocations: 4.168 MB / 1.097 GB, free: 289.5 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.404e-05/1.257, allocations: 8.5 kB / 1.097 GB, free: 289.5 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.702e-05/1.257, allocations: 9.219 kB / 1.097 GB, free: 289.5 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.061e-05/1.257, allocations: 23.78 kB / 1.097 GB, free: 289.5 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002824/1.259, allocations: 0.6884 MB / 1.098 GB, free: 289.4 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.213e-05/1.259, allocations: 26.81 kB / 1.098 GB, free: 289.4 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002717/1.262, allocations: 262.3 kB / 1.098 GB, free: 289.2 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002632/1.262, allocations: 118.4 kB / 1.098 GB, free: 289.1 MB / 0.8106 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.00147/1.264, allocations: 0.8051 MB / 1.099 GB, free: 288.6 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006827/1.265, allocations: 290.3 kB / 1.099 GB, free: 288.4 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006311/1.271, allocations: 4.415 MB / 1.103 GB, free: 286 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.171e-05/1.271, allocations: 39.44 kB / 1.103 GB, free: 286 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.114e-05/1.271, allocations: 0 / 1.103 GB, free: 286 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004482/1.276, allocations: 3.782 MB / 1.107 GB, free: 284 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01108/1.287, allocations: 8.637 MB / 1.116 GB, free: 275.7 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.099e-05/1.287, allocations: 0 / 1.116 GB, free: 275.7 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003109/1.29, allocations: 0.735 MB / 1.116 GB, free: 275 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.147e-05/1.29, allocations: 12 kB / 1.116 GB, free: 274.9 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002051/1.29, allocations: 87.97 kB / 1.116 GB, free: 274.9 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.655e-05/1.29, allocations: 16 kB / 1.116 GB, free: 274.8 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/1.29, allocations: 7.938 kB / 1.116 GB, free: 274.8 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007795/1.298, allocations: 6.827 MB / 1.123 GB, free: 267.9 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001474/1.299, allocations: 0.8009 MB / 1.124 GB, free: 267.1 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004678/1.3, allocations: 72 kB / 1.124 GB, free: 267 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001985/1.302, allocations: 94.59 kB / 1.124 GB, free: 266.9 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003559/1.302, allocations: 234.6 kB / 1.124 GB, free: 266.7 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001887/1.302, allocations: 112 kB / 1.124 GB, free: 266.6 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.00124/1.304, allocations: 1.153 MB / 1.125 GB, free: 265.4 MB / 0.8106 GB Notification: Performance of sort global known variables: time 8.92e-07/1.304, allocations: 0 / 1.125 GB, free: 265.4 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.002132/1.306, allocations: 1.224 MB / 1.127 GB, free: 264.2 MB / 0.8106 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.0007323/1.307, allocations: 464.7 kB / 1.127 GB, free: 263.8 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.004807/1.311, allocations: 3.958 MB / 1.131 GB, free: 259.9 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/1.311, allocations: 1.969 kB / 1.131 GB, free: 259.9 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.002382/1.314, allocations: 2.152 MB / 1.133 GB, free: 257.7 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006443/1.32, allocations: 1.595 MB / 1.135 GB, free: 256.3 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009423/1.33, allocations: 7.809 MB / 1.142 GB, free: 248.6 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00125/1.331, allocations: 2.209 MB / 1.144 GB, free: 246.4 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001544/1.332, allocations: 307.4 kB / 1.145 GB, free: 246.1 MB / 0.8106 GB Notification: Performance of SimCode: time 5.91e-07/1.332, allocations: 0 / 1.145 GB, free: 246.1 MB / 0.8106 GB Notification: Performance of Templates: time 0.05716/1.39, allocations: 55.18 MB / 1.199 GB, free: 191 MB / 0.8106 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 -lv LOG_STATS > IDEAS_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy.pipe 2>&1)