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.001654/0.001654, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001627/0.001627, allocations: 192.6 kB / 16.25 MB, free: 6.633 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.427/1.427, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9721/0.9721, allocations: 135.6 MB / 425.6 MB, free: 11.86 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001915/0.001915, allocations: 63.47 kB / 0.5054 GB, free: 5.184 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1768/0.1787, allocations: 81.03 MB / 0.5845 GB, free: 4.301 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 1.014/1.193, allocations: 291.7 MB / 0.8693 GB, free: 1.402 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.0219/1.215, allocations: 16.93 MB / 0.8858 GB, free: 1.352 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005166/1.22, allocations: 68.58 kB / 0.8859 GB, free: 1.352 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.005511/1.226, allocations: 1.697 MB / 0.8876 GB, free: 1.316 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01862/1.244, allocations: 6.05 MB / 0.8935 GB, free: 1.066 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.008315/1.253, allocations: 2.705 MB / 0.8961 GB, free: 0.9961 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.01313/1.266, allocations: 7.696 MB / 0.9036 GB, free: 0.9805 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005601/1.272, allocations: 2.545 MB / 0.9061 GB, free: 16.71 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009489/1.281, allocations: 2.824 MB / 0.9089 GB, free: 16.71 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008645/1.29, allocations: 2.865 MB / 0.9117 GB, free: 16.71 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.001709/1.291, allocations: 326.9 kB / 0.912 GB, free: 16.71 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01895/1.31, allocations: 6.43 MB / 0.9183 GB, free: 16.64 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.003739/1.314, allocations: 1.344 MB / 0.9196 GB, free: 16.64 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.005519/1.32, allocations: 1.881 MB / 0.9214 GB, free: 16.3 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.0184/1.338, allocations: 7.286 MB / 0.9285 GB, free: 15.55 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 9.468e-06/1.338, allocations: 2.938 kB / 0.9285 GB, free: 15.55 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.964e-06/1.338, allocations: 0 / 0.9285 GB, free: 15.55 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0001657/1.338, allocations: 0.8125 kB / 0.9285 GB, free: 15.55 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.01431/1.353, allocations: 4.131 MB / 0.9326 GB, free: 13.9 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.463e-05/1.353, allocations: 8.875 kB / 0.9326 GB, free: 13.9 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006528/1.359, allocations: 0.9097 MB / 0.9335 GB, free: 13.73 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004264/1.364, allocations: 1.844 MB / 0.9353 GB, free: 13.21 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001531/1.364, allocations: 197 kB / 0.9355 GB, free: 13.21 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004976/1.364, allocations: 261.2 kB / 0.9357 GB, free: 13.2 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006299/1.371, allocations: 3.333 MB / 0.939 GB, free: 12.55 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.794e-05/1.371, allocations: 8.812 kB / 0.939 GB, free: 12.55 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002643/1.371, allocations: 111 kB / 0.9391 GB, free: 12.55 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001548/1.371, allocations: 136.7 kB / 0.9392 GB, free: 12.53 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006232/1.377, allocations: 3.491 MB / 0.9426 GB, free: 11.9 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.02016/1.398, allocations: 12.06 MB / 0.9544 GB, free: 4.121 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00454/1.402, allocations: 3.493 MB / 0.9578 GB, free: 3.211 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002944/1.405, allocations: 1.823 MB / 0.9596 GB, free: 2.008 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001833/1.407, allocations: 1.491 MB / 0.961 GB, free: 224 kB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.842e-05/1.407, allocations: 67.19 kB / 0.9611 GB, free: 164 kB / 0.6856 GB Notification: Performance of pre-optimization done (n=278): time 3.997e-06/1.407, allocations: 0 / 0.9611 GB, free: 164 kB / 0.6856 GB Notification: Performance of matching and sorting (n=278): time 0.007545/1.415, allocations: 3.875 MB / 0.9649 GB, free: 12.49 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.031e-05/1.415, allocations: 81.59 kB / 0.965 GB, free: 12.39 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002386/1.417, allocations: 1.38 MB / 0.9663 GB, free: 11.01 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0002954/1.417, allocations: 77.7 kB / 0.9664 GB, free: 10.93 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.00091/1.418, allocations: 0.9904 MB / 0.9673 GB, free: 9.926 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.001138/1.42, allocations: 0.94 MB / 0.9683 GB, free: 8.992 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006929/1.42, allocations: 408.9 kB / 0.9687 GB, free: 8.586 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001494/1.42, allocations: 305.1 kB / 0.9689 GB, free: 8.285 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001938/1.422, allocations: 1.092 MB / 0.97 GB, free: 7.191 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002259/1.425, allocations: 1.377 MB / 0.9714 GB, free: 5.738 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004577/1.429, allocations: 2.642 MB / 0.9739 GB, free: 3.02 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.525e-05/1.429, allocations: 4 kB / 0.9739 GB, free: 3.016 MB / 0.7012 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.005852/1.435, allocations: 2.964 MB / 0.9768 GB, free: 32 kB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.782e-05/1.435, allocations: 8 kB / 0.9768 GB, free: 24 kB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.752e-05/1.435, allocations: 8 kB / 0.9768 GB, free: 16 kB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.538e-05/1.435, allocations: 16.56 kB / 0.9769 GB, free: 0 / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002322/1.438, allocations: 0.5126 MB / 0.9774 GB, free: 15.52 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.959e-05/1.438, allocations: 19.98 kB / 0.9774 GB, free: 15.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003624/1.441, allocations: 335.4 kB / 0.9777 GB, free: 15.17 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002055/1.441, allocations: 83.98 kB / 0.9778 GB, free: 15.09 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.001784/1.443, allocations: 0.6472 MB / 0.9784 GB, free: 14.46 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008328/1.444, allocations: 233.3 kB / 0.9786 GB, free: 14.23 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005805/1.45, allocations: 3.093 MB / 0.9817 GB, free: 11.09 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.029e-05/1.45, allocations: 28 kB / 0.9817 GB, free: 11.06 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.526e-06/1.45, allocations: 0 / 0.9817 GB, free: 11.06 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004362/1.454, allocations: 2.656 MB / 0.9843 GB, free: 8.336 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01202/1.466, allocations: 6.208 MB / 0.9903 GB, free: 2.098 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.994e-06/1.466, allocations: 0 / 0.9903 GB, free: 2.098 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002817/1.469, allocations: 0.5597 MB / 0.9909 GB, free: 1.562 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.652e-05/1.469, allocations: 8 kB / 0.9909 GB, free: 1.555 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001882/1.47, allocations: 63.92 kB / 0.991 GB, free: 1.492 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.234e-05/1.47, allocations: 8 kB / 0.991 GB, free: 1.484 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/1.47, allocations: 0 / 0.991 GB, free: 1.484 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008816/1.478, allocations: 4.802 MB / 0.9957 GB, free: 12.61 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002273/1.481, allocations: 0.6148 MB / 0.9963 GB, free: 11.97 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005086/1.481, allocations: 48 kB / 0.9963 GB, free: 11.92 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002439/1.484, allocations: 226.6 kB / 0.9965 GB, free: 11.7 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000385/1.484, allocations: 169.9 kB / 0.9967 GB, free: 11.54 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001757/1.484, allocations: 75.98 kB / 0.9968 GB, free: 11.46 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001696/1.486, allocations: 0.9423 MB / 0.9977 GB, free: 10.52 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/1.486, allocations: 0 / 0.9977 GB, free: 10.52 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.003001/1.489, allocations: 0.9862 MB / 0.9986 GB, free: 9.535 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.0007826/1.49, allocations: 378.6 kB / 0.999 GB, free: 9.207 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.01376/1.504, allocations: 5.54 MB / 1.004 GB, free: 3.695 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 6.993e-06/1.504, allocations: 0 / 1.004 GB, free: 3.695 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.002486/1.506, allocations: 1.51 MB / 1.006 GB, free: 2.234 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006825/1.513, allocations: 1.353 MB / 1.007 GB, free: 0.9492 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01245/1.525, allocations: 7.196 MB / 1.014 GB, free: 9.73 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001817/1.527, allocations: 1.895 MB / 1.016 GB, free: 7.797 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.003724/1.531, allocations: 0.8358 MB / 1.017 GB, free: 6.957 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008286/1.532, allocations: 211.4 kB / 1.017 GB, free: 6.75 MB / 0.7481 GB Notification: Performance of SimCode: time 1.273e-06/1.532, allocations: 0 / 1.017 GB, free: 6.75 MB / 0.7481 GB Notification: Performance of Templates: time 0.09095/1.623, allocations: 49.53 MB / 1.065 GB, free: 5.988 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)