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.001141/0.001141, allocations: 107.3 kB / 15.33 MB, free: 0.5078 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.001619/0.001619, allocations: 193.5 kB / 16.25 MB, free: 6.145 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.336/1.336, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7757/0.7757, allocations: 132.2 MB / 422.3 MB, free: 1.941 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001305/0.001305, allocations: 59.03 kB / 0.5013 GB, free: 9.121 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.157/0.1583, allocations: 80.21 MB / 0.5796 GB, free: 9.137 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 0.9342/1.093, allocations: 291.7 MB / 0.8644 GB, free: 1.367 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02851/1.121, allocations: 16.92 MB / 0.881 GB, free: 1.328 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005581/1.127, allocations: 70.91 kB / 0.881 GB, free: 1.328 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.007893/1.135, allocations: 1.699 MB / 0.8827 GB, free: 1.293 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.02246/1.157, allocations: 6.053 MB / 0.8886 GB, free: 1.039 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.01113/1.168, allocations: 2.707 MB / 0.8912 GB, free: 0.9688 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.01723/1.186, allocations: 7.685 MB / 0.8987 GB, free: 0.957 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005599/1.191, allocations: 2.546 MB / 0.9012 GB, free: 16.68 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008312/1.2, allocations: 2.823 MB / 0.904 GB, free: 16.68 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00773/1.207, allocations: 2.868 MB / 0.9068 GB, free: 16.68 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.001537/1.209, allocations: 327.8 kB / 0.9071 GB, free: 16.68 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.016/1.225, allocations: 6.436 MB / 0.9134 GB, free: 16.61 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.003122/1.228, allocations: 1.339 MB / 0.9147 GB, free: 16.61 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.00607/1.234, allocations: 1.879 MB / 0.9165 GB, free: 16.35 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01607/1.25, allocations: 7.293 MB / 0.9236 GB, free: 15.6 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/1.25, allocations: 0 / 0.9236 GB, free: 15.6 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.244e-06/1.25, allocations: 0 / 0.9236 GB, free: 15.6 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0001215/1.25, allocations: 0.9688 kB / 0.9236 GB, free: 15.6 MB / 0.6856 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.01218/1.263, allocations: 4.127 MB / 0.9277 GB, free: 13.95 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.868e-05/1.263, allocations: 8.469 kB / 0.9277 GB, free: 13.95 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00681/1.269, allocations: 0.9143 MB / 0.9286 GB, free: 13.78 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004638/1.274, allocations: 1.841 MB / 0.9304 GB, free: 13.26 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001538/1.274, allocations: 200.4 kB / 0.9306 GB, free: 13.25 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005265/1.275, allocations: 262.3 kB / 0.9308 GB, free: 13.25 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005997/1.281, allocations: 3.331 MB / 0.9341 GB, free: 12.96 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.105e-05/1.281, allocations: 7.469 kB / 0.9341 GB, free: 12.96 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002485/1.281, allocations: 105 kB / 0.9342 GB, free: 12.96 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001279/1.281, allocations: 136.5 kB / 0.9343 GB, free: 12.95 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005199/1.287, allocations: 3.493 MB / 0.9377 GB, free: 12.7 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.01527/1.302, allocations: 12.06 MB / 0.9495 GB, free: 4.941 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004228/1.306, allocations: 3.497 MB / 0.9529 GB, free: 4.047 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002419/1.309, allocations: 1.823 MB / 0.9547 GB, free: 3.773 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001476/1.31, allocations: 1.493 MB / 0.9562 GB, free: 2.117 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.328e-05/1.31, allocations: 67.59 kB / 0.9562 GB, free: 2.07 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=278): time 4.298e-06/1.31, allocations: 3.938 kB / 0.9562 GB, free: 2.066 MB / 0.6856 GB Notification: Performance of matching and sorting (n=278): time 0.006254/1.316, allocations: 3.874 MB / 0.96 GB, free: 15.86 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.545e-05/1.316, allocations: 81.59 kB / 0.9601 GB, free: 15.77 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001842/1.318, allocations: 1.379 MB / 0.9614 GB, free: 14.69 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0002169/1.319, allocations: 77.7 kB / 0.9615 GB, free: 14.61 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006444/1.319, allocations: 0.9842 MB / 0.9625 GB, free: 13.61 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008516/1.32, allocations: 0.9457 MB / 0.9634 GB, free: 12.67 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006164/1.321, allocations: 408.9 kB / 0.9638 GB, free: 12.27 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 9.246e-05/1.321, allocations: 301.1 kB / 0.9641 GB, free: 11.97 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001642/1.322, allocations: 1.09 MB / 0.9651 GB, free: 10.88 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001849/1.324, allocations: 1.379 MB / 0.9665 GB, free: 9.422 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003726/1.328, allocations: 2.648 MB / 0.9691 GB, free: 6.699 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.147e-06/1.328, allocations: 4 kB / 0.9691 GB, free: 6.695 MB / 0.7012 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.004801/1.333, allocations: 2.968 MB / 0.972 GB, free: 3.707 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.635e-05/1.333, allocations: 8 kB / 0.972 GB, free: 3.699 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.388e-05/1.333, allocations: 4 kB / 0.972 GB, free: 3.695 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.554e-05/1.333, allocations: 16 kB / 0.972 GB, free: 3.68 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002139/1.335, allocations: 0.5063 MB / 0.9725 GB, free: 3.203 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.761e-05/1.335, allocations: 24.02 kB / 0.9725 GB, free: 3.184 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002848/1.338, allocations: 338.9 kB / 0.9728 GB, free: 2.855 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001699/1.338, allocations: 83.98 kB / 0.9729 GB, free: 2.773 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.001273/1.339, allocations: 0.6529 MB / 0.9735 GB, free: 2.141 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005102/1.34, allocations: 229.3 kB / 0.9738 GB, free: 1.914 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004871/1.345, allocations: 3.102 MB / 0.9768 GB, free: 14.76 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.898e-05/1.345, allocations: 28 kB / 0.9768 GB, free: 14.73 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.747e-06/1.345, allocations: 0 / 0.9768 GB, free: 14.73 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003672/1.349, allocations: 2.649 MB / 0.9794 GB, free: 12.02 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009949/1.358, allocations: 6.194 MB / 0.9855 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.444e-06/1.359, allocations: 4 kB / 0.9855 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002564/1.361, allocations: 0.5506 MB / 0.986 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.856e-05/1.361, allocations: 8 kB / 0.986 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001781/1.361, allocations: 59.98 kB / 0.9861 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.504e-05/1.361, allocations: 15.98 kB / 0.9861 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/1.361, allocations: 3.984 kB / 0.9861 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006926/1.368, allocations: 4.802 MB / 0.9908 GB, free: 300 kB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001806/1.37, allocations: 0.6095 MB / 0.9914 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004807/1.371, allocations: 52 kB / 0.9914 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002342/1.373, allocations: 219.6 kB / 0.9916 GB, free: 15.4 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003398/1.373, allocations: 173.8 kB / 0.9918 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000161/1.373, allocations: 79.98 kB / 0.9919 GB, free: 15.15 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001305/1.375, allocations: 0.9423 MB / 0.9928 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1e-07/1.375, allocations: 0 / 0.9928 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002375/1.377, allocations: 0.9862 MB / 0.9938 GB, free: 13.22 MB / 0.7325 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.0007311/1.378, allocations: 376.7 kB / 0.9941 GB, free: 12.89 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.01192/1.39, allocations: 5.539 MB / 0.9995 GB, free: 7.387 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 7.674e-06/1.39, allocations: 4.375 kB / 0.9995 GB, free: 7.383 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.002139/1.392, allocations: 1.503 MB / 1.001 GB, free: 5.926 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006336/1.398, allocations: 1.353 MB / 1.002 GB, free: 4.641 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01063/1.409, allocations: 7.195 MB / 1.009 GB, free: 13.42 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00143/1.411, allocations: 1.899 MB / 1.011 GB, free: 11.48 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.003449/1.414, allocations: 0.8358 MB / 1.012 GB, free: 10.64 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007306/1.415, allocations: 207.4 kB / 1.012 GB, free: 10.44 MB / 0.7481 GB Notification: Performance of SimCode: time 6.41e-07/1.415, allocations: 0 / 1.012 GB, free: 10.44 MB / 0.7481 GB Notification: Performance of Templates: time 0.08098/1.496, allocations: 49.52 MB / 1.061 GB, free: 9.754 MB / 0.795 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)