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.001063/0.001064, allocations: 100.1 kB / 15.88 MB, free: 12 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.0009442/0.0009442, allocations: 207.9 kB / 16.79 MB, free: 6.84 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.199/1.199, allocations: 222.9 MB / 240.5 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6203/0.6203, allocations: 115.3 MB / 405.9 MB, free: 2.797 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001125/0.001125, allocations: 60.03 kB / 493 MB, free: 6.785 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1258/0.1269, allocations: 76.18 MB / 0.5558 GB, free: 10.8 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 0.8113/0.9383, allocations: 292.9 MB / 0.8419 GB, free: 1.344 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02183/0.9601, allocations: 17.22 MB / 0.8587 GB, free: 1.188 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003054/0.9633, allocations: 71.22 kB / 0.8588 GB, free: 1.188 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.003601/0.9669, allocations: 1.649 MB / 0.8604 GB, free: 1.152 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.01342/0.9803, allocations: 6.078 MB / 0.8663 GB, free: 0.8555 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.007396/0.9877, allocations: 2.67 MB / 0.8689 GB, free: 0.7773 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.01085/0.9986, allocations: 11.21 MB / 0.8799 GB, free: 0.7578 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002739/1.001, allocations: 2.207 MB / 0.882 GB, free: 16.43 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003976/1.005, allocations: 2.413 MB / 0.8844 GB, free: 16.42 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003803/1.009, allocations: 2.804 MB / 0.8871 GB, free: 16.41 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0006728/1.01, allocations: 185.8 kB / 0.8873 GB, free: 16.41 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01152/1.021, allocations: 7.181 MB / 0.8943 GB, free: 16.35 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.001326/1.023, allocations: 1.205 MB / 0.8955 GB, free: 16.3 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.00245/1.025, allocations: 1.728 MB / 0.8972 GB, free: 15.83 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.00971/1.035, allocations: 7.169 MB / 0.9042 GB, free: 13.27 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/1.035, allocations: 4 kB / 0.9042 GB, free: 13.26 MB / 0.6544 GB Notification: Performance of FrontEnd: time 3.096e-06/1.035, allocations: 0 / 0.9042 GB, free: 13.26 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 3.208e-05/1.035, allocations: 3.938 kB / 0.9042 GB, free: 13.26 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.008411/1.043, allocations: 4.121 MB / 0.9082 GB, free: 11.04 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.78e-05/1.043, allocations: 7.719 kB / 0.9082 GB, free: 11.04 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003971/1.044, allocations: 375.1 kB / 0.9086 GB, free: 10.92 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005686/1.049, allocations: 0.9116 MB / 0.9095 GB, free: 10.55 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002492/1.052, allocations: 1.845 MB / 0.9113 GB, free: 9.727 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.242e-05/1.052, allocations: 196.8 kB / 0.9115 GB, free: 9.715 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003147/1.052, allocations: 263.9 kB / 0.9117 GB, free: 9.707 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004404/1.057, allocations: 3.336 MB / 0.915 GB, free: 8.773 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.075e-05/1.057, allocations: 4.969 kB / 0.915 GB, free: 8.773 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002224/1.057, allocations: 114.3 kB / 0.9151 GB, free: 8.77 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001102/1.057, allocations: 135.3 kB / 0.9152 GB, free: 8.75 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004679/1.062, allocations: 3.498 MB / 0.9186 GB, free: 7.926 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.01223/1.074, allocations: 12.09 MB / 0.9304 GB, free: 13.4 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004087/1.078, allocations: 3.512 MB / 0.9339 GB, free: 10.23 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002412/1.081, allocations: 1.817 MB / 0.9356 GB, free: 8.414 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001326/1.082, allocations: 1.49 MB / 0.9371 GB, free: 6.617 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.504e-05/1.082, allocations: 64.75 kB / 0.9372 GB, free: 6.543 MB / 0.67 GB Notification: Performance of pre-optimization done (n=278): time 4.147e-06/1.082, allocations: 0 / 0.9372 GB, free: 6.543 MB / 0.67 GB Notification: Performance of matching and sorting (n=278): time 0.005787/1.088, allocations: 3.883 MB / 0.941 GB, free: 2.613 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.864e-05/1.088, allocations: 81.59 kB / 0.941 GB, free: 2.52 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001708/1.09, allocations: 1.379 MB / 0.9424 GB, free: 1.133 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001431/1.09, allocations: 77.7 kB / 0.9425 GB, free: 1.051 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006082/1.09, allocations: 0.9907 MB / 0.9434 GB, free: 52 kB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006974/1.091, allocations: 0.9394 MB / 0.9443 GB, free: 15.12 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006084/1.092, allocations: 408.9 kB / 0.9447 GB, free: 14.71 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 8.899e-05/1.092, allocations: 305.1 kB / 0.945 GB, free: 14.41 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001612/1.093, allocations: 1.098 MB / 0.9461 GB, free: 13.31 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001751/1.095, allocations: 1.357 MB / 0.9474 GB, free: 11.89 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003804/1.099, allocations: 2.65 MB / 0.95 GB, free: 9.168 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.763e-06/1.099, allocations: 3.984 kB / 0.95 GB, free: 9.164 MB / 0.6856 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.00441/1.103, allocations: 2.97 MB / 0.9529 GB, free: 6.172 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.184e-05/1.103, allocations: 12 kB / 0.9529 GB, free: 6.16 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.202e-05/1.104, allocations: 4 kB / 0.9529 GB, free: 6.156 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.443e-05/1.104, allocations: 16 kB / 0.9529 GB, free: 6.141 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002016/1.106, allocations: 0.5166 MB / 0.9534 GB, free: 5.656 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.331e-05/1.106, allocations: 23.86 kB / 0.9535 GB, free: 5.633 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002418/1.108, allocations: 381.7 kB / 0.9538 GB, free: 5.258 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001801/1.108, allocations: 79.98 kB / 0.9539 GB, free: 5.18 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.0009991/1.109, allocations: 0.651 MB / 0.9545 GB, free: 4.551 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003916/1.11, allocations: 229.3 kB / 0.9548 GB, free: 4.324 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004729/1.114, allocations: 3.104 MB / 0.9578 GB, free: 1.164 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.767e-05/1.114, allocations: 24 kB / 0.9578 GB, free: 1.141 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.062e-05/1.114, allocations: 7.938 kB / 0.9578 GB, free: 1.133 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003672/1.118, allocations: 2.656 MB / 0.9604 GB, free: 14.41 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00998/1.128, allocations: 6.215 MB / 0.9665 GB, free: 8.16 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.069e-05/1.128, allocations: 11.92 kB / 0.9665 GB, free: 8.148 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002511/1.131, allocations: 0.5364 MB / 0.967 GB, free: 7.637 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.561e-05/1.131, allocations: 8 kB / 0.967 GB, free: 7.629 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002333/1.131, allocations: 67.97 kB / 0.9671 GB, free: 7.562 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.091e-05/1.131, allocations: 8 kB / 0.9671 GB, free: 7.555 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/1.131, allocations: 4 kB / 0.9671 GB, free: 7.551 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006642/1.138, allocations: 4.568 MB / 0.9716 GB, free: 2.906 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001245/1.139, allocations: 0.6109 MB / 0.9722 GB, free: 2.273 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004152/1.139, allocations: 55.98 kB / 0.9722 GB, free: 2.219 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002169/1.141, allocations: 223.4 kB / 0.9724 GB, free: 2 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000313/1.142, allocations: 161.9 kB / 0.9726 GB, free: 1.84 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001709/1.142, allocations: 83.97 kB / 0.9727 GB, free: 1.758 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001354/1.143, allocations: 0.9462 MB / 0.9736 GB, free: 0.8164 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.4e-07/1.143, allocations: 0 / 0.9736 GB, free: 0.8164 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.002256/1.146, allocations: 0.9707 MB / 0.9745 GB, free: 15.84 MB / 0.7169 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.007149/1.153, allocations: 5.398 MB / 0.9798 GB, free: 10.4 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.004152/1.157, allocations: 2.77 MB / 0.9825 GB, free: 7.637 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/1.157, allocations: 0 / 0.9825 GB, free: 7.637 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001989/1.159, allocations: 1.51 MB / 0.984 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006075/1.165, allocations: 1.292 MB / 0.9852 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03595/1.201, allocations: 22.39 MB / 1.007 GB, free: 13.34 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001892/1.203, allocations: 1.905 MB / 1.009 GB, free: 11.4 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.003276/1.206, allocations: 0.828 MB / 1.01 GB, free: 10.57 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001682/1.208, allocations: 1.097 MB / 1.011 GB, free: 9.473 MB / 0.7481 GB Notification: Performance of SimCode: time 8.22e-07/1.208, allocations: 0 / 1.011 GB, free: 9.473 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09375/1.302, allocations: 65.26 MB / 1.075 GB, free: 8.973 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002207/1.302, allocations: 211.2 kB / 1.075 GB, free: 8.715 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.229/4.531, allocations: 0 / 1.075 GB, free: 8.715 MB / 0.8106 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)