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.001091/0.001091, allocations: 105.5 kB / 16.41 MB, free: 6.469 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.001028/0.001028, allocations: 191.9 kB / 17.34 MB, free: 5.75 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.249/1.249, 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.7263/0.7263, allocations: 122.9 MB / 414.1 MB, free: 15.83 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001163/0.001163, allocations: 68.52 kB / 0.568 GB, free: 28.8 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.119/0.1202, allocations: 77.93 MB / 0.6441 GB, free: 9.527 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 0.5511/0.6714, allocations: 295.1 MB / 0.9322 GB, free: 4.586 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.02237/0.6938, allocations: 17 MB / 0.9488 GB, free: 3.551 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003268/0.6971, allocations: 79.62 kB / 0.9489 GB, free: 3.473 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.004559/0.7017, allocations: 1.978 MB / 0.9509 GB, free: 1.484 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.01458/0.7163, allocations: 6.624 MB / 0.9573 GB, free: 10.83 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.007068/0.7234, allocations: 2.974 MB / 0.9602 GB, free: 7.859 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.009153/0.7325, allocations: 7.725 MB / 0.9678 GB, free: 116 kB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003516/0.7361, allocations: 2.593 MB / 0.9703 GB, free: 13.46 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005022/0.7411, allocations: 2.862 MB / 0.9731 GB, free: 10.59 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004861/0.746, allocations: 2.691 MB / 0.9757 GB, free: 7.906 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.001005/0.7471, allocations: 328 kB / 0.976 GB, free: 7.586 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0116/0.7587, allocations: 6.188 MB / 0.9821 GB, free: 1.383 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.001935/0.7606, allocations: 1.348 MB / 0.9834 GB, free: 32 kB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.003645/0.7643, allocations: 1.883 MB / 0.9852 GB, free: 14.14 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.0131/0.7774, allocations: 6.916 MB / 0.992 GB, free: 7.203 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.7775, allocations: 0 / 0.992 GB, free: 7.203 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.463e-06/0.7775, allocations: 0 / 0.992 GB, free: 7.203 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 0.0001461/0.7776, allocations: 0 / 0.992 GB, free: 7.203 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.0115/0.7891, allocations: 4.238 MB / 0.9961 GB, free: 2.891 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.353e-05/0.7892, allocations: 8.625 kB / 0.9961 GB, free: 2.883 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008004/0.79, allocations: 371 kB / 0.9965 GB, free: 2.512 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006561/0.7966, allocations: 0.9307 MB / 0.9974 GB, free: 1.578 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004217/0.8008, allocations: 1.937 MB / 0.9993 GB, free: 15.59 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001561/0.801, allocations: 193.1 kB / 0.9995 GB, free: 15.39 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006317/0.8016, allocations: 259.9 kB / 0.9997 GB, free: 15.14 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00604/0.8077, allocations: 3.338 MB / 1.003 GB, free: 11.7 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.114e-05/0.8078, allocations: 3.938 kB / 1.003 GB, free: 11.7 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002556/0.808, allocations: 104 kB / 1.003 GB, free: 11.59 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001309/0.8082, allocations: 137 kB / 1.003 GB, free: 11.46 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005714/0.8139, allocations: 3.502 MB / 1.007 GB, free: 7.941 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.01568/0.8296, allocations: 12.18 MB / 1.019 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004645/0.8343, allocations: 3.505 MB / 1.022 GB, free: 7.27 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002945/0.8372, allocations: 1.841 MB / 1.024 GB, free: 5.426 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001425/0.8387, allocations: 1.493 MB / 1.025 GB, free: 3.617 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.797e-05/0.8388, allocations: 64.75 kB / 1.025 GB, free: 3.543 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=278): time 5.3e-06/0.8388, allocations: 7.938 kB / 1.025 GB, free: 3.535 MB / 0.7794 GB Notification: Performance of matching and sorting (n=278): time 0.006874/0.8456, allocations: 3.898 MB / 1.029 GB, free: 15.59 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.534e-05/0.8457, allocations: 77.59 kB / 1.029 GB, free: 15.5 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002142/0.8479, allocations: 1.376 MB / 1.031 GB, free: 14.11 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0002492/0.8481, allocations: 81.64 kB / 1.031 GB, free: 14.03 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006802/0.8488, allocations: 0.998 MB / 1.032 GB, free: 13.02 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009314/0.8498, allocations: 0.9991 MB / 1.033 GB, free: 12.02 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007087/0.8505, allocations: 409 kB / 1.033 GB, free: 11.61 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 8.829e-05/0.8506, allocations: 301.1 kB / 1.033 GB, free: 11.31 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001811/0.8524, allocations: 1.094 MB / 1.034 GB, free: 10.21 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001989/0.8544, allocations: 1.355 MB / 1.036 GB, free: 8.793 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004015/0.8584, allocations: 2.65 MB / 1.038 GB, free: 6.051 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.128e-05/0.8585, allocations: 0 / 1.038 GB, free: 6.051 MB / 0.795 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.00511/0.8636, allocations: 2.99 MB / 1.041 GB, free: 3.016 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.668e-05/0.8636, allocations: 8 kB / 1.041 GB, free: 3.008 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.663e-05/0.8637, allocations: 8.547 kB / 1.041 GB, free: 3 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.293e-05/0.8637, allocations: 19.94 kB / 1.041 GB, free: 2.98 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002251/0.866, allocations: 0.5149 MB / 1.042 GB, free: 2.465 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.218e-05/0.866, allocations: 16 kB / 1.042 GB, free: 2.449 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002188/0.8682, allocations: 190.5 kB / 1.042 GB, free: 2.262 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002385/0.8685, allocations: 79.98 kB / 1.042 GB, free: 2.184 MB / 0.795 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.001259/0.8697, allocations: 0.6494 MB / 1.043 GB, free: 1.523 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006629/0.8704, allocations: 246.5 kB / 1.043 GB, free: 1.281 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005268/0.8757, allocations: 3.106 MB / 1.046 GB, free: 14.11 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-05/0.8757, allocations: 27.94 kB / 1.046 GB, free: 14.09 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.026e-05/0.8757, allocations: 0 / 1.046 GB, free: 14.09 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003991/0.8797, allocations: 2.657 MB / 1.048 GB, free: 11.36 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0107/0.8905, allocations: 6.213 MB / 1.055 GB, free: 5.047 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.076e-05/0.8905, allocations: 4 kB / 1.055 GB, free: 5.043 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002598/0.8931, allocations: 0.5462 MB / 1.055 GB, free: 4.496 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.188e-05/0.8932, allocations: 8 kB / 1.055 GB, free: 4.488 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000214/0.8934, allocations: 55.98 kB / 1.055 GB, free: 4.434 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.891e-05/0.8934, allocations: 12 kB / 1.055 GB, free: 4.422 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.8934, allocations: 0 / 1.055 GB, free: 4.422 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2643/1.158, allocations: 4.585 MB / 1.06 GB, free: 325.6 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001759/1.16, allocations: 0.6193 MB / 1.06 GB, free: 325.5 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003967/1.16, allocations: 50.12 kB / 1.06 GB, free: 325.5 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001649/1.162, allocations: 63.33 kB / 1.06 GB, free: 325.5 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003247/1.162, allocations: 162.3 kB / 1.06 GB, free: 325.5 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001741/1.162, allocations: 81.73 kB / 1.061 GB, free: 325.5 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.001368/1.163, allocations: 0.9421 MB / 1.061 GB, free: 325.4 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.71e-07/1.163, allocations: 7.781 kB / 1.061 GB, free: 325.4 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.002172/1.166, allocations: 0.9908 MB / 1.062 GB, free: 325.4 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.007759/1.173, allocations: 5.399 MB / 1.068 GB, free: 323.4 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.004601/1.178, allocations: 2.773 MB / 1.07 GB, free: 322.4 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 7.134e-06/1.178, allocations: 1.094 kB / 1.07 GB, free: 322.4 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.002492/1.181, allocations: 1.51 MB / 1.072 GB, free: 321.9 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006197/1.187, allocations: 1.35 MB / 1.073 GB, free: 321.5 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02538/1.212, allocations: 19.53 MB / 1.092 GB, free: 313 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001127/1.213, allocations: 1.894 MB / 1.094 GB, free: 312.1 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.002622/1.216, allocations: 0.8416 MB / 1.095 GB, free: 312 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001286/1.217, allocations: 1.094 MB / 1.096 GB, free: 311.2 MB / 0.8106 GB Notification: Performance of SimCode: time 7.52e-07/1.217, allocations: 0 / 1.096 GB, free: 311.2 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08228/1.3, allocations: 68.22 MB / 1.163 GB, free: 245.8 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.01/13.31, allocations: 23.14 kB / 1.163 GB, free: 245.7 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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy3Zones_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 IBPSA_latest_IBPSA_Airflow_Multizone_Examples_ReverseBuoyancy3Zones.fmu > IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe 2>&1)