Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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: "" <> buildModelFMU(IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy3Zones,fileNamePrefix="IBPSA_latest_IBPSA_Airflow_Multizone_Examples_ReverseBuoyancy3Zones",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy3Zones,fileNamePrefix="IBPSA_latest_IBPSA_Airflow_Multizone_Examples_ReverseBuoyancy3Zones",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009583/0.0009582, allocations: 101.4 kB / 16.27 MB, free: 6.395 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.001076/0.001076, allocations: 186.7 kB / 17.2 MB, free: 5.938 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.151/1.151, allocations: 222.9 MB / 240.9 MB, free: 15.3 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7137/0.7137, allocations: 122.9 MB / 413.9 MB, free: 15.82 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 63.89 kB / 0.4912 GB, free: 7.348 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2946/0.2959, allocations: 77.93 MB / 0.5673 GB, free: 32.54 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 0.503/0.7989, allocations: 295.1 MB / 0.8555 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02016/0.8191, allocations: 17.01 MB / 0.8721 GB, free: 8.871 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002811/0.8219, allocations: 79.47 kB / 0.8721 GB, free: 8.871 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.003924/0.8259, allocations: 1.883 MB / 0.874 GB, free: 8.023 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.01426/0.8402, allocations: 6.446 MB / 0.8803 GB, free: 4.008 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.00657/0.8468, allocations: 2.936 MB / 0.8831 GB, free: 1.656 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.008741/0.8555, allocations: 7.711 MB / 0.8907 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003072/0.8586, allocations: 2.586 MB / 0.8932 GB, free: 8.129 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004116/0.8627, allocations: 2.766 MB / 0.8959 GB, free: 5.52 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003859/0.8666, allocations: 2.707 MB / 0.8985 GB, free: 3.043 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0005476/0.8672, allocations: 327.9 kB / 0.8989 GB, free: 2.723 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01135/0.8785, allocations: 6.167 MB / 0.9049 GB, free: 12.78 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.001391/0.8799, allocations: 1.336 MB / 0.9062 GB, free: 11.44 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.002301/0.8823, allocations: 1.879 MB / 0.908 GB, free: 9.555 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.01125/0.8935, allocations: 6.837 MB / 0.9147 GB, free: 2.699 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.8936, allocations: 0 / 0.9147 GB, free: 2.699 MB / 0.6231 GB Notification: Performance of FrontEnd: time 9.32e-07/0.8936, allocations: 4 kB / 0.9147 GB, free: 2.695 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 3.755e-05/0.8936, allocations: 0 / 0.9147 GB, free: 2.695 MB / 0.6231 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.008532/0.9021, allocations: 4.127 MB / 0.9187 GB, free: 14.5 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.534e-05/0.9022, allocations: 8.031 kB / 0.9187 GB, free: 14.49 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004033/0.9026, allocations: 367 kB / 0.9191 GB, free: 14.12 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005627/0.9082, allocations: 0.9211 MB / 0.92 GB, free: 13.2 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002642/0.9109, allocations: 1.842 MB / 0.9218 GB, free: 11.3 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001198/0.911, allocations: 193.1 kB / 0.922 GB, free: 11.11 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003814/0.9114, allocations: 267.8 kB / 0.9222 GB, free: 10.84 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004799/0.9162, allocations: 3.334 MB / 0.9255 GB, free: 7.406 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.959e-05/0.9163, allocations: 3.938 kB / 0.9255 GB, free: 7.402 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002338/0.9165, allocations: 112 kB / 0.9256 GB, free: 7.293 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001251/0.9166, allocations: 133 kB / 0.9257 GB, free: 7.16 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005198/0.9219, allocations: 3.502 MB / 0.9291 GB, free: 3.645 MB / 0.6387 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.01339/0.9353, allocations: 12.23 MB / 0.9411 GB, free: 6.516 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004256/0.9395, allocations: 3.506 MB / 0.9445 GB, free: 2.918 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002532/0.9421, allocations: 1.814 MB / 0.9463 GB, free: 1.102 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001375/0.9435, allocations: 1.501 MB / 0.9477 GB, free: 15.29 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.014e-05/0.9435, allocations: 65.16 kB / 0.9478 GB, free: 15.21 MB / 0.67 GB Notification: Performance of pre-optimization done (n=278): time 4.488e-06/0.9435, allocations: 0 / 0.9478 GB, free: 15.21 MB / 0.67 GB Notification: Performance of matching and sorting (n=278): time 0.006078/0.9496, allocations: 3.893 MB / 0.9516 GB, free: 11.27 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.976e-05/0.9497, allocations: 77.59 kB / 0.9517 GB, free: 11.18 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00169/0.9514, allocations: 1.372 MB / 0.953 GB, free: 9.801 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.000154/0.9515, allocations: 77.7 kB / 0.9531 GB, free: 9.719 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006089/0.9522, allocations: 0.9804 MB / 0.9541 GB, free: 8.727 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007256/0.9529, allocations: 0.947 MB / 0.955 GB, free: 7.766 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005803/0.9535, allocations: 409 kB / 0.9554 GB, free: 7.359 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 7.85e-05/0.9536, allocations: 301.1 kB / 0.9557 GB, free: 7.062 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001606/0.9552, allocations: 1.098 MB / 0.9567 GB, free: 5.961 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001813/0.957, allocations: 1.355 MB / 0.958 GB, free: 4.539 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003697/0.9607, allocations: 2.642 MB / 0.9606 GB, free: 1.805 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.722e-06/0.9607, allocations: 7.938 kB / 0.9606 GB, free: 1.797 MB / 0.67 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.004498/0.9652, allocations: 2.981 MB / 0.9635 GB, free: 14.77 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.966e-05/0.9652, allocations: 8 kB / 0.9636 GB, free: 14.76 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.356e-05/0.9653, allocations: 8 kB / 0.9636 GB, free: 14.75 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.416e-05/0.9653, allocations: 12.56 kB / 0.9636 GB, free: 14.74 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002092/0.9674, allocations: 0.5149 MB / 0.9641 GB, free: 14.23 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.495e-05/0.9674, allocations: 19.94 kB / 0.9641 GB, free: 14.21 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001885/0.9693, allocations: 181.9 kB / 0.9643 GB, free: 14.03 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001466/0.9695, allocations: 83.98 kB / 0.9644 GB, free: 13.95 MB / 0.6856 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.001012/0.9705, allocations: 0.6455 MB / 0.965 GB, free: 13.29 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003768/0.9709, allocations: 233.2 kB / 0.9652 GB, free: 13.06 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004613/0.9755, allocations: 3.104 MB / 0.9682 GB, free: 9.895 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-05/0.9755, allocations: 28 kB / 0.9683 GB, free: 9.867 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.804e-06/0.9755, allocations: 0 / 0.9683 GB, free: 9.867 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003645/0.9792, allocations: 2.657 MB / 0.9709 GB, free: 7.141 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008841/0.988, allocations: 6.229 MB / 0.9769 GB, free: 0.8047 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.343e-06/0.9881, allocations: 0 / 0.9769 GB, free: 0.8047 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002463/0.9905, allocations: 0.5423 MB / 0.9775 GB, free: 268 kB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.382e-05/0.9906, allocations: 11.94 kB / 0.9775 GB, free: 256 kB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001686/0.9908, allocations: 63.97 kB / 0.9775 GB, free: 192 kB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.414e-05/0.9908, allocations: 12 kB / 0.9776 GB, free: 180 kB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.9908, allocations: 0 / 0.9776 GB, free: 180 kB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006207/0.997, allocations: 4.569 MB / 0.982 GB, free: 11.53 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001055/0.9981, allocations: 0.6032 MB / 0.9826 GB, free: 10.9 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003669/0.9984, allocations: 51.98 kB / 0.9827 GB, free: 10.85 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001646/1, allocations: 75.83 kB / 0.9827 GB, free: 10.78 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000299/1, allocations: 162 kB / 0.9829 GB, free: 10.62 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000165/1.001, allocations: 79.97 kB / 0.983 GB, free: 10.54 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001299/1.002, allocations: 0.9423 MB / 0.9839 GB, free: 9.602 MB / 0.7012 GB Notification: Performance of sort global known variables: time 2.1e-07/1.002, allocations: 0 / 0.9839 GB, free: 9.602 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.002013/1.004, allocations: 0.9785 MB / 0.9848 GB, free: 8.621 MB / 0.7012 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 (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.007033/1.011, allocations: 5.396 MB / 0.9901 GB, free: 3.133 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.01164/1.023, allocations: 5.539 MB / 0.9955 GB, free: 13.56 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.94e-06/1.023, allocations: 3.938 kB / 0.9955 GB, free: 13.55 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.002085/1.025, allocations: 1.507 MB / 0.997 GB, free: 12.04 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006101/1.031, allocations: 1.349 MB / 0.9983 GB, free: 10.77 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02777/1.059, allocations: 21.29 MB / 1.019 GB, free: 4.172 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001401/1.06, allocations: 1.895 MB / 1.021 GB, free: 2.242 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.002962/1.063, allocations: 0.8436 MB / 1.022 GB, free: 1.395 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001451/1.064, allocations: 1.093 MB / 1.023 GB, free: 308 kB / 0.7325 GB Notification: Performance of SimCode: time 8.21e-07/1.064, allocations: 4 kB / 1.023 GB, free: 304 kB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.998/3.062, allocations: 67.67 MB / 1.089 GB, free: 272 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.88/15.94, allocations: 6.172 kB / 1.089 GB, free: 272 MB / 0.7325 GB (rm -f IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; mkfifo IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe >> ../files/IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Airflow_Multizone_Examples_ReverseBuoyancy3Zones_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Airflow_Multizone_Examples_ReverseBuoyancy3Zones.fmu > IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe 2>&1)