Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy,fileNamePrefix="IDEAS_dev_IDEAS_Airflow_Multizone_Examples_ReverseBuoyancy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy,fileNamePrefix="IDEAS_dev_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.001783/0.001783, allocations: 108 kB / 15.6 MB, free: 132 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.002118/0.002118, allocations: 194.9 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.399/2.399, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.588/1.588, allocations: 135.1 MB / 425.5 MB, free: 11.9 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002371/0.002371, allocations: 64.58 kB / 0.5054 GB, free: 5.211 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2258/0.2282, allocations: 80.92 MB / 0.5845 GB, free: 4.449 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy): time 1.529/1.758, allocations: 314.1 MB / 0.8912 GB, free: 1.449 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.04452/1.802, allocations: 18.42 MB / 0.9092 GB, free: 1.355 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007943/1.81, allocations: 91.16 kB / 0.9093 GB, free: 1.355 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.01147/1.822, allocations: 2.144 MB / 0.9114 GB, free: 1.316 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.03532/1.857, allocations: 7.314 MB / 0.9185 GB, free: 1.016 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.01504/1.872, allocations: 3.197 MB / 0.9216 GB, free: 0.9375 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.02128/1.894, allocations: 9.101 MB / 0.9305 GB, free: 0.9141 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01084/1.904, allocations: 3.12 MB / 0.9336 GB, free: 16.52 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0135/1.918, allocations: 3.309 MB / 0.9368 GB, free: 16.51 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01057/1.929, allocations: 3.23 MB / 0.94 GB, free: 16.32 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.002961/1.932, allocations: 409.5 kB / 0.9404 GB, free: 16.32 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02913/1.961, allocations: 6.99 MB / 0.9472 GB, free: 16.25 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.005019/1.966, allocations: 1.682 MB / 0.9488 GB, free: 16.04 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.009404/1.975, allocations: 2.308 MB / 0.9511 GB, free: 15.3 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.0317/2.007, allocations: 8.14 MB / 0.959 GB, free: 12.08 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 1.089e-05/2.007, allocations: 0 / 0.959 GB, free: 12.08 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.484e-06/2.007, allocations: 0 / 0.959 GB, free: 12.08 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.000259/2.008, allocations: 0 / 0.959 GB, free: 12.08 MB / 0.6856 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.02996/2.038, allocations: 4.997 MB / 0.9639 GB, free: 9.469 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 7.253e-05/2.038, allocations: 10.69 kB / 0.9639 GB, free: 9.469 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002195/2.04, allocations: 461.1 kB / 0.9644 GB, free: 9.332 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01509/2.055, allocations: 1.01 MB / 0.9653 GB, free: 8.918 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01001/2.065, allocations: 2.153 MB / 0.9674 GB, free: 7.699 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005101/2.066, allocations: 245.6 kB / 0.9677 GB, free: 7.562 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002075/2.068, allocations: 327.5 kB / 0.968 GB, free: 7.348 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0172/2.085, allocations: 4.241 MB / 0.9721 GB, free: 3.328 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001497/2.085, allocations: 12.31 kB / 0.9721 GB, free: 3.32 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007892/2.086, allocations: 130 kB / 0.9723 GB, free: 3.195 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003411/2.086, allocations: 174.3 kB / 0.9724 GB, free: 3.023 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01762/2.104, allocations: 4.771 MB / 0.9771 GB, free: 14.26 MB / 0.7012 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.04407/2.148, allocations: 14.52 MB / 0.9913 GB, free: 15.08 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0132/2.161, allocations: 4.537 MB / 0.9957 GB, free: 10.6 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008092/2.17, allocations: 2.446 MB / 0.9981 GB, free: 8.152 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003139/2.173, allocations: 1.607 MB / 0.9997 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001427/2.173, allocations: 73.64 kB / 0.9997 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=392): time 2.168e-05/2.173, allocations: 0 / 0.9997 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of matching and sorting (n=392): time 0.02246/2.196, allocations: 5.535 MB / 1.005 GB, free: 0.582 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001052/2.196, allocations: 93.11 kB / 1.005 GB, free: 492 kB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004808/2.2, allocations: 1.686 MB / 1.007 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.001026/2.202, allocations: 93.7 kB / 1.007 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001497/2.203, allocations: 1.129 MB / 1.008 GB, free: 13.52 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.002964/2.206, allocations: 1.323 MB / 1.009 GB, free: 12.2 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002772/2.209, allocations: 0.5585 MB / 1.01 GB, free: 11.64 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001602/2.209, allocations: 301.1 kB / 1.01 GB, free: 11.34 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005445/2.215, allocations: 1.56 MB / 1.012 GB, free: 9.777 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006718/2.221, allocations: 1.933 MB / 1.014 GB, free: 7.766 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01267/2.234, allocations: 3.77 MB / 1.017 GB, free: 3.93 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.793e-05/2.234, allocations: 3.938 kB / 1.017 GB, free: 3.926 MB / 0.7325 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.0165/2.251, allocations: 4.165 MB / 1.021 GB, free: 15.77 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 5.651e-05/2.251, allocations: 10.5 kB / 1.021 GB, free: 15.76 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.614e-05/2.251, allocations: 4 kB / 1.021 GB, free: 15.75 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.755e-05/2.251, allocations: 23.94 kB / 1.021 GB, free: 15.73 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006226/2.257, allocations: 0.7028 MB / 1.022 GB, free: 15.07 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001097/2.257, allocations: 19.98 kB / 1.022 GB, free: 15.05 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006145/2.263, allocations: 272.2 kB / 1.022 GB, free: 14.79 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001086/2.265, allocations: 130.5 kB / 1.022 GB, free: 14.66 MB / 0.7481 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.00379/2.268, allocations: 0.7912 MB / 1.023 GB, free: 13.9 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001839/2.27, allocations: 292.5 kB / 1.024 GB, free: 13.61 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01604/2.286, allocations: 4.423 MB / 1.028 GB, free: 9.156 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.434e-05/2.286, allocations: 36 kB / 1.028 GB, free: 9.121 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.926e-05/2.286, allocations: 0 / 1.028 GB, free: 9.121 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01184/2.298, allocations: 3.791 MB / 1.032 GB, free: 5.266 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02905/2.327, allocations: 8.621 MB / 1.04 GB, free: 12.6 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.049e-05/2.328, allocations: 0 / 1.04 GB, free: 12.6 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00668/2.334, allocations: 0.7429 MB / 1.041 GB, free: 11.89 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.336e-05/2.334, allocations: 12 kB / 1.041 GB, free: 11.88 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007158/2.335, allocations: 79.98 kB / 1.041 GB, free: 11.8 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.749e-05/2.335, allocations: 18.25 kB / 1.041 GB, free: 11.79 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.165e-06/2.335, allocations: 4 kB / 1.041 GB, free: 11.78 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02/2.355, allocations: 6.831 MB / 1.048 GB, free: 4.863 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004224/2.359, allocations: 0.7971 MB / 1.048 GB, free: 4.043 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001582/2.361, allocations: 75.98 kB / 1.048 GB, free: 3.969 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004803/2.366, allocations: 79.98 kB / 1.048 GB, free: 3.891 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001128/2.367, allocations: 233.3 kB / 1.049 GB, free: 3.664 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005283/2.368, allocations: 112 kB / 1.049 GB, free: 3.555 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.00358/2.371, allocations: 1.161 MB / 1.05 GB, free: 2.371 MB / 0.7637 GB Notification: Performance of sort global known variables: time 3.61e-07/2.371, allocations: 0 / 1.05 GB, free: 2.371 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.006815/2.378, allocations: 1.228 MB / 1.051 GB, free: 1.141 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.02257/2.401, allocations: 7.741 MB / 1.059 GB, free: 9.375 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.04482/2.446, allocations: 9.842 MB / 1.068 GB, free: 15.61 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.196e-05/2.446, allocations: 0 / 1.068 GB, free: 15.61 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.006707/2.452, allocations: 2.154 MB / 1.07 GB, free: 13.54 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.018/2.47, allocations: 1.609 MB / 1.072 GB, free: 11.97 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09734/2.568, allocations: 28.78 MB / 1.1 GB, free: 13.75 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003889/2.572, allocations: 2.197 MB / 1.102 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.009485/2.581, allocations: 1.208 MB / 1.103 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005246/2.587, allocations: 1.386 MB / 1.105 GB, free: 8.914 MB / 0.8262 GB Notification: Performance of SimCode: time 1.964e-06/2.587, allocations: 0 / 1.105 GB, free: 8.914 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8111/3.398, allocations: 84.92 MB / 1.188 GB, free: 429.4 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.96/16.36, allocations: 7.297 kB / 1.188 GB, free: 429.4 MB / 0.8887 GB (rm -f IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; mkfifo IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy.pipe >> ../files/IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Airflow_Multizone_Examples_ReverseBuoyancy.fmu > IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy.pipe 2>&1)