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.00115/0.00115, allocations: 105.6 kB / 16.4 MB, free: 6.449 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.001145/0.001145, allocations: 193.2 kB / 17.34 MB, free: 5.715 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.24/1.24, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7001/0.7001, allocations: 115.3 MB / 406.5 MB, free: 6.191 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 66.27 kB / 0.5572 GB, free: 32.37 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1322/0.1334, allocations: 76.19 MB / 0.6316 GB, free: 4.891 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 0.5749/0.7084, allocations: 295.1 MB / 0.9198 GB, free: 5.32 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02233/0.7308, allocations: 17.01 MB / 0.9364 GB, free: 4.27 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003601/0.7344, allocations: 79.62 kB / 0.9364 GB, free: 4.191 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.004966/0.7394, allocations: 1.892 MB / 0.9383 GB, free: 2.289 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.01682/0.7563, allocations: 6.432 MB / 0.9446 GB, free: 11.83 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.007495/0.7638, allocations: 2.938 MB / 0.9474 GB, free: 8.895 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.01006/0.7739, allocations: 7.719 MB / 0.955 GB, free: 1.152 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004101/0.778, allocations: 2.583 MB / 0.9575 GB, free: 14.52 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005673/0.7837, allocations: 2.823 MB / 0.9603 GB, free: 11.69 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005817/0.7896, allocations: 2.693 MB / 0.9629 GB, free: 9 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.002063/0.7917, allocations: 328 kB / 0.9632 GB, free: 8.68 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01407/0.8057, allocations: 6.161 MB / 0.9692 GB, free: 2.504 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.002068/0.8078, allocations: 1.34 MB / 0.9705 GB, free: 1.16 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.004174/0.812, allocations: 1.883 MB / 0.9724 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.01517/0.8272, allocations: 6.895 MB / 0.9791 GB, free: 8.355 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.8273, allocations: 0 / 0.9791 GB, free: 8.355 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.444e-06/0.8273, allocations: 0 / 0.9791 GB, free: 8.355 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.0001998/0.8275, allocations: 8 kB / 0.9791 GB, free: 8.348 MB / 0.7325 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.01121/0.8387, allocations: 4.127 MB / 0.9831 GB, free: 4.152 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.779e-05/0.8388, allocations: 8.031 kB / 0.9831 GB, free: 4.145 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004261/0.8392, allocations: 371 kB / 0.9835 GB, free: 3.773 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005852/0.8451, allocations: 0.9094 MB / 0.9844 GB, free: 2.859 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00311/0.8482, allocations: 1.928 MB / 0.9863 GB, free: 0.875 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001283/0.8483, allocations: 193.1 kB / 0.9865 GB, free: 0.6836 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003575/0.8487, allocations: 259.9 kB / 0.9867 GB, free: 440 kB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005044/0.8537, allocations: 3.338 MB / 0.99 GB, free: 12.99 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.267e-05/0.8538, allocations: 7.938 kB / 0.99 GB, free: 12.98 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000237/0.854, allocations: 104 kB / 0.9901 GB, free: 12.88 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001505/0.8542, allocations: 137 kB / 0.9902 GB, free: 12.74 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005265/0.8595, allocations: 3.498 MB / 0.9936 GB, free: 9.23 MB / 0.7481 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.01416/0.8737, allocations: 12.15 MB / 1.005 GB, free: 12.18 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004416/0.8781, allocations: 3.507 MB / 1.009 GB, free: 8.594 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002684/0.8808, allocations: 1.845 MB / 1.011 GB, free: 6.738 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001498/0.8823, allocations: 1.489 MB / 1.012 GB, free: 4.934 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.237e-05/0.8824, allocations: 68.75 kB / 1.012 GB, free: 4.855 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=278): time 4.919e-06/0.8824, allocations: 0 / 1.012 GB, free: 4.855 MB / 0.7637 GB Notification: Performance of matching and sorting (n=278): time 0.006162/0.8886, allocations: 3.889 MB / 1.016 GB, free: 0.9141 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.513e-05/0.8886, allocations: 81.59 kB / 1.016 GB, free: 0.8203 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001843/0.8905, allocations: 1.38 MB / 1.017 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.0001613/0.8906, allocations: 73.7 kB / 1.018 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.000656/0.8913, allocations: 0.9882 MB / 1.018 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.000846/0.8922, allocations: 0.943 MB / 1.019 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006404/0.8928, allocations: 409 kB / 1.02 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001005/0.8929, allocations: 301.1 kB / 1.02 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00177/0.8947, allocations: 1.094 MB / 1.021 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001899/0.8966, allocations: 1.356 MB / 1.022 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00382/0.9004, allocations: 2.646 MB / 1.025 GB, free: 7.438 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.587e-06/0.9004, allocations: 4 kB / 1.025 GB, free: 7.434 MB / 0.7794 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.00458/0.905, allocations: 2.986 MB / 1.028 GB, free: 4.402 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.081e-05/0.9051, allocations: 8 kB / 1.028 GB, free: 4.395 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.413e-05/0.9051, allocations: 4 kB / 1.028 GB, free: 4.391 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.356e-05/0.9051, allocations: 15.94 kB / 1.028 GB, free: 4.375 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002072/0.9072, allocations: 0.511 MB / 1.029 GB, free: 3.863 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.361e-05/0.9072, allocations: 16 kB / 1.029 GB, free: 3.848 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001877/0.9091, allocations: 186.2 kB / 1.029 GB, free: 3.664 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001528/0.9093, allocations: 79.98 kB / 1.029 GB, free: 3.586 MB / 0.7794 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.001044/0.9103, allocations: 0.6455 MB / 1.029 GB, free: 2.93 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000476/0.9108, allocations: 233.2 kB / 1.03 GB, free: 2.699 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004871/0.9157, allocations: 3.104 MB / 1.033 GB, free: 15.54 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.213e-05/0.9157, allocations: 31.94 kB / 1.033 GB, free: 15.5 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.014e-05/0.9157, allocations: 4 kB / 1.033 GB, free: 15.5 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003597/0.9194, allocations: 2.657 MB / 1.035 GB, free: 12.77 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009147/0.9285, allocations: 6.217 MB / 1.041 GB, free: 6.457 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.204e-06/0.9285, allocations: 0 / 1.041 GB, free: 6.457 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002438/0.931, allocations: 0.5384 MB / 1.042 GB, free: 5.918 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-05/0.931, allocations: 12 kB / 1.042 GB, free: 5.906 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001764/0.9312, allocations: 63.97 kB / 1.042 GB, free: 5.844 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.618e-05/0.9312, allocations: 8 kB / 1.042 GB, free: 5.836 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.9312, allocations: 3.938 kB / 1.042 GB, free: 5.832 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006745/0.938, allocations: 4.569 MB / 1.046 GB, free: 1.176 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001166/0.9392, allocations: 0.611 MB / 1.047 GB, free: 0.543 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004286/0.9396, allocations: 51.98 kB / 1.047 GB, free: 0.4922 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001742/0.9414, allocations: 66.73 kB / 1.047 GB, free: 440 kB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003001/0.9417, allocations: 165.9 kB / 1.047 GB, free: 272 kB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001697/0.9418, allocations: 79.98 kB / 1.047 GB, free: 192 kB / 0.795 GB Notification: Performance of sorting global known variables: time 0.3001/1.242, allocations: 0.9459 MB / 1.048 GB, free: 322.1 MB / 0.795 GB Notification: Performance of sort global known variables: time 5.51e-07/1.242, allocations: 0 / 1.048 GB, free: 322.1 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.002546/1.245, allocations: 0.9761 MB / 1.049 GB, free: 322.1 MB / 0.795 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.007332/1.252, allocations: 5.388 MB / 1.055 GB, free: 320.4 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.004303/1.256, allocations: 2.771 MB / 1.057 GB, free: 319.4 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 6.472e-06/1.256, allocations: 1 kB / 1.057 GB, free: 319.4 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.002091/1.258, allocations: 1.514 MB / 1.059 GB, free: 318.9 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005102/1.263, allocations: 1.351 MB / 1.06 GB, free: 318.6 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02383/1.287, allocations: 19.44 MB / 1.079 GB, free: 310.3 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001059/1.288, allocations: 1.897 MB / 1.081 GB, free: 309.4 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.002461/1.291, allocations: 0.838 MB / 1.082 GB, free: 309.3 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001174/1.292, allocations: 1.09 MB / 1.083 GB, free: 308.3 MB / 0.795 GB Notification: Performance of SimCode: time 6.81e-07/1.292, allocations: 7.938 kB / 1.083 GB, free: 308.3 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08173/1.374, allocations: 69.38 MB / 1.151 GB, free: 239.5 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.17/12.55, allocations: 10.2 kB / 1.151 GB, free: 239.5 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)