Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy3Zones,fileNamePrefix="IDEAS_IDEAS_Airflow_Multizone_Examples_ReverseBuoyancy3Zones",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy3Zones,fileNamePrefix="IDEAS_IDEAS_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.00476/0.00476, allocations: 101.6 kB / 15.73 MB, free: 5.539 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.001139/0.001139, allocations: 193.1 kB / 16.67 MB, free: 5.469 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.229/1.229, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7421/0.7421, allocations: 132.2 MB / 422.7 MB, free: 6.555 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001191/0.001191, allocations: 64.36 kB / 0.5809 GB, free: 24.04 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1403/0.1415, allocations: 80.21 MB / 0.6592 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 0.6245/0.7661, allocations: 295.1 MB / 0.9474 GB, free: 14.76 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.02604/0.7922, allocations: 16.97 MB / 0.9639 GB, free: 13.74 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004505/0.7967, allocations: 87.5 kB / 0.964 GB, free: 13.66 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.006098/0.8028, allocations: 1.888 MB / 0.9659 GB, free: 11.76 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.01615/0.8191, allocations: 6.429 MB / 0.9722 GB, free: 5.305 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.007178/0.8263, allocations: 2.944 MB / 0.975 GB, free: 2.359 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.009933/0.8362, allocations: 7.708 MB / 0.9826 GB, free: 10.63 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004067/0.8403, allocations: 2.59 MB / 0.9851 GB, free: 7.996 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005716/0.846, allocations: 2.819 MB / 0.9878 GB, free: 5.168 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005983/0.852, allocations: 2.696 MB / 0.9905 GB, free: 2.477 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0009184/0.8529, allocations: 328 kB / 0.9908 GB, free: 2.156 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01197/0.8649, allocations: 6.169 MB / 0.9968 GB, free: 11.97 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.001903/0.8669, allocations: 1.34 MB / 0.9981 GB, free: 10.63 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.004155/0.871, allocations: 1.883 MB / 1 GB, free: 8.738 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0141/0.8851, allocations: 6.888 MB / 1.007 GB, free: 1.832 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 7.304e-06/0.8852, allocations: 3.984 kB / 1.007 GB, free: 1.828 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.764e-06/0.8852, allocations: 0 / 1.007 GB, free: 1.828 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 0.0001747/0.8854, allocations: 0 / 1.007 GB, free: 1.828 MB / 0.7637 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.01196/0.8973, allocations: 4.127 MB / 1.011 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.626e-05/0.8974, allocations: 12.03 kB / 1.011 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009314/0.8983, allocations: 371 kB / 1.011 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006628/0.905, allocations: 0.9133 MB / 1.012 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004701/0.9097, allocations: 1.912 MB / 1.014 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001863/0.9099, allocations: 197.1 kB / 1.014 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008773/0.9108, allocations: 267.8 kB / 1.014 GB, free: 9.906 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007241/0.918, allocations: 3.338 MB / 1.018 GB, free: 6.465 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.439e-05/0.9182, allocations: 3.938 kB / 1.018 GB, free: 6.461 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004113/0.9186, allocations: 112 kB / 1.018 GB, free: 6.352 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001505/0.9187, allocations: 133 kB / 1.018 GB, free: 6.219 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006219/0.925, allocations: 3.482 MB / 1.021 GB, free: 2.723 MB / 0.7794 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.01669/0.9417, allocations: 12.12 MB / 1.033 GB, free: 5.695 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004406/0.9461, allocations: 3.485 MB / 1.036 GB, free: 2.129 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002759/0.9489, allocations: 1.853 MB / 1.038 GB, free: 276 kB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001432/0.9504, allocations: 1.493 MB / 1.04 GB, free: 14.46 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.057e-05/0.9504, allocations: 64.69 kB / 1.04 GB, free: 14.39 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=278): time 4.448e-06/0.9505, allocations: 0 / 1.04 GB, free: 14.39 MB / 0.8106 GB Notification: Performance of matching and sorting (n=278): time 0.00687/0.9573, allocations: 3.881 MB / 1.044 GB, free: 10.46 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.84e-05/0.9574, allocations: 77.59 kB / 1.044 GB, free: 10.37 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002756/0.9602, allocations: 1.379 MB / 1.045 GB, free: 8.98 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0002585/0.9605, allocations: 77.7 kB / 1.045 GB, free: 8.898 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009508/0.9614, allocations: 0.9843 MB / 1.046 GB, free: 7.902 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.001113/0.9625, allocations: 0.9471 MB / 1.047 GB, free: 6.941 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006733/0.9632, allocations: 408.9 kB / 1.047 GB, free: 6.535 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001532/0.9634, allocations: 301.1 kB / 1.048 GB, free: 6.238 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001723/0.9651, allocations: 1.098 MB / 1.049 GB, free: 5.137 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001965/0.9671, allocations: 1.374 MB / 1.05 GB, free: 3.684 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003826/0.9709, allocations: 2.65 MB / 1.053 GB, free: 0.9414 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.732e-06/0.9709, allocations: 0 / 1.053 GB, free: 0.9414 MB / 0.8106 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.296/1.267, allocations: 2.961 MB / 1.055 GB, free: 311.9 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.37e-05/1.267, allocations: 7.781 kB / 1.055 GB, free: 311.9 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.95e-05/1.267, allocations: 6.047 kB / 1.056 GB, free: 311.9 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.742e-05/1.267, allocations: 14.91 kB / 1.056 GB, free: 311.9 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002162/1.269, allocations: 0.5122 MB / 1.056 GB, free: 311.9 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.021e-05/1.269, allocations: 16.5 kB / 1.056 GB, free: 311.9 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002289/1.272, allocations: 184.9 kB / 1.056 GB, free: 311.9 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001873/1.272, allocations: 87.77 kB / 1.056 GB, free: 311.9 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.001437/1.273, allocations: 0.6446 MB / 1.057 GB, free: 311.7 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005305/1.274, allocations: 236.3 kB / 1.057 GB, free: 311.7 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005768/1.28, allocations: 3.1 MB / 1.06 GB, free: 311 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.046e-05/1.28, allocations: 26.72 kB / 1.06 GB, free: 311 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.357e-05/1.28, allocations: 4.438 kB / 1.06 GB, free: 311 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004394/1.284, allocations: 2.649 MB / 1.063 GB, free: 309.8 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009901/1.294, allocations: 6.2 MB / 1.069 GB, free: 307.3 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.456e-06/1.294, allocations: 0 / 1.069 GB, free: 307.3 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002502/1.296, allocations: 0.5542 MB / 1.069 GB, free: 307.3 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.472e-05/1.297, allocations: 13.59 kB / 1.069 GB, free: 307.3 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001628/1.297, allocations: 58.36 kB / 1.069 GB, free: 307.3 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.375e-05/1.297, allocations: 9.625 kB / 1.069 GB, free: 307.3 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.664e-06/1.297, allocations: 1.031 kB / 1.069 GB, free: 307.3 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007225/1.304, allocations: 4.798 MB / 1.074 GB, free: 305.2 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001413/1.305, allocations: 0.615 MB / 1.075 GB, free: 304.8 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003282/1.306, allocations: 52.38 kB / 1.075 GB, free: 304.8 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001533/1.307, allocations: 64 kB / 1.075 GB, free: 304.7 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003727/1.308, allocations: 161.1 kB / 1.075 GB, free: 304.7 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001556/1.308, allocations: 84.95 kB / 1.075 GB, free: 304.7 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.001313/1.309, allocations: 0.9443 MB / 1.076 GB, free: 304.3 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/1.309, allocations: 2.062 kB / 1.076 GB, free: 304.3 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.002274/1.311, allocations: 0.9834 MB / 1.077 GB, free: 304.1 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.U,volEas.dynBal.m,volEas.dynBal.mXi[1],oriOutBot.mExc,oriOutTop.mExc,volOut.dynBal.U,volOut.dynBal.m,volOut.dynBal.mXi[1],oriWesTop.mExc,dooOpeClo.mExcAB,dooOpeClo.mExcBA,oriEasTop.mExc,volTop.dynBal.U,volTop.dynBal.m,volTop.dynBal.mXi[1],volWes.dynBal.U,volWes.dynBal.m,volWes.dynBal.mXi[1]) * 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.006471/1.318, allocations: 5.632 MB / 1.082 GB, free: 301.5 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.003715/1.322, allocations: 2.774 MB / 1.085 GB, free: 300.5 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 5.531e-06/1.322, allocations: 3.969 kB / 1.085 GB, free: 300.5 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.001609/1.323, allocations: 1.51 MB / 1.087 GB, free: 300 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004581/1.328, allocations: 1.355 MB / 1.088 GB, free: 299.7 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02133/1.349, allocations: 19.37 MB / 1.107 GB, free: 284.1 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009895/1.35, allocations: 1.896 MB / 1.109 GB, free: 282.2 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.002294/1.353, allocations: 0.8392 MB / 1.11 GB, free: 281.3 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001128/1.354, allocations: 1.093 MB / 1.111 GB, free: 280.2 MB / 0.8106 GB Notification: Performance of SimCode: time 8.32e-07/1.354, allocations: 4 kB / 1.111 GB, free: 280.2 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08736/1.441, allocations: 69.54 MB / 1.179 GB, free: 211.2 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.48/12.92, allocations: 0 / 1.179 GB, free: 211.2 MB / 0.8106 GB (rm -f IDEAS_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; mkfifo IDEAS_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; head -c 1048576 < IDEAS_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe >> ../files/IDEAS_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Airflow_Multizone_Examples_ReverseBuoyancy3Zones_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Airflow_Multizone_Examples_ReverseBuoyancy3Zones.fmu > IDEAS_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe 2>&1)