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.001572/0.001572, allocations: 102.8 kB / 16.41 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.001583/0.001583, allocations: 189.2 kB / 17.34 MB, free: 5.742 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.415/1.415, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8153/0.8153, allocations: 125.3 MB / 416.5 MB, free: 13.55 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001895/0.001895, allocations: 63.5 kB / 0.5716 GB, free: 27.59 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1316/0.1335, allocations: 78.58 MB / 0.6484 GB, free: 5.633 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 0.599/0.7326, allocations: 295.2 MB / 0.9367 GB, free: 14.66 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.02784/0.7605, allocations: 17.02 MB / 0.9533 GB, free: 13.61 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004547/0.7651, allocations: 79.62 kB / 0.9534 GB, free: 13.53 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.00617/0.7713, allocations: 1.892 MB / 0.9552 GB, free: 11.62 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.01572/0.7871, allocations: 6.429 MB / 0.9615 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.007727/0.7948, allocations: 2.951 MB / 0.9644 GB, free: 2.219 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.01087/0.8057, allocations: 7.7 MB / 0.9719 GB, free: 10.5 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003947/0.8097, allocations: 2.585 MB / 0.9744 GB, free: 7.855 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005899/0.8156, allocations: 3.006 MB / 0.9773 GB, free: 4.84 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005393/0.821, allocations: 2.665 MB / 0.9799 GB, free: 2.18 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0007793/0.8218, allocations: 328 kB / 0.9803 GB, free: 1.859 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01288/0.8347, allocations: 6.149 MB / 0.9863 GB, free: 11.7 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.002088/0.8368, allocations: 1.336 MB / 0.9876 GB, free: 10.36 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.003058/0.8399, allocations: 1.886 MB / 0.9894 GB, free: 8.461 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.01368/0.8536, allocations: 6.916 MB / 0.9962 GB, free: 1.523 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.8537, allocations: 7.938 kB / 0.9962 GB, free: 1.516 MB / 0.7481 GB Notification: Performance of FrontEnd: time 2.144e-06/0.8537, allocations: 0 / 0.9962 GB, free: 1.516 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 9.402e-05/0.8538, allocations: 0 / 0.9962 GB, free: 1.516 MB / 0.7481 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.01065/0.8644, allocations: 4.234 MB / 1 GB, free: 13.2 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.593e-05/0.8645, allocations: 8.625 kB / 1 GB, free: 13.2 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005032/0.865, allocations: 375 kB / 1.001 GB, free: 12.82 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006373/0.8714, allocations: 0.9268 MB / 1.002 GB, free: 11.89 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003833/0.8752, allocations: 1.941 MB / 1.003 GB, free: 9.895 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001534/0.8754, allocations: 189.1 kB / 1.004 GB, free: 9.707 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004252/0.8758, allocations: 260 kB / 1.004 GB, free: 9.453 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005833/0.8817, allocations: 3.338 MB / 1.007 GB, free: 6.016 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.277e-05/0.8818, allocations: 11.89 kB / 1.007 GB, free: 6.004 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002602/0.882, allocations: 104 kB / 1.007 GB, free: 5.902 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000153/0.8822, allocations: 141 kB / 1.007 GB, free: 5.762 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006031/0.8882, allocations: 3.494 MB / 1.011 GB, free: 2.254 MB / 0.7637 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.01658/0.9048, allocations: 12.41 MB / 1.023 GB, free: 4.887 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005009/0.9098, allocations: 3.51 MB / 1.026 GB, free: 1.297 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003099/0.913, allocations: 1.849 MB / 1.028 GB, free: 15.45 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001688/0.9147, allocations: 1.485 MB / 1.03 GB, free: 13.64 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.594e-05/0.9147, allocations: 65.22 kB / 1.03 GB, free: 13.57 MB / 0.795 GB Notification: Performance of pre-optimization done (n=278): time 4.438e-06/0.9148, allocations: 0 / 1.03 GB, free: 13.57 MB / 0.795 GB Notification: Performance of matching and sorting (n=278): time 0.00709/0.9219, allocations: 3.901 MB / 1.033 GB, free: 9.617 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.077e-05/0.9219, allocations: 85.59 kB / 1.034 GB, free: 9.52 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002085/0.924, allocations: 1.372 MB / 1.035 GB, free: 8.141 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.000194/0.9242, allocations: 73.7 kB / 1.035 GB, free: 8.062 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008026/0.9251, allocations: 1.01 MB / 1.036 GB, free: 7.043 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009527/0.926, allocations: 0.9914 MB / 1.037 GB, free: 6.043 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006706/0.9267, allocations: 408.9 kB / 1.037 GB, free: 5.637 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001242/0.9268, allocations: 301.1 kB / 1.038 GB, free: 5.34 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001891/0.9287, allocations: 1.102 MB / 1.039 GB, free: 4.234 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002122/0.9308, allocations: 1.358 MB / 1.04 GB, free: 2.809 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004302/0.9352, allocations: 2.65 MB / 1.043 GB, free: 68 kB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.863e-06/0.9352, allocations: 0 / 1.043 GB, free: 68 kB / 0.795 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.005359/0.9405, allocations: 2.983 MB / 1.046 GB, free: 13.04 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.822e-05/0.9406, allocations: 11.94 kB / 1.046 GB, free: 13.03 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.418e-05/0.9406, allocations: 4 kB / 1.046 GB, free: 13.02 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.215e-05/0.9406, allocations: 16 kB / 1.046 GB, free: 13.01 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002288/0.9429, allocations: 0.511 MB / 1.046 GB, free: 12.5 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.09e-05/0.943, allocations: 16.31 kB / 1.046 GB, free: 12.48 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002086/0.9451, allocations: 194.5 kB / 1.046 GB, free: 12.29 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001817/0.9453, allocations: 83.98 kB / 1.046 GB, free: 12.21 MB / 0.8106 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.001198/0.9465, allocations: 0.6455 MB / 1.047 GB, free: 11.55 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004988/0.947, allocations: 254.4 kB / 1.047 GB, free: 11.3 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005465/0.9524, allocations: 3.108 MB / 1.05 GB, free: 8.137 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.303e-05/0.9525, allocations: 24 kB / 1.05 GB, free: 8.113 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.125e-06/0.9525, allocations: 0 / 1.05 GB, free: 8.113 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004166/0.9567, allocations: 2.661 MB / 1.053 GB, free: 5.383 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2947/1.251, allocations: 6.213 MB / 1.059 GB, free: 323.1 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.111e-05/1.251, allocations: 0 / 1.059 GB, free: 323.1 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002692/1.254, allocations: 0.5422 MB / 1.059 GB, free: 323.1 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.671e-05/1.254, allocations: 10.66 kB / 1.059 GB, free: 323.1 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001571/1.254, allocations: 62.23 kB / 1.06 GB, free: 323.1 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.456e-05/1.254, allocations: 9.375 kB / 1.06 GB, free: 323.1 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.255e-06/1.254, allocations: 0 / 1.06 GB, free: 323.1 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007183/1.262, allocations: 4.585 MB / 1.064 GB, free: 322.1 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001302/1.263, allocations: 0.6179 MB / 1.065 GB, free: 321.9 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003253/1.263, allocations: 55.58 kB / 1.065 GB, free: 321.8 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001584/1.265, allocations: 63.28 kB / 1.065 GB, free: 321.8 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000432/1.265, allocations: 161.7 kB / 1.065 GB, free: 321.8 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002157/1.265, allocations: 82.17 kB / 1.065 GB, free: 321.7 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.001487/1.267, allocations: 0.9472 MB / 1.066 GB, free: 321.4 MB / 0.8106 GB Notification: Performance of sort global known variables: time 3.01e-07/1.267, allocations: 0.6562 kB / 1.066 GB, free: 321.4 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.001977/1.269, allocations: 0.9886 MB / 1.067 GB, free: 321.3 MB / 0.8106 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.007654/1.277, allocations: 5.405 MB / 1.072 GB, free: 318.8 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.004234/1.281, allocations: 2.767 MB / 1.075 GB, free: 317.8 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/1.281, allocations: 1.188 kB / 1.075 GB, free: 317.8 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.002056/1.283, allocations: 1.51 MB / 1.076 GB, free: 317.3 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005763/1.289, allocations: 1.357 MB / 1.078 GB, free: 316.9 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02362/1.312, allocations: 19.54 MB / 1.097 GB, free: 308.4 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001065/1.313, allocations: 1.894 MB / 1.099 GB, free: 306.9 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.002598/1.316, allocations: 0.8377 MB / 1.099 GB, free: 306.1 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001253/1.317, allocations: 1.093 MB / 1.1 GB, free: 305 MB / 0.8106 GB Notification: Performance of SimCode: time 8.01e-07/1.317, allocations: 0 / 1.1 GB, free: 305 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08929/1.407, allocations: 68.22 MB / 1.167 GB, free: 237.4 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.85/14.25, allocations: 7.062 kB / 1.167 GB, free: 237.4 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)