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.001321/0.001321, allocations: 113.3 kB / 16.37 MB, free: 6.004 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.001427/0.001427, allocations: 197.6 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.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7704/0.7704, allocations: 132.2 MB / 423.4 MB, free: 6.605 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001201/0.001201, allocations: 63.91 kB / 0.5032 GB, free: 10.93 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3664/0.3676, allocations: 80.19 MB / 0.5815 GB, free: 27.61 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 0.6694/1.037, allocations: 295.1 MB / 0.8697 GB, free: 9.531 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02544/1.063, allocations: 16.98 MB / 0.8863 GB, free: 9.918 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004517/1.067, allocations: 81.22 kB / 0.8863 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.005351/1.073, allocations: 1.899 MB / 0.8882 GB, free: 8.461 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.01778/1.09, allocations: 6.417 MB / 0.8945 GB, free: 2.715 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.00841/1.099, allocations: 2.936 MB / 0.8973 GB, free: 15.78 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.01092/1.11, allocations: 7.702 MB / 0.9049 GB, free: 8.055 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004028/1.114, allocations: 2.614 MB / 0.9074 GB, free: 5.383 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005647/1.119, allocations: 2.784 MB / 0.9101 GB, free: 2.59 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006023/1.126, allocations: 2.706 MB / 0.9128 GB, free: 15.88 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.001052/1.127, allocations: 324 kB / 0.9131 GB, free: 15.57 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01327/1.14, allocations: 6.165 MB / 0.9191 GB, free: 9.387 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.001953/1.142, allocations: 1.336 MB / 0.9204 GB, free: 8.047 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.002972/1.145, allocations: 1.879 MB / 0.9222 GB, free: 6.16 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.01431/1.159, allocations: 6.895 MB / 0.929 GB, free: 15.25 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/1.159, allocations: 7.938 kB / 0.929 GB, free: 15.24 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.864e-06/1.159, allocations: 0 / 0.929 GB, free: 15.24 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0001311/1.159, allocations: 0 / 0.929 GB, free: 15.24 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.01178/1.171, allocations: 4.123 MB / 0.933 GB, free: 11.05 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.194e-05/1.171, allocations: 11.97 kB / 0.933 GB, free: 11.04 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00613/1.177, allocations: 0.9093 MB / 0.9339 GB, free: 10.12 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003565/1.181, allocations: 1.92 MB / 0.9358 GB, free: 8.145 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001592/1.181, allocations: 193.1 kB / 0.936 GB, free: 7.953 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000408/1.182, allocations: 263.9 kB / 0.9362 GB, free: 7.695 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005265/1.187, allocations: 3.327 MB / 0.9395 GB, free: 4.266 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.864e-05/1.187, allocations: 11.84 kB / 0.9395 GB, free: 4.254 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000231/1.187, allocations: 112 kB / 0.9396 GB, free: 4.145 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001317/1.187, allocations: 141 kB / 0.9397 GB, free: 4.004 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005498/1.193, allocations: 3.482 MB / 0.9431 GB, free: 0.5078 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.0157/1.208, allocations: 12.12 MB / 0.955 GB, free: 3.48 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00441/1.213, allocations: 3.498 MB / 0.9584 GB, free: 15.9 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002604/1.216, allocations: 1.81 MB / 0.9601 GB, free: 14.09 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001455/1.217, allocations: 1.494 MB / 0.9616 GB, free: 12.28 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.162e-05/1.217, allocations: 76.62 kB / 0.9617 GB, free: 12.2 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=278): time 4.268e-06/1.217, allocations: 0 / 0.9617 GB, free: 12.2 MB / 0.6856 GB Notification: Performance of matching and sorting (n=278): time 0.006804/1.224, allocations: 3.877 MB / 0.9655 GB, free: 8.27 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.174e-05/1.224, allocations: 81.59 kB / 0.9655 GB, free: 8.176 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002168/1.226, allocations: 1.372 MB / 0.9669 GB, free: 6.797 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0002712/1.226, allocations: 77.7 kB / 0.9669 GB, free: 6.715 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007146/1.227, allocations: 0.9882 MB / 0.9679 GB, free: 5.715 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008904/1.228, allocations: 0.9432 MB / 0.9688 GB, free: 4.758 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005991/1.229, allocations: 412.9 kB / 0.9692 GB, free: 4.348 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 9.526e-05/1.229, allocations: 301.1 kB / 0.9695 GB, free: 4.051 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001723/1.23, allocations: 1.09 MB / 0.9706 GB, free: 2.957 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001903/1.232, allocations: 1.377 MB / 0.9719 GB, free: 1.5 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003962/1.236, allocations: 2.646 MB / 0.9745 GB, free: 14.76 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.796e-06/1.236, allocations: 0 / 0.9745 GB, free: 14.76 MB / 0.7012 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.00491/1.241, allocations: 2.97 MB / 0.9774 GB, free: 11.75 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.711e-05/1.241, allocations: 4 kB / 0.9774 GB, free: 11.74 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.524e-05/1.241, allocations: 7.938 kB / 0.9774 GB, free: 11.73 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.08e-05/1.241, allocations: 19.94 kB / 0.9774 GB, free: 11.71 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002179/1.244, allocations: 0.5072 MB / 0.9779 GB, free: 11.21 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.86e-05/1.244, allocations: 19.94 kB / 0.978 GB, free: 11.19 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00204/1.246, allocations: 187.5 kB / 0.9781 GB, free: 11 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001614/1.246, allocations: 87.98 kB / 0.9782 GB, free: 10.92 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.001109/1.247, allocations: 0.6455 MB / 0.9788 GB, free: 10.26 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004136/1.247, allocations: 229.3 kB / 0.9791 GB, free: 10.04 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004775/1.252, allocations: 3.096 MB / 0.9821 GB, free: 6.879 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.293e-05/1.252, allocations: 31.94 kB / 0.9821 GB, free: 6.848 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.546e-06/1.252, allocations: 0 / 0.9821 GB, free: 6.848 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003681/1.256, allocations: 2.649 MB / 0.9847 GB, free: 4.129 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009495/1.265, allocations: 6.197 MB / 0.9908 GB, free: 13.83 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.786e-06/1.265, allocations: 0 / 0.9908 GB, free: 13.83 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002515/1.268, allocations: 0.5462 MB / 0.9913 GB, free: 13.28 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.586e-05/1.268, allocations: 8 kB / 0.9913 GB, free: 13.27 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001704/1.268, allocations: 71.97 kB / 0.9914 GB, free: 13.2 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.401e-05/1.268, allocations: 11.94 kB / 0.9914 GB, free: 13.19 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/1.268, allocations: 0 / 0.9914 GB, free: 13.19 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006845/1.275, allocations: 4.807 MB / 0.9961 GB, free: 8.301 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001489/1.277, allocations: 0.6071 MB / 0.9967 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000316/1.277, allocations: 51.98 kB / 0.9967 GB, free: 7.621 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00152/1.278, allocations: 64.48 kB / 0.9968 GB, free: 7.559 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003034/1.279, allocations: 169.9 kB / 0.9969 GB, free: 7.391 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001624/1.279, allocations: 79.98 kB / 0.997 GB, free: 7.312 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001267/1.28, allocations: 0.9462 MB / 0.9979 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.7e-07/1.28, allocations: 0 / 0.9979 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.00209/1.282, allocations: 0.9784 MB / 0.9989 GB, free: 5.391 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.0006261/1.283, allocations: 376.7 kB / 0.9993 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.004187/1.287, allocations: 2.783 MB / 1.002 GB, free: 2.203 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.99e-06/1.287, allocations: 8.062 kB / 1.002 GB, free: 2.195 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.002024/1.289, allocations: 1.504 MB / 1.003 GB, free: 0.6875 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005234/1.294, allocations: 1.357 MB / 1.005 GB, free: 15.4 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009359/1.304, allocations: 5.981 MB / 1.011 GB, free: 9.371 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00149/1.305, allocations: 1.895 MB / 1.012 GB, free: 7.438 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.002871/1.308, allocations: 0.8358 MB / 1.013 GB, free: 6.598 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007286/1.309, allocations: 207.4 kB / 1.013 GB, free: 6.395 MB / 0.7325 GB Notification: Performance of SimCode: time 1.192e-06/1.309, allocations: 4 kB / 1.013 GB, free: 6.391 MB / 0.7325 GB Notification: Performance of Templates: time 0.3588/1.668, allocations: 49.83 MB / 1.062 GB, free: 314.2 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 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe 2>&1)