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.0008097/0.0008097, allocations: 93.73 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00087/0.0008699, allocations: 185.7 kB / 16.92 MB, free: 6.891 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.191/1.191, allocations: 223.3 MB / 241 MB, free: 5.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6235/0.6235, allocations: 115.5 MB / 407.6 MB, free: 2.684 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002762/0.0002762, allocations: 8 kB / 496 MB, free: 6.242 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1181/0.1184, allocations: 77.53 MB / 0.56 GB, free: 8.922 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 0.7672/0.8857, allocations: 288.9 MB / 0.8422 GB, free: 1.816 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01918/0.9049, allocations: 17.04 MB / 0.8588 GB, free: 1.66 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002474/0.9074, allocations: 69.34 kB / 0.8589 GB, free: 1.66 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.003279/0.9107, allocations: 1.651 MB / 0.8605 GB, free: 1.633 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.01218/0.9229, allocations: 6.075 MB / 0.8664 GB, free: 1.336 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.006113/0.929, allocations: 2.673 MB / 0.869 GB, free: 1.25 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.01036/0.9394, allocations: 11.21 MB / 0.88 GB, free: 1.234 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002859/0.9422, allocations: 2.131 MB / 0.8821 GB, free: 16.91 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003898/0.9461, allocations: 2.347 MB / 0.8843 GB, free: 16.9 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004304/0.9505, allocations: 2.727 MB / 0.887 GB, free: 16.89 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0003648/0.9508, allocations: 156.8 kB / 0.8872 GB, free: 16.89 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01107/0.9619, allocations: 7.153 MB / 0.8941 GB, free: 16.82 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.001153/0.9631, allocations: 1.155 MB / 0.8953 GB, free: 16.82 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001974/0.9651, allocations: 1.699 MB / 0.8969 GB, free: 16.72 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.008887/0.974, allocations: 7.083 MB / 0.9038 GB, free: 13.98 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.974, allocations: 0 / 0.9038 GB, free: 13.98 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.373e-06/0.974, allocations: 0 / 0.9038 GB, free: 13.98 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 3.018e-05/0.974, allocations: 0 / 0.9038 GB, free: 13.98 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: 669 * Number of variables: 669 Notification: Performance of Generate backend data structure: time 0.007643/0.9817, allocations: 3.552 MB / 0.9073 GB, free: 11.86 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.647e-05/0.9817, allocations: 9.781 kB / 0.9073 GB, free: 11.86 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003875/0.9821, allocations: 379.6 kB / 0.9077 GB, free: 11.74 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005346/0.9875, allocations: 0.9132 MB / 0.9086 GB, free: 11.38 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002459/0.9899, allocations: 1.841 MB / 0.9104 GB, free: 10.55 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.071e-05/0.99, allocations: 200 kB / 0.9106 GB, free: 10.54 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003244/0.9904, allocations: 263 kB / 0.9108 GB, free: 10.54 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004557/0.9949, allocations: 3.33 MB / 0.9141 GB, free: 9.602 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.867e-05/0.995, allocations: 13.09 kB / 0.9141 GB, free: 9.598 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002162/0.9952, allocations: 107.7 kB / 0.9142 GB, free: 9.598 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001081/0.9954, allocations: 134.4 kB / 0.9143 GB, free: 9.578 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004693/1, allocations: 3.499 MB / 0.9177 GB, free: 8.949 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.01272/1.013, allocations: 12.11 MB / 0.9296 GB, free: 1.156 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003711/1.017, allocations: 3.517 MB / 0.933 GB, free: 256 kB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002392/1.019, allocations: 1.799 MB / 0.9347 GB, free: 15.16 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001346/1.02, allocations: 1.499 MB / 0.9362 GB, free: 13.36 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.978e-05/1.02, allocations: 63.44 kB / 0.9363 GB, free: 13.31 MB / 0.67 GB Notification: Performance of pre-optimization done (n=278): time 3.817e-06/1.02, allocations: 0 / 0.9363 GB, free: 13.31 MB / 0.67 GB Notification: Performance of matching and sorting (n=278): time 0.005669/1.026, allocations: 3.889 MB / 0.9401 GB, free: 10.63 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.465e-05/1.026, allocations: 81.59 kB / 0.9401 GB, free: 10.54 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001545/1.028, allocations: 1.377 MB / 0.9415 GB, free: 9.504 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001426/1.028, allocations: 75.27 kB / 0.9416 GB, free: 9.461 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006357/1.028, allocations: 0.9822 MB / 0.9425 GB, free: 8.488 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007065/1.029, allocations: 0.9491 MB / 0.9435 GB, free: 7.547 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002539/1.029, allocations: 198.6 kB / 0.9436 GB, free: 7.348 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 8.519e-05/1.029, allocations: 309 kB / 0.9439 GB, free: 7.043 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001635/1.031, allocations: 1.094 MB / 0.945 GB, free: 5.945 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001809/1.033, allocations: 1.357 MB / 0.9463 GB, free: 4.523 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003711/1.037, allocations: 2.646 MB / 0.9489 GB, free: 1.801 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.602e-06/1.037, allocations: 4 kB / 0.9489 GB, free: 1.797 MB / 0.67 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.004301/1.041, allocations: 2.976 MB / 0.9518 GB, free: 14.8 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/1.041, allocations: 4 kB / 0.9518 GB, free: 14.8 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.206e-05/1.041, allocations: 8 kB / 0.9518 GB, free: 14.79 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.275e-05/1.041, allocations: 12 kB / 0.9518 GB, free: 14.78 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002065/1.043, allocations: 0.5105 MB / 0.9523 GB, free: 14.3 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.314e-05/1.043, allocations: 22.53 kB / 0.9524 GB, free: 14.28 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002423/1.046, allocations: 377.7 kB / 0.9527 GB, free: 13.91 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000149/1.046, allocations: 79.98 kB / 0.9528 GB, free: 13.83 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.001016/1.047, allocations: 0.6508 MB / 0.9534 GB, free: 13.2 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003405/1.047, allocations: 233.3 kB / 0.9537 GB, free: 12.97 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004886/1.052, allocations: 3.103 MB / 0.9567 GB, free: 9.812 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.118e-05/1.052, allocations: 28 kB / 0.9567 GB, free: 9.785 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.857e-06/1.052, allocations: 4 kB / 0.9567 GB, free: 9.781 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003634/1.056, allocations: 2.661 MB / 0.9593 GB, free: 7.055 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009038/1.065, allocations: 6.221 MB / 0.9654 GB, free: 0.8008 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.312e-06/1.065, allocations: 0 / 0.9654 GB, free: 0.8008 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002399/1.067, allocations: 0.5427 MB / 0.9659 GB, free: 292 kB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.267e-05/1.067, allocations: 15.98 kB / 0.9659 GB, free: 276 kB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001383/1.067, allocations: 59.92 kB / 0.966 GB, free: 216 kB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.512e-05/1.067, allocations: 12 kB / 0.966 GB, free: 204 kB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.552e-06/1.067, allocations: 2.406 kB / 0.966 GB, free: 204 kB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006179/1.074, allocations: 4.57 MB / 0.9705 GB, free: 11.55 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001045/1.075, allocations: 0.6032 MB / 0.9711 GB, free: 10.93 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002842/1.075, allocations: 63.86 kB / 0.9711 GB, free: 10.87 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001869/1.077, allocations: 230.1 kB / 0.9713 GB, free: 10.64 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002865/1.077, allocations: 158 kB / 0.9715 GB, free: 10.49 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001457/1.077, allocations: 79.97 kB / 0.9716 GB, free: 10.41 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001142/1.078, allocations: 0.9462 MB / 0.9725 GB, free: 9.469 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.51e-07/1.078, allocations: 0 / 0.9725 GB, free: 9.469 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001834/1.08, allocations: 0.9823 MB / 0.9735 GB, free: 8.484 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.006784/1.087, allocations: 5.402 MB / 0.9787 GB, free: 3.039 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.003768/1.091, allocations: 2.761 MB / 0.9814 GB, free: 292 kB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/1.091, allocations: 0 / 0.9814 GB, free: 292 kB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.001915/1.093, allocations: 1.515 MB / 0.9829 GB, free: 14.82 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005313/1.098, allocations: 1.286 MB / 0.9842 GB, free: 13.56 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02893/1.127, allocations: 22.68 MB / 1.006 GB, free: 5.711 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001332/1.128, allocations: 1.891 MB / 1.008 GB, free: 3.785 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.002813/1.131, allocations: 0.8475 MB / 1.009 GB, free: 2.934 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001386/1.133, allocations: 1.089 MB / 1.01 GB, free: 1.844 MB / 0.7325 GB Notification: Performance of SimCode: time 6.91e-07/1.133, allocations: 4 kB / 1.01 GB, free: 1.84 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08576/1.218, allocations: 64.71 MB / 1.073 GB, free: 1.91 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002064/1.219, allocations: 208.2 kB / 1.073 GB, free: 1.652 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.238/4.457, allocations: 3.938 kB / 1.073 GB, free: 1.648 MB / 0.795 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)