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.001356/0.001356, allocations: 105.3 kB / 16.4 MB, free: 6.438 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.001448/0.001449, allocations: 193.2 kB / 17.34 MB, free: 5.707 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.363/1.363, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7112/0.7112, allocations: 115.3 MB / 406.5 MB, free: 6.16 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001194/0.001194, allocations: 67.27 kB / 0.5572 GB, free: 32.31 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1458/0.147, allocations: 76.18 MB / 0.6316 GB, free: 4.785 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 0.6941/0.8412, allocations: 295.1 MB / 0.9198 GB, free: 5.266 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02591/0.8671, allocations: 17 MB / 0.9364 GB, free: 4.23 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004024/0.8712, allocations: 83.56 kB / 0.9365 GB, free: 4.148 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.00538/0.8766, allocations: 1.888 MB / 0.9383 GB, free: 2.25 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.01972/0.8964, allocations: 6.435 MB / 0.9446 GB, free: 11.79 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.00869/0.9051, allocations: 2.942 MB / 0.9475 GB, free: 8.848 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.01085/0.916, allocations: 7.711 MB / 0.955 GB, free: 1.109 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004535/0.9205, allocations: 2.593 MB / 0.9575 GB, free: 14.46 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006064/0.9266, allocations: 2.803 MB / 0.9603 GB, free: 11.65 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005869/0.9325, allocations: 2.707 MB / 0.9629 GB, free: 8.949 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.001166/0.9337, allocations: 328 kB / 0.9632 GB, free: 8.629 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01296/0.9467, allocations: 6.161 MB / 0.9692 GB, free: 2.453 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.002154/0.9488, allocations: 1.34 MB / 0.9705 GB, free: 1.109 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.004029/0.9529, allocations: 1.886 MB / 0.9724 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.01552/0.9684, allocations: 6.892 MB / 0.9791 GB, free: 8.305 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 7.574e-06/0.9685, allocations: 4 kB / 0.9791 GB, free: 8.301 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.683e-06/0.9685, allocations: 0 / 0.9791 GB, free: 8.301 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.000207/0.9687, allocations: 0 / 0.9791 GB, free: 8.301 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.01387/0.9826, allocations: 4.131 MB / 0.9831 GB, free: 4.102 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/0.9826, allocations: 8.031 kB / 0.9832 GB, free: 4.094 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009244/0.9836, allocations: 371 kB / 0.9835 GB, free: 3.723 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006376/0.9899, allocations: 0.9172 MB / 0.9844 GB, free: 2.801 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004546/0.9945, allocations: 1.916 MB / 0.9863 GB, free: 0.8281 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001666/0.9947, allocations: 193.1 kB / 0.9865 GB, free: 0.6367 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006495/0.9954, allocations: 259.9 kB / 0.9867 GB, free: 392 kB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006504/1.002, allocations: 3.338 MB / 0.99 GB, free: 12.94 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.211e-05/1.002, allocations: 3.938 kB / 0.99 GB, free: 12.94 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003356/1.002, allocations: 108 kB / 0.9901 GB, free: 12.83 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001498/1.002, allocations: 141 kB / 0.9902 GB, free: 12.69 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006144/1.009, allocations: 3.502 MB / 0.9936 GB, free: 9.176 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.01732/1.026, allocations: 12.14 MB / 1.005 GB, free: 12.14 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004861/1.031, allocations: 3.514 MB / 1.009 GB, free: 8.543 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002957/1.034, allocations: 1.841 MB / 1.011 GB, free: 6.691 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001631/1.035, allocations: 1.493 MB / 1.012 GB, free: 4.883 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.553e-05/1.036, allocations: 64.69 kB / 1.012 GB, free: 4.809 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=278): time 5.871e-06/1.036, allocations: 4 kB / 1.012 GB, free: 4.805 MB / 0.7637 GB Notification: Performance of matching and sorting (n=278): time 0.006995/1.043, allocations: 3.889 MB / 1.016 GB, free: 0.8633 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.636e-05/1.043, allocations: 81.59 kB / 1.016 GB, free: 0.7695 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002192/1.045, allocations: 1.376 MB / 1.017 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.000182/1.045, allocations: 77.7 kB / 1.018 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006646/1.046, allocations: 0.9842 MB / 1.018 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008437/1.047, allocations: 0.947 MB / 1.019 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006454/1.047, allocations: 408.9 kB / 1.02 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.281e-05/1.047, allocations: 301.1 kB / 1.02 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001801/1.049, allocations: 1.094 MB / 1.021 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002034/1.051, allocations: 1.351 MB / 1.022 GB, free: 10.13 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004019/1.055, allocations: 2.65 MB / 1.025 GB, free: 7.387 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.101e-05/1.055, allocations: 4 kB / 1.025 GB, free: 7.383 MB / 0.7794 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.004899/1.06, allocations: 2.974 MB / 1.028 GB, free: 4.363 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.868e-05/1.06, allocations: 10.75 kB / 1.028 GB, free: 4.355 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.54e-05/1.06, allocations: 4 kB / 1.028 GB, free: 4.352 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.25e-05/1.06, allocations: 23.94 kB / 1.028 GB, free: 4.328 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002107/1.062, allocations: 0.5071 MB / 1.029 GB, free: 3.82 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.938e-05/1.062, allocations: 21.39 kB / 1.029 GB, free: 3.801 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002073/1.065, allocations: 178 kB / 1.029 GB, free: 3.625 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001893/1.065, allocations: 84 kB / 1.029 GB, free: 3.543 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.001191/1.066, allocations: 0.6494 MB / 1.029 GB, free: 2.883 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006527/1.067, allocations: 237.2 kB / 1.03 GB, free: 2.648 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005312/1.072, allocations: 3.108 MB / 1.033 GB, free: 15.48 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.282e-05/1.072, allocations: 35.88 kB / 1.033 GB, free: 15.45 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.059e-05/1.072, allocations: 0 / 1.033 GB, free: 15.45 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003964/1.076, allocations: 2.653 MB / 1.035 GB, free: 12.72 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0104/1.086, allocations: 6.213 MB / 1.041 GB, free: 6.41 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.546e-06/1.086, allocations: 4 kB / 1.041 GB, free: 6.406 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002475/1.089, allocations: 0.5462 MB / 1.042 GB, free: 5.859 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.455e-05/1.089, allocations: 8 kB / 1.042 GB, free: 5.852 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001933/1.089, allocations: 55.98 kB / 1.042 GB, free: 5.797 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-05/1.089, allocations: 12 kB / 1.042 GB, free: 5.785 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.255e-06/1.089, allocations: 0 / 1.042 GB, free: 5.785 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007058/1.096, allocations: 4.573 MB / 1.046 GB, free: 1.125 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001642/1.098, allocations: 0.6071 MB / 1.047 GB, free: 0.4961 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004889/1.098, allocations: 56 kB / 1.047 GB, free: 452 kB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001783/1.1, allocations: 70.34 kB / 1.047 GB, free: 384 kB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003121/1.1, allocations: 158 kB / 1.047 GB, free: 224 kB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001781/1.101, allocations: 83.97 kB / 1.047 GB, free: 140 kB / 0.795 GB Notification: Performance of sorting global known variables: time 0.3296/1.43, allocations: 0.9395 MB / 1.048 GB, free: 322 MB / 0.795 GB Notification: Performance of sort global known variables: time 8.52e-07/1.43, allocations: 5.344 kB / 1.048 GB, free: 322 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.003431/1.434, allocations: 0.9776 MB / 1.049 GB, free: 322 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.008277/1.442, allocations: 5.383 MB / 1.055 GB, free: 320.3 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.004984/1.447, allocations: 2.777 MB / 1.057 GB, free: 319.4 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 6.051e-06/1.447, allocations: 1.406 kB / 1.057 GB, free: 319.4 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.002296/1.449, allocations: 1.508 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.006401/1.456, allocations: 1.354 MB / 1.06 GB, free: 318.5 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02581/1.482, allocations: 19.44 MB / 1.079 GB, free: 310.2 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001361/1.483, allocations: 1.895 MB / 1.081 GB, free: 309.3 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.002865/1.486, allocations: 0.8395 MB / 1.082 GB, free: 309.2 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00131/1.487, allocations: 1.095 MB / 1.083 GB, free: 308.3 MB / 0.795 GB Notification: Performance of SimCode: time 9.12e-07/1.487, allocations: 0 / 1.083 GB, free: 308.3 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08959/1.577, allocations: 69.39 MB / 1.151 GB, free: 239.5 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.14/13.71, allocations: 8.922 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)