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.007828/0.007828, allocations: 102.2 kB / 15.73 MB, free: 5.996 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.002068/0.002069, allocations: 187.4 kB / 16.67 MB, free: 5.93 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.579/1.579, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8244/0.8244, allocations: 132.2 MB / 422.7 MB, free: 1.707 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002841/0.002841, allocations: 71.59 kB / 0.5809 GB, free: 1.273 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1833/0.1862, allocations: 80.2 MB / 0.6592 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 0.67/0.8562, allocations: 295.1 MB / 0.9474 GB, free: 8.953 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02708/0.8833, allocations: 16.98 MB / 0.964 GB, free: 8.457 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003665/0.887, allocations: 83.56 kB / 0.964 GB, free: 8.375 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.005801/0.8928, allocations: 1.888 MB / 0.9659 GB, free: 6.477 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.01817/0.9111, allocations: 6.423 MB / 0.9722 GB, free: 28 kB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.008001/0.9191, allocations: 2.941 MB / 0.975 GB, free: 13.09 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.01108/0.9302, allocations: 7.695 MB / 0.9825 GB, free: 5.371 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004242/0.9345, allocations: 2.599 MB / 0.9851 GB, free: 2.719 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006994/0.9415, allocations: 2.784 MB / 0.9878 GB, free: 15.93 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006382/0.9479, allocations: 2.708 MB / 0.9904 GB, free: 13.22 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.001143/0.9491, allocations: 328 kB / 0.9908 GB, free: 12.9 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01321/0.9623, allocations: 6.161 MB / 0.9968 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.001996/0.9643, allocations: 1.34 MB / 0.9981 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.003065/0.9674, allocations: 1.883 MB / 0.9999 GB, free: 3.492 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.01397/0.9814, allocations: 6.92 MB / 1.007 GB, free: 12.55 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.9814, allocations: 0 / 1.007 GB, free: 12.55 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.573e-06/0.9815, allocations: 0 / 1.007 GB, free: 12.55 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.0001117/0.9816, allocations: 0 / 1.007 GB, free: 12.55 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.01311/0.9947, allocations: 4.23 MB / 1.011 GB, free: 8.246 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.07e-05/0.9948, allocations: 12.03 kB / 1.011 GB, free: 8.234 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006865/0.9954, allocations: 371 kB / 1.011 GB, free: 7.863 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00683/1.002, allocations: 0.9268 MB / 1.012 GB, free: 6.934 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004342/1.007, allocations: 1.937 MB / 1.014 GB, free: 4.941 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001804/1.007, allocations: 189.1 kB / 1.014 GB, free: 4.754 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006421/1.008, allocations: 263.9 kB / 1.014 GB, free: 4.496 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006306/1.014, allocations: 3.334 MB / 1.018 GB, free: 1.059 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-05/1.014, allocations: 7.953 kB / 1.018 GB, free: 1.051 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002781/1.014, allocations: 107.9 kB / 1.018 GB, free: 0.9453 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001614/1.014, allocations: 141 kB / 1.018 GB, free: 0.8047 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006568/1.021, allocations: 3.494 MB / 1.021 GB, free: 13.29 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.01791/1.039, allocations: 12.14 MB / 1.033 GB, free: 260 kB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005319/1.044, allocations: 3.488 MB / 1.037 GB, free: 12.69 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00317/1.047, allocations: 1.845 MB / 1.038 GB, free: 10.84 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001678/1.049, allocations: 1.493 MB / 1.04 GB, free: 9.027 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.42e-05/1.049, allocations: 73.16 kB / 1.04 GB, free: 8.945 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=278): time 4.739e-06/1.049, allocations: 0 / 1.04 GB, free: 8.945 MB / 0.7637 GB Notification: Performance of matching and sorting (n=278): time 0.007354/1.057, allocations: 3.886 MB / 1.044 GB, free: 5.008 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.087e-05/1.057, allocations: 81.59 kB / 1.044 GB, free: 4.914 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002039/1.059, allocations: 1.376 MB / 1.045 GB, free: 3.531 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.0002/1.059, allocations: 77.7 kB / 1.045 GB, free: 3.449 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.000809/1.06, allocations: 1.002 MB / 1.046 GB, free: 2.438 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009293/1.061, allocations: 0.9991 MB / 1.047 GB, free: 1.43 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006638/1.061, allocations: 409 kB / 1.048 GB, free: 1.023 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001197/1.062, allocations: 305.1 kB / 1.048 GB, free: 0.7227 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001886/1.063, allocations: 1.09 MB / 1.049 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002141/1.066, allocations: 1.377 MB / 1.05 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004333/1.07, allocations: 2.646 MB / 1.053 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.051e-06/1.07, allocations: 0 / 1.053 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.005269/1.075, allocations: 2.975 MB / 1.056 GB, free: 8.414 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.609e-05/1.075, allocations: 12 kB / 1.056 GB, free: 8.402 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.353e-05/1.075, allocations: 4 kB / 1.056 GB, free: 8.398 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.89e-05/1.075, allocations: 12 kB / 1.056 GB, free: 8.387 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002231/1.078, allocations: 0.511 MB / 1.056 GB, free: 7.875 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.978e-05/1.078, allocations: 19.94 kB / 1.056 GB, free: 7.855 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002054/1.08, allocations: 201.7 kB / 1.056 GB, free: 7.66 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001862/1.08, allocations: 87.98 kB / 1.057 GB, free: 7.574 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.001204/1.081, allocations: 0.6455 MB / 1.057 GB, free: 6.918 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004772/1.082, allocations: 242.5 kB / 1.057 GB, free: 6.68 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005449/1.087, allocations: 3.096 MB / 1.06 GB, free: 3.531 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.761e-05/1.087, allocations: 31.94 kB / 1.06 GB, free: 3.5 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.795e-06/1.087, allocations: 0 / 1.06 GB, free: 3.5 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004255/1.091, allocations: 2.653 MB / 1.063 GB, free: 0.7773 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01001/1.101, allocations: 6.202 MB / 1.069 GB, free: 10.47 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.075e-06/1.101, allocations: 0 / 1.069 GB, free: 10.47 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002656/1.104, allocations: 0.5462 MB / 1.07 GB, free: 9.926 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.292e-05/1.104, allocations: 11.94 kB / 1.07 GB, free: 9.914 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001776/1.104, allocations: 59.98 kB / 1.07 GB, free: 9.855 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.75e-05/1.104, allocations: 19.97 kB / 1.07 GB, free: 9.836 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.321e-06/1.104, allocations: 0 / 1.07 GB, free: 9.836 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007882/1.112, allocations: 4.813 MB / 1.074 GB, free: 4.938 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001524/1.114, allocations: 0.6159 MB / 1.075 GB, free: 4.301 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004714/1.114, allocations: 55.98 kB / 1.075 GB, free: 4.246 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001656/1.116, allocations: 65.62 kB / 1.075 GB, free: 4.184 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003525/1.116, allocations: 162 kB / 1.075 GB, free: 4.023 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001754/1.116, allocations: 87.97 kB / 1.075 GB, free: 3.938 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.001456/1.118, allocations: 0.9423 MB / 1.076 GB, free: 3 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.61e-07/1.118, allocations: 0 / 1.076 GB, free: 3 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.002315/1.12, allocations: 0.9906 MB / 1.077 GB, free: 2.008 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.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.008563/1.129, allocations: 5.64 MB / 1.083 GB, free: 12.29 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.004762/1.134, allocations: 2.778 MB / 1.086 GB, free: 9.477 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 8.466e-06/1.134, allocations: 4 kB / 1.086 GB, free: 9.473 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.002437/1.136, allocations: 1.511 MB / 1.087 GB, free: 7.957 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006156/1.142, allocations: 1.351 MB / 1.088 GB, free: 6.672 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03419/1.176, allocations: 19.47 MB / 1.107 GB, free: 2.84 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00171/1.178, allocations: 1.903 MB / 1.109 GB, free: 0.9023 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.00283/1.181, allocations: 0.8358 MB / 1.11 GB, free: 64 kB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001888/1.183, allocations: 1.093 MB / 1.111 GB, free: 14.97 MB / 0.8419 GB Notification: Performance of SimCode: time 9.52e-07/1.183, allocations: 0 / 1.111 GB, free: 14.97 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4594/1.642, allocations: 68.37 MB / 1.178 GB, free: 340.3 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.89/14.53, allocations: 8.25 kB / 1.178 GB, free: 340.3 MB / 0.8575 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 & python3 -m fmpy simulate --output-file IDEAS_IDEAS.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 IDEAS_IDEAS_Airflow_Multizone_Examples_ReverseBuoyancy3Zones.fmu > IDEAS_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe 2>&1)