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.001514/0.001514, allocations: 99.23 kB / 15.69 MB, free: 476 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.001565/0.001565, allocations: 174.1 kB / 16.57 MB, free: 6.387 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.462/1.462, allocations: 223.2 MB / 240.5 MB, free: 5.461 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6654/0.6654, allocations: 113.7 MB / 405.3 MB, free: 4.699 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003019/0.0003021, allocations: 8 kB / 493 MB, free: 8.609 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1394/0.1397, allocations: 77.11 MB / 0.5567 GB, free: 11.71 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 0.559/0.6987, allocations: 239.4 MB / 0.7905 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0231/0.7219, allocations: 17.11 MB / 0.8072 GB, free: 9.418 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002722/0.7246, allocations: 67.56 kB / 0.8073 GB, free: 9.352 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.005208/0.7298, allocations: 1.653 MB / 0.8089 GB, free: 7.691 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.01955/0.7494, allocations: 4.94 MB / 0.8137 GB, free: 2.738 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.009728/0.7592, allocations: 2.194 MB / 0.8158 GB, free: 0.5664 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.4069/1.166, allocations: 4.397 MB / 0.8201 GB, free: 9.359 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005277/1.171, allocations: 1.946 MB / 0.822 GB, free: 25.1 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007205/1.179, allocations: 2.269 MB / 0.8242 GB, free: 25.09 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00511/1.184, allocations: 1.722 MB / 0.8259 GB, free: 25.08 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0008445/1.185, allocations: 156.4 kB / 0.8261 GB, free: 25.08 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008897/1.194, allocations: 2.43 MB / 0.8284 GB, free: 25.08 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.002134/1.196, allocations: 1.043 MB / 0.8295 GB, free: 25.08 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.002288/1.198, allocations: 0.6683 MB / 0.8301 GB, free: 25.05 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.008075/1.206, allocations: 4.075 MB / 0.8341 GB, free: 24.73 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/1.206, allocations: 0 / 0.8341 GB, free: 24.73 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.495e-06/1.206, allocations: 0 / 0.8341 GB, free: 24.73 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0001679/1.206, allocations: 0.9375 kB / 0.8341 GB, free: 24.73 MB / 0.6387 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.01105/1.217, allocations: 3.462 MB / 0.8375 GB, free: 23.21 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/1.217, allocations: 10.94 kB / 0.8375 GB, free: 23.21 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001226/1.219, allocations: 370 kB / 0.8378 GB, free: 23.16 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007163/1.226, allocations: 0.9307 MB / 0.8388 GB, free: 22.98 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005509/1.231, allocations: 1.777 MB / 0.8405 GB, free: 22.52 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001732/1.232, allocations: 195.2 kB / 0.8407 GB, free: 22.52 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006452/1.232, allocations: 264.2 kB / 0.8409 GB, free: 22.51 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005872/1.238, allocations: 3.295 MB / 0.8441 GB, free: 22.21 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.251e-05/1.238, allocations: 5.312 kB / 0.8441 GB, free: 22.21 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000267/1.239, allocations: 108.1 kB / 0.8443 GB, free: 22.21 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001339/1.239, allocations: 139.8 kB / 0.8444 GB, free: 22.21 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005474/1.244, allocations: 3.479 MB / 0.8478 GB, free: 22.17 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.01804/1.262, allocations: 12.1 MB / 0.8596 GB, free: 16.14 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004395/1.267, allocations: 3.494 MB / 0.863 GB, free: 15.55 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001433/1.268, allocations: 1.496 MB / 0.8645 GB, free: 13.95 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.289e-05/1.268, allocations: 71.78 kB / 0.8645 GB, free: 13.9 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=278): time 4.679e-06/1.268, allocations: 4 kB / 0.8645 GB, free: 13.9 MB / 0.6387 GB Notification: Performance of matching and sorting (n=278): time 0.006168/1.274, allocations: 3.85 MB / 0.8683 GB, free: 13.65 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.911e-05/1.274, allocations: 81.09 kB / 0.8684 GB, free: 13.58 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001888/1.276, allocations: 1.371 MB / 0.8697 GB, free: 13.41 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0002423/1.277, allocations: 77.48 kB / 0.8698 GB, free: 13.38 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006008/1.277, allocations: 0.9798 MB / 0.8708 GB, free: 13 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007968/1.278, allocations: 0.9442 MB / 0.8717 GB, free: 12.38 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001264/1.278, allocations: 49.38 kB / 0.8717 GB, free: 12.38 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0002089/1.278, allocations: 403.7 kB / 0.8721 GB, free: 12.07 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001556/1.28, allocations: 1.081 MB / 0.8732 GB, free: 12.07 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001692/1.282, allocations: 1.338 MB / 0.8745 GB, free: 11.88 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001738/1.283, allocations: 1.277 MB / 0.8757 GB, free: 11.83 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.063e-06/1.283, allocations: 0 / 0.8757 GB, free: 11.83 MB / 0.6387 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.004428/1.288, allocations: 2.952 MB / 0.8786 GB, free: 11.59 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.528e-05/1.288, allocations: 8.281 kB / 0.8786 GB, free: 11.59 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.68e-05/1.288, allocations: 3.969 kB / 0.8786 GB, free: 11.59 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.756e-05/1.288, allocations: 16.22 kB / 0.8786 GB, free: 11.59 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002096/1.29, allocations: 0.5101 MB / 0.8791 GB, free: 11.59 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.852e-05/1.29, allocations: 18.81 kB / 0.8791 GB, free: 11.59 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003287/1.293, allocations: 380.9 kB / 0.8795 GB, free: 11.46 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001672/1.294, allocations: 83.39 kB / 0.8796 GB, free: 11.46 MB / 0.6387 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001498/1.295, allocations: 0.6562 MB / 0.8802 GB, free: 11.34 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006281/1.296, allocations: 229.1 kB / 0.8804 GB, free: 11.23 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004541/1.3, allocations: 3.098 MB / 0.8835 GB, free: 10.91 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.86e-05/1.3, allocations: 24.16 kB / 0.8835 GB, free: 10.91 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.628e-06/1.3, allocations: 9.281 kB / 0.8835 GB, free: 10.9 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003231/1.304, allocations: 2.643 MB / 0.8861 GB, free: 10.37 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009241/1.313, allocations: 6.181 MB / 0.8921 GB, free: 8.719 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.184e-06/1.313, allocations: 0 / 0.8921 GB, free: 8.719 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002361/1.315, allocations: 0.5434 MB / 0.8926 GB, free: 8.645 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.775e-05/1.315, allocations: 7.281 kB / 0.8927 GB, free: 8.645 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000146/1.315, allocations: 61.34 kB / 0.8927 GB, free: 8.641 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.254e-05/1.315, allocations: 10.88 kB / 0.8927 GB, free: 8.641 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/1.315, allocations: 0 / 0.8927 GB, free: 8.641 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006004/1.321, allocations: 4.542 MB / 0.8972 GB, free: 7.078 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001838/1.323, allocations: 0.604 MB / 0.8977 GB, free: 6.59 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003663/1.324, allocations: 54.48 kB / 0.8978 GB, free: 6.574 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002056/1.326, allocations: 226.7 kB / 0.898 GB, free: 6.391 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003147/1.326, allocations: 163.5 kB / 0.8982 GB, free: 6.25 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001589/1.326, allocations: 80.03 kB / 0.8982 GB, free: 6.191 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.00136/1.328, allocations: 0.9352 MB / 0.8992 GB, free: 5.512 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.11e-07/1.328, allocations: 0 / 0.8992 GB, free: 5.512 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.002546/1.33, allocations: 0.9823 MB / 0.9001 GB, free: 4.609 MB / 0.6387 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0068/1.337, allocations: 5.365 MB / 0.9054 GB, free: 0.7734 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.004327/1.341, allocations: 2.735 MB / 0.908 GB, free: 14.9 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.851e-06/1.341, allocations: 0 / 0.908 GB, free: 14.9 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.002231/1.344, allocations: 1.497 MB / 0.9095 GB, free: 13.91 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006496/1.35, allocations: 1.25 MB / 0.9107 GB, free: 12.91 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01347/1.364, allocations: 11.76 MB / 0.9222 GB, free: 1.812 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001517/1.365, allocations: 1.945 MB / 0.9241 GB, free: 15.92 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.003391/1.368, allocations: 0.8397 MB / 0.9249 GB, free: 15.08 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001539/1.37, allocations: 1.085 MB / 0.926 GB, free: 14.81 MB / 0.67 GB Notification: Performance of SimCode: time 1.223e-06/1.37, allocations: 0 / 0.926 GB, free: 14.81 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1066/1.477, allocations: 66.52 MB / 0.9909 GB, free: 13.11 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00026/1.477, allocations: 181.4 kB / 0.9911 GB, free: 12.88 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.676/5.153, allocations: 3.75 kB / 0.9911 GB, free: 12.88 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/linux/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) Environment - environmentSimulation: