Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy.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.ReverseBuoyancy,fileNamePrefix="IDEAS_IDEAS_Airflow_Multizone_Examples_ReverseBuoyancy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy,fileNamePrefix="IDEAS_IDEAS_Airflow_Multizone_Examples_ReverseBuoyancy",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.001213/0.001213, allocations: 108 kB / 15.61 MB, free: 152 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.001292/0.001292, allocations: 196.2 kB / 16.53 MB, free: 6.664 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.205/1.205, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.695/0.695, allocations: 132.2 MB / 422.6 MB, free: 1.809 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001143/0.001143, allocations: 63.94 kB / 0.5019 GB, free: 3.785 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3142/0.3154, allocations: 80.19 MB / 0.5802 GB, free: 4.57 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy): time 0.5499/0.8653, allocations: 314.1 MB / 0.8869 GB, free: 1.625 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02121/0.8866, allocations: 18.45 MB / 0.905 GB, free: 1.277 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003639/0.8902, allocations: 87.88 kB / 0.905 GB, free: 1.277 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.004601/0.8949, allocations: 2.145 MB / 0.9071 GB, free: 1.223 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.01544/0.9103, allocations: 7.301 MB / 0.9143 GB, free: 0.8516 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.007333/0.9177, allocations: 3.205 MB / 0.9174 GB, free: 0.7422 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0101/0.9278, allocations: 9.111 MB / 0.9263 GB, free: 15.62 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003911/0.9318, allocations: 3.128 MB / 0.9294 GB, free: 14.3 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005495/0.9373, allocations: 3.301 MB / 0.9326 GB, free: 12.97 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005315/0.9426, allocations: 3.231 MB / 0.9357 GB, free: 11.46 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0008397/0.9434, allocations: 404.8 kB / 0.9361 GB, free: 11.28 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01356/0.957, allocations: 6.999 MB / 0.943 GB, free: 5.781 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.002285/0.9593, allocations: 1.685 MB / 0.9446 GB, free: 4.125 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.003875/0.9632, allocations: 2.305 MB / 0.9469 GB, free: 1.848 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.01464/0.9779, allocations: 8.133 MB / 0.9548 GB, free: 10.18 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.9779, allocations: 0 / 0.9548 GB, free: 10.18 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.343e-06/0.9779, allocations: 4 kB / 0.9548 GB, free: 10.17 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0001136/0.9781, allocations: 0 / 0.9548 GB, free: 10.17 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 843 * Number of variables: 843 Notification: Performance of Generate backend data structure: time 0.01188/0.9899, allocations: 5.005 MB / 0.9597 GB, free: 5.148 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.656e-05/0.99, allocations: 8.031 kB / 0.9597 GB, free: 5.141 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005393/0.9905, allocations: 454.4 kB / 0.9601 GB, free: 4.688 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006183/0.9967, allocations: 1.006 MB / 0.9611 GB, free: 3.684 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003667/1, allocations: 2.164 MB / 0.9632 GB, free: 1.582 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001592/1.001, allocations: 248.8 kB / 0.9635 GB, free: 1.344 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004784/1.001, allocations: 322 kB / 0.9638 GB, free: 1.031 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006499/1.008, allocations: 4.238 MB / 0.9679 GB, free: 12.73 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.451e-05/1.008, allocations: 7 kB / 0.9679 GB, free: 12.72 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003034/1.008, allocations: 137.5 kB / 0.968 GB, free: 12.59 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001565/1.008, allocations: 174.3 kB / 0.9682 GB, free: 12.42 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007435/1.016, allocations: 4.771 MB / 0.9729 GB, free: 7.656 MB / 0.6856 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.01803/1.034, allocations: 14.5 MB / 0.987 GB, free: 8.477 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005686/1.039, allocations: 4.531 MB / 0.9915 GB, free: 3.957 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003356/1.043, allocations: 2.457 MB / 0.9939 GB, free: 1.5 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001611/1.044, allocations: 1.608 MB / 0.9954 GB, free: 15.57 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.568e-05/1.044, allocations: 75.47 kB / 0.9955 GB, free: 15.49 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=392): time 4.959e-06/1.044, allocations: 0 / 0.9955 GB, free: 15.49 MB / 0.7169 GB Notification: Performance of matching and sorting (n=392): time 0.008639/1.053, allocations: 5.535 MB / 1.001 GB, free: 9.938 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.193e-05/1.053, allocations: 98.48 kB / 1.001 GB, free: 9.828 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002118/1.055, allocations: 1.676 MB / 1.003 GB, free: 8.109 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0002273/1.056, allocations: 93.7 kB / 1.003 GB, free: 8.012 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007304/1.056, allocations: 1.132 MB / 1.004 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.001007/1.057, allocations: 1.326 MB / 1.005 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007817/1.058, allocations: 0.5507 MB / 1.006 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.609e-05/1.058, allocations: 309.1 kB / 1.006 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002324/1.06, allocations: 1.556 MB / 1.007 GB, free: 3.133 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002594/1.063, allocations: 1.939 MB / 1.009 GB, free: 1.117 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005224/1.068, allocations: 3.774 MB / 1.013 GB, free: 13.28 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.307e-06/1.068, allocations: 4 kB / 1.013 GB, free: 13.27 MB / 0.7325 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.006225/1.075, allocations: 4.163 MB / 1.017 GB, free: 9.113 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.256e-05/1.075, allocations: 8 kB / 1.017 GB, free: 9.105 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.462e-05/1.075, allocations: 4 kB / 1.017 GB, free: 9.102 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.153e-05/1.075, allocations: 20 kB / 1.017 GB, free: 9.082 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002824/1.078, allocations: 0.6985 MB / 1.018 GB, free: 8.426 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.228e-05/1.078, allocations: 24.33 kB / 1.018 GB, free: 8.402 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002366/1.08, allocations: 267.3 kB / 1.018 GB, free: 8.141 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002114/1.08, allocations: 116 kB / 1.018 GB, free: 8.027 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (430): * Single equations (assignments): 430 * 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.001256/1.081, allocations: 0.8026 MB / 1.019 GB, free: 7.258 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000529/1.082, allocations: 288.5 kB / 1.019 GB, free: 6.973 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006532/1.088, allocations: 4.425 MB / 1.024 GB, free: 2.512 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.102e-05/1.089, allocations: 36 kB / 1.024 GB, free: 2.477 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.317e-06/1.089, allocations: 0 / 1.024 GB, free: 2.477 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005107/1.094, allocations: 3.793 MB / 1.027 GB, free: 14.62 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01245/1.106, allocations: 8.624 MB / 1.036 GB, free: 5.945 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-05/1.106, allocations: 7.938 kB / 1.036 GB, free: 5.938 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003186/1.109, allocations: 0.7309 MB / 1.036 GB, free: 5.242 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.37e-05/1.109, allocations: 16 kB / 1.037 GB, free: 5.227 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002055/1.11, allocations: 83.98 kB / 1.037 GB, free: 5.145 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.552e-05/1.11, allocations: 15.19 kB / 1.037 GB, free: 5.133 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.987e-06/1.11, allocations: 4 kB / 1.037 GB, free: 5.129 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009178/1.119, allocations: 6.831 MB / 1.043 GB, free: 14.21 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001472/1.12, allocations: 0.7932 MB / 1.044 GB, free: 13.39 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004069/1.121, allocations: 75.98 kB / 1.044 GB, free: 13.32 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001873/1.123, allocations: 81.48 kB / 1.044 GB, free: 13.24 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004107/1.123, allocations: 237.8 kB / 1.044 GB, free: 13.01 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002016/1.123, allocations: 115.9 kB / 1.045 GB, free: 12.89 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.00148/1.125, allocations: 1.157 MB / 1.046 GB, free: 11.71 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.2e-07/1.125, allocations: 0 / 1.046 GB, free: 11.71 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.002306/1.127, allocations: 1.232 MB / 1.047 GB, free: 10.48 MB / 0.7637 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 20 (volBotEas.dynBal.U,volBotEas.dynBal.m,volBotEas.dynBal.mXi[1],oriOutBot.mExc,oriOutTop.mExc,oriWesTop.mExc,dooOpeClo.mExcAB,dooOpeClo.mExcBA,volBotWes.dynBal.U,volBotWes.dynBal.m,volBotWes.dynBal.mXi[1],oriEasTop.mExc,volTopEas.dynBal.U,volTopEas.dynBal.m,volTopEas.dynBal.mXi[1],volTopWes.dynBal.U,volTopWes.dynBal.m,volTopWes.dynBal.mXi[1],dooOpeCloTop.mExcAB,dooOpeCloTop.mExcBA) * 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 (392): * Single equations (assignments): 392 * 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.00984/1.137, allocations: 7.724 MB / 1.054 GB, free: 2.727 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.01983/1.157, allocations: 9.854 MB / 1.064 GB, free: 8.949 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 7.214e-06/1.157, allocations: 0 / 1.064 GB, free: 8.949 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.00297/1.16, allocations: 2.152 MB / 1.066 GB, free: 6.875 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006851/1.167, allocations: 1.612 MB / 1.068 GB, free: 5.352 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03633/1.203, allocations: 28.77 MB / 1.096 GB, free: 7.07 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001671/1.205, allocations: 2.201 MB / 1.098 GB, free: 4.832 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.003744/1.208, allocations: 1.204 MB / 1.099 GB, free: 3.621 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001908/1.21, allocations: 1.386 MB / 1.1 GB, free: 2.234 MB / 0.8106 GB Notification: Performance of SimCode: time 8.41e-07/1.21, allocations: 4 kB / 1.1 GB, free: 2.23 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.328/1.538, allocations: 84.91 MB / 1.183 GB, free: 354.4 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.232/10.77, allocations: 8.031 kB / 1.183 GB, free: 354.4 MB / 0.8262 GB (rm -f IDEAS_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; mkfifo IDEAS_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; head -c 1048576 < IDEAS_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy.pipe >> ../files/IDEAS_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy_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_ReverseBuoyancy.fmu > IDEAS_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy.pipe 2>&1)