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.001184/0.001184, allocations: 104.8 kB / 15.98 MB, free: 6.289 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.001138/0.001138, allocations: 200.7 kB / 16.91 MB, free: 6.141 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.23/1.23, allocations: 222.9 MB / 240.6 MB, free: 13.66 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.679/0.679, allocations: 115.3 MB / 406.1 MB, free: 6.379 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001221/0.001221, allocations: 71.88 kB / 493.2 MB, free: 0.5938 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3097/0.3109, allocations: 76.16 MB / 0.556 GB, free: 35.63 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 0.5724/0.8834, allocations: 291.7 MB / 0.8409 GB, free: 0.6016 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02081/0.9042, allocations: 16.93 MB / 0.8574 GB, free: 13.74 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003804/0.9081, allocations: 73.59 kB / 0.8575 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.00453/0.9126, allocations: 1.703 MB / 0.8591 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.01506/0.9277, allocations: 6.06 MB / 0.8651 GB, free: 10.26 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.006859/0.9346, allocations: 2.71 MB / 0.8677 GB, free: 8.762 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.008812/0.9434, allocations: 7.698 MB / 0.8752 GB, free: 4.09 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002911/0.9463, allocations: 2.544 MB / 0.8777 GB, free: 1.555 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004083/0.9504, allocations: 2.808 MB / 0.8804 GB, free: 15.08 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003881/0.9543, allocations: 2.87 MB / 0.8832 GB, free: 12.44 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0004218/0.9548, allocations: 328 kB / 0.8836 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01054/0.9653, allocations: 6.433 MB / 0.8898 GB, free: 6.52 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0012/0.9665, allocations: 1.34 MB / 0.8911 GB, free: 5.195 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.002033/0.9686, allocations: 1.881 MB / 0.893 GB, free: 3.324 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.009727/0.9783, allocations: 7.287 MB / 0.9001 GB, free: 12.45 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.9783, allocations: 0 / 0.9001 GB, free: 12.45 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.263e-06/0.9783, allocations: 0 / 0.9001 GB, free: 12.45 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 3.553e-05/0.9784, allocations: 0 / 0.9001 GB, free: 12.45 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.008617/0.987, allocations: 4.132 MB / 0.9041 GB, free: 8.273 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/0.987, allocations: 12.03 kB / 0.9041 GB, free: 8.262 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004224/0.9875, allocations: 370.6 kB / 0.9045 GB, free: 7.895 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005613/0.9931, allocations: 0.9172 MB / 0.9054 GB, free: 6.98 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002612/0.9957, allocations: 1.846 MB / 0.9072 GB, free: 5.113 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001269/0.9958, allocations: 194.1 kB / 0.9074 GB, free: 4.926 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003431/0.9962, allocations: 259.8 kB / 0.9076 GB, free: 4.676 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004844/1.001, allocations: 3.337 MB / 0.9109 GB, free: 1.242 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.09e-05/1.001, allocations: 0 / 0.9109 GB, free: 1.242 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002351/1.001, allocations: 108.9 kB / 0.911 GB, free: 1.141 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001311/1.001, allocations: 141 kB / 0.9111 GB, free: 1 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005132/1.007, allocations: 3.498 MB / 0.9145 GB, free: 13.48 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.01343/1.02, allocations: 12.09 MB / 0.9264 GB, free: 0.6133 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004252/1.024, allocations: 3.519 MB / 0.9298 GB, free: 13.02 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002444/1.027, allocations: 1.821 MB / 0.9316 GB, free: 11.2 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001399/1.028, allocations: 1.494 MB / 0.933 GB, free: 9.395 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.027e-05/1.028, allocations: 64.75 kB / 0.9331 GB, free: 9.32 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=278): time 3.657e-06/1.028, allocations: 0 / 0.9331 GB, free: 9.32 MB / 0.6544 GB Notification: Performance of matching and sorting (n=278): time 0.005912/1.034, allocations: 3.889 MB / 0.9369 GB, free: 5.383 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.117e-05/1.034, allocations: 77.59 kB / 0.937 GB, free: 5.293 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001585/1.036, allocations: 1.376 MB / 0.9383 GB, free: 3.91 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001613/1.036, allocations: 77.7 kB / 0.9384 GB, free: 3.828 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006238/1.037, allocations: 0.9843 MB / 0.9393 GB, free: 2.832 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007048/1.037, allocations: 0.9468 MB / 0.9403 GB, free: 1.895 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005834/1.038, allocations: 412.9 kB / 0.9407 GB, free: 1.484 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 9.032e-05/1.038, allocations: 305.1 kB / 0.941 GB, free: 1.184 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001604/1.04, allocations: 1.094 MB / 0.942 GB, free: 88 kB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001805/1.041, allocations: 1.36 MB / 0.9434 GB, free: 14.66 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003625/1.045, allocations: 2.65 MB / 0.9459 GB, free: 11.92 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.119e-06/1.045, allocations: 0 / 0.9459 GB, free: 11.92 MB / 0.67 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.004247/1.049, allocations: 2.97 MB / 0.9488 GB, free: 8.902 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.144e-05/1.049, allocations: 8 kB / 0.9488 GB, free: 8.895 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.245e-05/1.049, allocations: 7.984 kB / 0.9489 GB, free: 8.887 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.386e-05/1.049, allocations: 16.56 kB / 0.9489 GB, free: 8.871 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002019/1.051, allocations: 0.511 MB / 0.9494 GB, free: 8.359 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.077e-05/1.051, allocations: 16 kB / 0.9494 GB, free: 8.344 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002322/1.054, allocations: 377.7 kB / 0.9497 GB, free: 7.973 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001504/1.054, allocations: 80 kB / 0.9498 GB, free: 7.895 MB / 0.67 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.0009618/1.055, allocations: 0.6571 MB / 0.9505 GB, free: 7.227 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003505/1.055, allocations: 233.3 kB / 0.9507 GB, free: 6.996 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00459/1.06, allocations: 3.112 MB / 0.9537 GB, free: 3.828 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.857e-05/1.06, allocations: 24 kB / 0.9537 GB, free: 3.805 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.795e-06/1.06, allocations: 0 / 0.9537 GB, free: 3.805 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003586/1.064, allocations: 2.661 MB / 0.9563 GB, free: 1.074 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008555/1.072, allocations: 6.21 MB / 0.9624 GB, free: 10.82 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.74e-06/1.072, allocations: 0 / 0.9624 GB, free: 10.82 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002339/1.074, allocations: 0.5462 MB / 0.9629 GB, free: 10.27 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.153e-05/1.074, allocations: 8 kB / 0.963 GB, free: 10.27 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001519/1.075, allocations: 67.92 kB / 0.963 GB, free: 10.2 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.049e-05/1.075, allocations: 11.94 kB / 0.963 GB, free: 10.19 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/1.075, allocations: 0 / 0.963 GB, free: 10.19 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006064/1.081, allocations: 4.565 MB / 0.9675 GB, free: 5.543 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001001/1.082, allocations: 0.6187 MB / 0.9681 GB, free: 4.902 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002997/1.082, allocations: 47.94 kB / 0.9681 GB, free: 4.855 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001845/1.084, allocations: 224.6 kB / 0.9683 GB, free: 4.637 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000304/1.084, allocations: 162 kB / 0.9685 GB, free: 4.477 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001599/1.084, allocations: 83.97 kB / 0.9686 GB, free: 4.395 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001111/1.086, allocations: 0.9462 MB / 0.9695 GB, free: 3.453 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.51e-07/1.086, allocations: 0 / 0.9695 GB, free: 3.453 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001774/1.087, allocations: 0.9784 MB / 0.9705 GB, free: 2.473 MB / 0.6856 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.006776/1.094, allocations: 5.395 MB / 0.9757 GB, free: 13 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.01061/1.105, allocations: 5.529 MB / 0.9811 GB, free: 7.441 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/1.105, allocations: 4 kB / 0.9811 GB, free: 7.438 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.001878/1.107, allocations: 1.507 MB / 0.9826 GB, free: 5.926 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004896/1.111, allocations: 1.357 MB / 0.9839 GB, free: 4.645 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02876/1.14, allocations: 22.41 MB / 1.006 GB, free: 12.95 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001443/1.142, allocations: 1.899 MB / 1.008 GB, free: 11.02 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.002727/1.144, allocations: 0.8397 MB / 1.008 GB, free: 10.18 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001444/1.146, allocations: 1.089 MB / 1.01 GB, free: 9.086 MB / 0.7325 GB Notification: Performance of SimCode: time 5.11e-07/1.146, allocations: 3.938 kB / 1.01 GB, free: 9.082 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6718/1.818, allocations: 67.2 MB / 1.075 GB, free: 290.3 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.001694/1.819, allocations: 209.8 kB / 1.075 GB, free: 290 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.507/5.327, allocations: 3.938 kB / 1.075 GB, free: 290 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)