Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy3Zones") translateModel(IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy3Zones,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001142/0.001142, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001186/0.001186, allocations: 196 kB / 16.14 MB, free: 6.727 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.411/1.411, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9313/0.9313, allocations: 135.1 MB / 425.1 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001201/0.001201, allocations: 64.12 kB / 0.5047 GB, free: 5.797 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1646/0.1658, allocations: 80.93 MB / 0.5837 GB, free: 5.035 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 0.991/1.157, allocations: 292.9 MB / 0.8697 GB, free: 1.465 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02219/1.179, allocations: 17.21 MB / 0.8866 GB, free: 1.309 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005017/1.184, allocations: 69.16 kB / 0.8866 GB, free: 1.309 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.005081/1.189, allocations: 1.658 MB / 0.8882 GB, free: 1.289 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01865/1.208, allocations: 6.064 MB / 0.8942 GB, free: 0.9961 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.007793/1.216, allocations: 2.664 MB / 0.8968 GB, free: 0.9141 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.01452/1.23, allocations: 11.2 MB / 0.9077 GB, free: 0.8984 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004391/1.235, allocations: 2.215 MB / 0.9099 GB, free: 16.59 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007164/1.242, allocations: 2.419 MB / 0.9122 GB, free: 16.59 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007684/1.25, allocations: 2.811 MB / 0.915 GB, free: 16.57 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.001335/1.251, allocations: 183.6 kB / 0.9151 GB, free: 16.57 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01602/1.267, allocations: 7.174 MB / 0.9221 GB, free: 16.52 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.00303/1.27, allocations: 1.204 MB / 0.9233 GB, free: 16.51 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.008371/1.279, allocations: 1.73 MB / 0.925 GB, free: 16.16 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01847/1.297, allocations: 7.173 MB / 0.932 GB, free: 14.86 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 6.171e-06/1.297, allocations: 0 / 0.932 GB, free: 14.86 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.513e-06/1.297, allocations: 0 / 0.932 GB, free: 14.86 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0002167/1.297, allocations: 0 / 0.932 GB, free: 14.86 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.01538/1.313, allocations: 4.126 MB / 0.936 GB, free: 12.64 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.208e-05/1.313, allocations: 7.625 kB / 0.9361 GB, free: 12.64 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007431/1.32, allocations: 0.9152 MB / 0.9369 GB, free: 12.27 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004164/1.324, allocations: 1.847 MB / 0.9388 GB, free: 11.45 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001191/1.324, allocations: 194.1 kB / 0.9389 GB, free: 11.44 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000389/1.325, allocations: 262.8 kB / 0.9392 GB, free: 11.43 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005498/1.33, allocations: 3.339 MB / 0.9424 GB, free: 10.49 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.524e-05/1.33, allocations: 5.562 kB / 0.9425 GB, free: 10.49 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002472/1.331, allocations: 108.8 kB / 0.9426 GB, free: 10.49 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001361/1.331, allocations: 135.9 kB / 0.9427 GB, free: 10.47 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006096/1.337, allocations: 3.489 MB / 0.9461 GB, free: 9.848 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.01701/1.354, allocations: 12.07 MB / 0.9579 GB, free: 1.992 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004407/1.358, allocations: 3.488 MB / 0.9613 GB, free: 15.67 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002655/1.361, allocations: 1.82 MB / 0.9631 GB, free: 14.48 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00159/1.363, allocations: 1.491 MB / 0.9645 GB, free: 12.69 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.287e-05/1.363, allocations: 62.62 kB / 0.9646 GB, free: 12.63 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=278): time 4.128e-06/1.363, allocations: 0 / 0.9646 GB, free: 12.63 MB / 0.7012 GB Notification: Performance of matching and sorting (n=278): time 0.006701/1.369, allocations: 3.88 MB / 0.9684 GB, free: 9.523 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.781e-05/1.37, allocations: 81.59 kB / 0.9684 GB, free: 9.43 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002064/1.372, allocations: 1.379 MB / 0.9698 GB, free: 8.043 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0002315/1.372, allocations: 73.7 kB / 0.9699 GB, free: 7.965 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007084/1.373, allocations: 0.9881 MB / 0.9708 GB, free: 6.965 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009056/1.373, allocations: 0.9455 MB / 0.9717 GB, free: 6.027 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006304/1.374, allocations: 409 kB / 0.9721 GB, free: 5.621 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001063/1.374, allocations: 305.1 kB / 0.9724 GB, free: 5.32 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00187/1.376, allocations: 1.09 MB / 0.9735 GB, free: 4.227 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00199/1.378, allocations: 1.378 MB / 0.9748 GB, free: 2.773 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004031/1.382, allocations: 2.648 MB / 0.9774 GB, free: 52 kB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.116e-06/1.382, allocations: 4 kB / 0.9774 GB, free: 48 kB / 0.7012 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.005266/1.387, allocations: 2.964 MB / 0.9803 GB, free: 13.06 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.85e-05/1.388, allocations: 8.562 kB / 0.9803 GB, free: 13.05 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.487e-05/1.388, allocations: 4 kB / 0.9803 GB, free: 13.05 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.407e-05/1.388, allocations: 16 kB / 0.9804 GB, free: 13.04 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002254/1.39, allocations: 0.5126 MB / 0.9809 GB, free: 12.55 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.776e-05/1.39, allocations: 19.94 kB / 0.9809 GB, free: 12.54 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003504/1.393, allocations: 339.7 kB / 0.9812 GB, free: 12.2 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001948/1.394, allocations: 76 kB / 0.9813 GB, free: 12.13 MB / 0.7169 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.001754/1.395, allocations: 0.6588 MB / 0.9819 GB, free: 11.49 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006285/1.396, allocations: 229.3 kB / 0.9821 GB, free: 11.27 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005256/1.401, allocations: 3.096 MB / 0.9852 GB, free: 8.117 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.352e-05/1.401, allocations: 28 kB / 0.9852 GB, free: 8.09 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.866e-06/1.401, allocations: 0 / 0.9852 GB, free: 8.09 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00394/1.405, allocations: 2.659 MB / 0.9878 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01091/1.416, allocations: 6.195 MB / 0.9938 GB, free: 15.13 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.185e-06/1.416, allocations: 0 / 0.9938 GB, free: 15.13 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002526/1.419, allocations: 0.5597 MB / 0.9944 GB, free: 14.6 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.526e-05/1.419, allocations: 8 kB / 0.9944 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001607/1.419, allocations: 59.98 kB / 0.9944 GB, free: 14.53 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.326e-05/1.419, allocations: 8 kB / 0.9944 GB, free: 14.52 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/1.419, allocations: 0 / 0.9944 GB, free: 14.52 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007157/1.426, allocations: 4.802 MB / 0.9991 GB, free: 9.645 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002001/1.428, allocations: 0.6187 MB / 0.9997 GB, free: 9.004 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003571/1.428, allocations: 48 kB / 0.9998 GB, free: 8.957 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002044/1.431, allocations: 223.1 kB / 1 GB, free: 8.742 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003205/1.431, allocations: 161.9 kB / 1 GB, free: 8.582 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001609/1.431, allocations: 79.98 kB / 1 GB, free: 8.504 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001569/1.433, allocations: 0.9462 MB / 1.001 GB, free: 7.562 MB / 0.7325 GB Notification: Performance of sort global known variables: time 5.01e-07/1.433, allocations: 0 / 1.001 GB, free: 7.562 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002748/1.435, allocations: 0.9823 MB / 1.002 GB, free: 6.578 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.0006961/1.436, allocations: 383.1 kB / 1.002 GB, free: 6.246 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.004389/1.44, allocations: 2.765 MB / 1.005 GB, free: 3.484 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/1.441, allocations: 0 / 1.005 GB, free: 3.484 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.002029/1.443, allocations: 1.511 MB / 1.007 GB, free: 2.02 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005852/1.448, allocations: 1.286 MB / 1.008 GB, free: 0.7578 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0109/1.459, allocations: 7.207 MB / 1.015 GB, free: 9.531 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001712/1.461, allocations: 1.895 MB / 1.017 GB, free: 7.598 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.004105/1.465, allocations: 0.8397 MB / 1.018 GB, free: 6.754 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009219/1.466, allocations: 211.4 kB / 1.018 GB, free: 6.547 MB / 0.7481 GB Notification: Performance of SimCode: time 1.813e-06/1.466, allocations: 0 / 1.018 GB, free: 6.547 MB / 0.7481 GB Notification: Performance of Templates: time 0.08496/1.551, allocations: 47.63 MB / 1.064 GB, free: 7.613 MB / 0.795 GB make -j1 -f IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.makefile (rm -f IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; mkfifo IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe >> ../files/IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.sim & ./IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy3Zones -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe 2>&1)