Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy3Zones,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy3Zones") translateModel(BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy3Zones,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.000849/0.000849, allocations: 90.44 kB / 15.06 MB, free: 1.094 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.0009288/0.0009289, allocations: 172.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.4/1.4, allocations: 223.3 MB / 240 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001734/0.001734, allocations: 263.1 kB / 291.3 MB, free: 1.98 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9737/0.9737, allocations: 169.5 MB / 0.5 GB, free: 14.23 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004064/0.0004064, allocations: 15.56 kB / 0.598 GB, free: 28.27 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1565/0.157, allocations: 88.54 MB / 0.6845 GB, free: 15.46 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 0.5872/0.7442, allocations: 269.6 MB / 0.9477 GB, free: 2.605 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02242/0.7666, allocations: 15.99 MB / 0.9633 GB, free: 2.59 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003146/0.7698, allocations: 67.56 kB / 0.9634 GB, free: 2.523 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.004541/0.7744, allocations: 1.235 MB / 0.9646 GB, free: 1.281 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01448/0.7889, allocations: 4.686 MB / 0.9692 GB, free: 12.57 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.006995/0.7959, allocations: 2.031 MB / 0.9712 GB, free: 10.55 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.01265/0.8085, allocations: 9.362 MB / 0.9803 GB, free: 1.16 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003361/0.8119, allocations: 1.934 MB / 0.9822 GB, free: 15.2 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005262/0.8172, allocations: 2.389 MB / 0.9845 GB, free: 12.8 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00496/0.8222, allocations: 2.62 MB / 0.9871 GB, free: 10.17 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0006051/0.8228, allocations: 156 kB / 0.9872 GB, free: 10.02 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01089/0.8337, allocations: 3.047 MB / 0.9902 GB, free: 6.965 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.003048/0.8368, allocations: 1.157 MB / 0.9913 GB, free: 5.805 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.002619/0.8395, allocations: 0.668 MB / 0.992 GB, free: 5.129 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.01164/0.8511, allocations: 4.528 MB / 0.9964 GB, free: 0.5898 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 1.114e-05/0.8512, allocations: 4 kB / 0.9964 GB, free: 0.5859 MB / 0.7012 GB Notification: Performance of FrontEnd: time 4.108e-06/0.8512, allocations: 0 / 0.9964 GB, free: 0.5859 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.0003234/0.8515, allocations: 0 / 0.9964 GB, free: 0.5859 MB / 0.7012 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.0135/0.865, allocations: 3.582 MB / 0.9999 GB, free: 12.94 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.628e-05/0.8651, allocations: 12.03 kB / 0.9999 GB, free: 12.93 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00701/0.8721, allocations: 0.921 MB / 1.001 GB, free: 12 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005568/0.8777, allocations: 1.773 MB / 1.003 GB, free: 10.17 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002427/0.878, allocations: 193.1 kB / 1.003 GB, free: 9.98 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009677/0.879, allocations: 259.9 kB / 1.003 GB, free: 9.727 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007039/0.886, allocations: 3.319 MB / 1.006 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.478e-05/0.8861, allocations: 3.938 kB / 1.006 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002377/0.8864, allocations: 104 kB / 1.006 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000148/0.8865, allocations: 144.9 kB / 1.006 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005719/0.8922, allocations: 3.478 MB / 1.01 GB, free: 2.562 MB / 0.7169 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.01544/0.9077, allocations: 12.11 MB / 1.022 GB, free: 5.547 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004364/0.9121, allocations: 3.493 MB / 1.025 GB, free: 1.973 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002559/0.9147, allocations: 1.795 MB / 1.027 GB, free: 172 kB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00141/0.9161, allocations: 1.505 MB / 1.028 GB, free: 14.35 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.093e-05/0.9162, allocations: 64.75 kB / 1.028 GB, free: 14.27 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=278): time 4.358e-06/0.9162, allocations: 4 kB / 1.028 GB, free: 14.27 MB / 0.7481 GB Notification: Performance of matching and sorting (n=278): time 0.006343/0.9225, allocations: 3.861 MB / 1.032 GB, free: 10.36 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.403e-05/0.9226, allocations: 77.59 kB / 1.032 GB, free: 10.27 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001875/0.9245, allocations: 1.368 MB / 1.034 GB, free: 8.895 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0001815/0.9247, allocations: 81.7 kB / 1.034 GB, free: 8.809 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007269/0.9254, allocations: 0.9803 MB / 1.035 GB, free: 7.816 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008304/0.9263, allocations: 0.9393 MB / 1.036 GB, free: 6.863 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001279/0.9264, allocations: 52 kB / 1.036 GB, free: 6.812 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001717/0.9266, allocations: 402.9 kB / 1.036 GB, free: 6.414 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001703/0.9283, allocations: 1.078 MB / 1.037 GB, free: 5.332 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00185/0.9301, allocations: 1.351 MB / 1.038 GB, free: 3.914 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001966/0.9321, allocations: 1.278 MB / 1.04 GB, free: 2.617 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.474e-06/0.9321, allocations: 4 kB / 1.04 GB, free: 2.613 MB / 0.7481 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.3378/1.27, allocations: 2.955 MB / 1.042 GB, free: 274.3 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 3.676e-05/1.27, allocations: 8.078 kB / 1.042 GB, free: 274.3 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.088e-05/1.27, allocations: 5.75 kB / 1.042 GB, free: 274.3 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.324e-05/1.27, allocations: 15.47 kB / 1.042 GB, free: 274.3 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002688/1.273, allocations: 0.5092 MB / 1.043 GB, free: 274.3 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.242e-05/1.273, allocations: 21.36 kB / 1.043 GB, free: 274.3 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002856/1.276, allocations: 377.8 kB / 1.043 GB, free: 274.3 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001884/1.276, allocations: 85.52 kB / 1.043 GB, free: 274.3 MB / 0.7481 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001511/1.277, allocations: 0.644 MB / 1.044 GB, free: 274.2 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005666/1.278, allocations: 231.3 kB / 1.044 GB, free: 274.2 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006886/1.285, allocations: 3.108 MB / 1.047 GB, free: 274 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.261e-05/1.285, allocations: 31.06 kB / 1.047 GB, free: 274 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.133e-05/1.285, allocations: 0 / 1.047 GB, free: 274 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00369/1.289, allocations: 2.643 MB / 1.05 GB, free: 272.8 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009249/1.298, allocations: 6.201 MB / 1.056 GB, free: 270.3 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.395e-06/1.298, allocations: 3.938 kB / 1.056 GB, free: 270.3 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002419/1.3, allocations: 0.5451 MB / 1.057 GB, free: 270.3 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.173e-05/1.3, allocations: 13.58 kB / 1.057 GB, free: 270.3 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001576/1.301, allocations: 57.02 kB / 1.057 GB, free: 270.3 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-05/1.301, allocations: 11.78 kB / 1.057 GB, free: 270.3 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/1.301, allocations: 0 / 1.057 GB, free: 270.3 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006569/1.307, allocations: 4.559 MB / 1.061 GB, free: 268.4 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001511/1.309, allocations: 0.609 MB / 1.062 GB, free: 268 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003887/1.309, allocations: 53.06 kB / 1.062 GB, free: 267.9 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002029/1.311, allocations: 225 kB / 1.062 GB, free: 267.9 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004178/1.312, allocations: 159.9 kB / 1.062 GB, free: 267.9 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002081/1.312, allocations: 85.86 kB / 1.062 GB, free: 267.9 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001637/1.313, allocations: 0.9322 MB / 1.063 GB, free: 267.5 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.1e-07/1.313, allocations: 0 / 1.063 GB, free: 267.5 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.002872/1.316, allocations: 0.9821 MB / 1.064 GB, free: 267.3 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 18 (volEas.dynBal.medium.Xi[1],volEas.dynBal.U,volEas.dynBal.m,oriOutBot.mExc,oriOutTop.mExc,volOut.dynBal.medium.Xi[1],volOut.dynBal.U,volOut.dynBal.m,oriWesTop.mExc,dooOpeClo.mExcAB,dooOpeClo.mExcBA,oriEasTop.mExc,volTop.dynBal.medium.Xi[1],volTop.dynBal.U,volTop.dynBal.m,volWes.dynBal.medium.Xi[1],volWes.dynBal.U,volWes.dynBal.m) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007246/1.317, allocations: 379.9 kB / 1.064 GB, free: 267.1 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.004626/1.322, allocations: 2.746 MB / 1.067 GB, free: 266.2 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 6.863e-06/1.322, allocations: 0.9688 kB / 1.067 GB, free: 266.2 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.002154/1.324, allocations: 1.508 MB / 1.069 GB, free: 265.6 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005915/1.33, allocations: 1.293 MB / 1.07 GB, free: 265.4 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009472/1.339, allocations: 7.314 MB / 1.077 GB, free: 261.5 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001159/1.341, allocations: 1.897 MB / 1.079 GB, free: 260.6 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.003421/1.344, allocations: 0.8479 MB / 1.08 GB, free: 260.4 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007773/1.345, allocations: 204.8 kB / 1.08 GB, free: 260.4 MB / 0.7481 GB Notification: Performance of SimCode: time 2.414e-06/1.345, allocations: 4 kB / 1.08 GB, free: 260.4 MB / 0.7481 GB Notification: Performance of Templates: time 0.06399/1.409, allocations: 45.71 MB / 1.124 GB, free: 219.7 MB / 0.7481 GB make -j1 -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.makefile (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.sim & ./BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy3Zones -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe 2>&1)