Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy") translateModel(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005803/0.005803, allocations: 101.6 kB / 15.73 MB, free: 6.035 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.00123/0.00123, allocations: 199.3 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.408/1.408, allocations: 205.1 MB / 222.6 MB, free: 4.387 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.6029/0.6029, allocations: 95.47 MB / 365.4 MB, free: 9.699 MB / 302.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001455/0.001455, allocations: 68.33 kB / 0.5036 GB, free: 13.48 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1203/0.1217, allocations: 69.09 MB / 0.5711 GB, free: 8.332 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy): time 0.5126/0.6344, allocations: 221 MB / 0.7869 GB, free: 1.359 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02856/0.663, allocations: 17.46 MB / 0.8039 GB, free: 15.85 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003358/0.6663, allocations: 63.69 kB / 0.804 GB, free: 15.79 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.003708/0.6701, allocations: 1.32 MB / 0.8053 GB, free: 14.46 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.01093/0.681, allocations: 3.465 MB / 0.8086 GB, free: 10.98 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.006798/0.6879, allocations: 2.391 MB / 0.811 GB, free: 8.617 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.009941/0.6978, allocations: 7.561 MB / 0.8184 GB, free: 1.031 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004002/0.7019, allocations: 2.693 MB / 0.821 GB, free: 14.28 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006923/0.7088, allocations: 2.987 MB / 0.8239 GB, free: 11.3 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006042/0.7149, allocations: 3.064 MB / 0.8269 GB, free: 8.223 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.001623/0.7166, allocations: 324 kB / 0.8272 GB, free: 7.906 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008809/0.7254, allocations: 2.421 MB / 0.8296 GB, free: 5.48 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.002012/0.7275, allocations: 0.9426 MB / 0.8305 GB, free: 4.535 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.003239/0.7307, allocations: 1.735 MB / 0.8322 GB, free: 2.793 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.009548/0.7403, allocations: 4.833 MB / 0.8369 GB, free: 13.95 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 1.007e-05/0.7403, allocations: 4 kB / 0.8369 GB, free: 13.95 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.913e-06/0.7403, allocations: 0 / 0.8369 GB, free: 13.95 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0001291/0.7405, allocations: 3.984 kB / 0.8369 GB, free: 13.94 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: 615 * Number of variables: 615 Notification: Performance of Generate backend data structure: time 0.0084/0.7489, allocations: 3.561 MB / 0.8404 GB, free: 10.32 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.91e-05/0.7489, allocations: 15.98 kB / 0.8404 GB, free: 10.3 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009837/0.7499, allocations: 333.3 kB / 0.8407 GB, free: 9.973 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003116/0.7531, allocations: 1.73 MB / 0.8424 GB, free: 8.188 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001205/0.7532, allocations: 184.8 kB / 0.8426 GB, free: 8.004 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003879/0.7536, allocations: 243.9 kB / 0.8428 GB, free: 7.766 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004786/0.7584, allocations: 2.964 MB / 0.8457 GB, free: 4.699 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.611e-05/0.7585, allocations: 7.938 kB / 0.8457 GB, free: 4.691 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002466/0.7587, allocations: 100 kB / 0.8458 GB, free: 4.594 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.311e-05/0.7588, allocations: 56 kB / 0.8459 GB, free: 4.539 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005051/0.7638, allocations: 3.145 MB / 0.849 GB, free: 1.379 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.01401/0.7779, allocations: 10.42 MB / 0.8591 GB, free: 6.27 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004801/0.7827, allocations: 3.358 MB / 0.8624 GB, free: 2.867 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002835/0.7856, allocations: 1.826 MB / 0.8642 GB, free: 1.035 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003171/0.7887, allocations: 3.373 MB / 0.8675 GB, free: 12.92 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.637e-05/0.7888, allocations: 68.98 kB / 0.8676 GB, free: 12.84 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=309): time 6.171e-06/0.7889, allocations: 0 / 0.8676 GB, free: 12.84 MB / 0.6856 GB Notification: Performance of matching and sorting (n=329): time 0.02214/0.811, allocations: 9.542 MB / 0.8769 GB, free: 3.137 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.976e-05/0.8111, allocations: 119.7 kB / 0.877 GB, free: 3 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001865/0.813, allocations: 1.329 MB / 0.8783 GB, free: 1.66 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.000263/0.8133, allocations: 81.7 kB / 0.8784 GB, free: 1.574 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006097/0.8139, allocations: 0.8522 MB / 0.8792 GB, free: 0.7109 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.001059/0.815, allocations: 1.109 MB / 0.8803 GB, free: 15.58 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007598/0.8157, allocations: 494.6 kB / 0.8807 GB, free: 15.09 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001145/0.8159, allocations: 305.1 kB / 0.881 GB, free: 14.79 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002035/0.8179, allocations: 1.224 MB / 0.8822 GB, free: 13.56 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002255/0.8202, allocations: 1.587 MB / 0.8838 GB, free: 11.88 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004518/0.8247, allocations: 3.013 MB / 0.8867 GB, free: 8.742 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.506e-06/0.8247, allocations: 4 kB / 0.8867 GB, free: 8.738 MB / 0.7012 GB Notification: Performance of matching and sorting (n=378) (initialization): time 0.006207/0.8309, allocations: 3.792 MB / 0.8904 GB, free: 4.824 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.538e-05/0.831, allocations: 8 kB / 0.8904 GB, free: 4.816 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.23e-05/0.831, allocations: 11.94 kB / 0.8905 GB, free: 4.805 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002867/0.8313, allocations: 115.6 kB / 0.8906 GB, free: 4.68 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002954/0.8343, allocations: 0.6515 MB / 0.8912 GB, free: 4.027 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3427/1.177, allocations: 5.624 MB / 0.8967 GB, free: 263.5 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002967/1.18, allocations: 71.7 kB / 0.8968 GB, free: 263.5 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004052/1.18, allocations: 111.3 kB / 0.8969 GB, free: 263.5 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (374): * Single equations (assignments): 370 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001434/1.182, allocations: 0.5684 MB / 0.8974 GB, free: 263.4 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007558/1.183, allocations: 240.2 kB / 0.8976 GB, free: 263.4 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008405/1.191, allocations: 4.507 MB / 0.9021 GB, free: 262.3 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.893e-05/1.191, allocations: 40.3 kB / 0.9021 GB, free: 262.3 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.345e-05/1.191, allocations: 0.75 kB / 0.9021 GB, free: 262.3 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.329e-05/1.191, allocations: 21.8 kB / 0.9021 GB, free: 262.3 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01423/1.205, allocations: 7.282 MB / 0.9092 GB, free: 259 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.751e-05/1.205, allocations: 5.844 kB / 0.9092 GB, free: 259 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003138/1.209, allocations: 0.6147 MB / 0.9098 GB, free: 258.9 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002523/1.209, allocations: 103.2 kB / 0.9099 GB, free: 258.9 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002218/1.209, allocations: 85.55 kB / 0.91 GB, free: 258.8 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002728/1.212, allocations: 5.622 MB / 0.9155 GB, free: 253.1 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/1.212, allocations: 1.344 kB / 0.9155 GB, free: 253.1 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009629/1.221, allocations: 5.921 MB / 0.9213 GB, free: 250.5 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001741/1.223, allocations: 0.6236 MB / 0.9219 GB, free: 250.2 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004688/1.224, allocations: 74.69 kB / 0.922 GB, free: 250.1 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001684/1.225, allocations: 69.97 kB / 0.922 GB, free: 250.1 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005006/1.226, allocations: 221.5 kB / 0.9222 GB, free: 250.1 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002364/1.226, allocations: 117.3 kB / 0.9224 GB, free: 250 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001298/1.227, allocations: 0.9268 MB / 0.9233 GB, free: 249.7 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.6e-07/1.227, allocations: 0 / 0.9233 GB, free: 249.7 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.003451/1.231, allocations: 1.062 MB / 0.9243 GB, free: 249.5 MB / 0.7012 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 16 (volBotEas.dynBal.medium.p,volBotEas.dynBal.medium.T,oriOutBot.mExc,oriOutTop.mExc,oriWesTop.mExc,dooOpeClo.mExcAB,dooOpeClo.mExcBA,volBotWes.dynBal.medium.p,volBotWes.dynBal.medium.T,oriEasTop.mExc,volTopEas.dynBal.medium.p,volTopEas.dynBal.medium.T,volTopWes.dynBal.medium.p,volTopWes.dynBal.medium.T,dooOpeCloTop.mExcAB,dooOpeCloTop.mExcBA) * 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 (357): * Single equations (assignments): 347 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002035/1.233, allocations: 0.7873 MB / 0.9251 GB, free: 249.3 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.005706/1.239, allocations: 3.729 MB / 0.9287 GB, free: 247.8 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 7.083e-06/1.239, allocations: 3.938 kB / 0.9287 GB, free: 247.8 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.002768/1.242, allocations: 2.287 MB / 0.9309 GB, free: 246.7 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005408/1.247, allocations: 1.203 MB / 0.9321 GB, free: 246.3 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01121/1.258, allocations: 6.303 MB / 0.9383 GB, free: 243.3 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001069/1.259, allocations: 1.763 MB / 0.94 GB, free: 242.2 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.00301/1.262, allocations: 0.905 MB / 0.9409 GB, free: 241.8 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008268/1.263, allocations: 269.4 kB / 0.9411 GB, free: 241.6 MB / 0.7012 GB Notification: Performance of SimCode: time 1.443e-06/1.263, allocations: 0 / 0.9411 GB, free: 241.6 MB / 0.7012 GB Notification: Performance of Templates: time 0.07169/1.335, allocations: 57.5 MB / 0.9973 GB, free: 184.7 MB / 0.7012 GB make -j1 -f Buildings_1.6_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.makefile (rm -f Buildings_1.6_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; mkfifo Buildings_1.6_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe >> ../files/Buildings_1.6_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.sim & ./Buildings_1.6_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe 2>&1)