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.001702/0.001703, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.008456/0.008456, allocations: 169.4 kB / 16.26 MB, free: 6.332 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.167/1.167, allocations: 223.2 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.708/0.708, allocations: 132.3 MB / 423.8 MB, free: 1.965 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002925/0.0002926, allocations: 12.7 kB / 0.5041 GB, free: 3.816 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3501/0.3504, allocations: 81.57 MB / 0.5837 GB, free: 4.055 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy): time 0.5647/0.9151, allocations: 307.7 MB / 0.8842 GB, free: 1.805 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02106/0.9362, allocations: 18.48 MB / 0.9023 GB, free: 1.383 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003331/0.9395, allocations: 75.91 kB / 0.9023 GB, free: 1.379 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.00442/0.944, allocations: 1.871 MB / 0.9042 GB, free: 1.332 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.01505/0.959, allocations: 6.886 MB / 0.9109 GB, free: 0.9648 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.006925/0.966, allocations: 2.937 MB / 0.9137 GB, free: 0.8594 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.01352/0.9795, allocations: 13.17 MB / 0.9266 GB, free: 14.44 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004101/0.9836, allocations: 2.598 MB / 0.9291 GB, free: 13.47 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005535/0.9892, allocations: 2.814 MB / 0.9319 GB, free: 13.14 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00572/0.9949, allocations: 3.27 MB / 0.9351 GB, free: 12.52 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0005151/0.9955, allocations: 194.6 kB / 0.9353 GB, free: 12.52 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01376/1.009, allocations: 8.101 MB / 0.9432 GB, free: 8.891 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.001826/1.011, allocations: 1.469 MB / 0.9446 GB, free: 7.594 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.003073/1.014, allocations: 2.083 MB / 0.9467 GB, free: 5.531 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.01249/1.027, allocations: 8.385 MB / 0.9548 GB, free: 13.78 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/1.027, allocations: 0 / 0.9548 GB, free: 13.78 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.585e-06/1.027, allocations: 0 / 0.9548 GB, free: 13.78 MB / 0.67 GB Notification: Performance of Transformations before backend: time 4.955e-05/1.027, allocations: 0 / 0.9548 GB, free: 13.78 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.01023/1.037, allocations: 4.316 MB / 0.9591 GB, free: 9.438 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/1.037, allocations: 8.031 kB / 0.9591 GB, free: 9.43 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000558/1.038, allocations: 465.7 kB / 0.9595 GB, free: 8.969 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006046/1.044, allocations: 1.009 MB / 0.9605 GB, free: 7.965 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00318/1.047, allocations: 2.167 MB / 0.9626 GB, free: 5.871 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001646/1.047, allocations: 245.7 kB / 0.9628 GB, free: 5.633 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004733/1.048, allocations: 327.3 kB / 0.9632 GB, free: 5.316 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006165/1.054, allocations: 4.227 MB / 0.9673 GB, free: 1.023 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.021e-05/1.054, allocations: 14.89 kB / 0.9673 GB, free: 1.012 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002945/1.054, allocations: 134.7 kB / 0.9674 GB, free: 0.8828 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001539/1.054, allocations: 170.4 kB / 0.9676 GB, free: 0.7148 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007147/1.061, allocations: 4.767 MB / 0.9722 GB, free: 11.95 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.01661/1.078, allocations: 14.37 MB / 0.9863 GB, free: 12.9 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005645/1.084, allocations: 4.546 MB / 0.9907 GB, free: 8.379 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003307/1.087, allocations: 2.451 MB / 0.9931 GB, free: 5.93 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001549/1.089, allocations: 1.619 MB / 0.9947 GB, free: 3.992 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.659e-05/1.089, allocations: 73.64 kB / 0.9948 GB, free: 3.91 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=392): time 5.15e-06/1.089, allocations: 0 / 0.9948 GB, free: 3.91 MB / 0.7012 GB Notification: Performance of matching and sorting (n=392): time 0.008552/1.097, allocations: 5.527 MB / 1 GB, free: 14.36 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.791e-05/1.097, allocations: 94.48 kB / 1 GB, free: 14.25 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002084/1.099, allocations: 1.682 MB / 1.002 GB, free: 12.53 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0002199/1.1, allocations: 97.7 kB / 1.002 GB, free: 12.43 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007527/1.1, allocations: 1.132 MB / 1.003 GB, free: 11.29 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009738/1.101, allocations: 1.329 MB / 1.004 GB, free: 9.973 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003441/1.102, allocations: 268.8 kB / 1.005 GB, free: 9.703 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.92e-05/1.102, allocations: 301.1 kB / 1.005 GB, free: 9.406 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002368/1.104, allocations: 1.564 MB / 1.006 GB, free: 7.84 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002617/1.107, allocations: 1.939 MB / 1.008 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005321/1.112, allocations: 3.767 MB / 1.012 GB, free: 1.988 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.624e-06/1.112, allocations: 0 / 1.012 GB, free: 1.988 MB / 0.7169 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.00621/1.118, allocations: 4.171 MB / 1.016 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.126e-05/1.118, allocations: 8 kB / 1.016 GB, free: 13.81 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.437e-05/1.118, allocations: 4.656 kB / 1.016 GB, free: 13.81 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.901e-05/1.118, allocations: 24 kB / 1.016 GB, free: 13.79 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002833/1.121, allocations: 0.6981 MB / 1.017 GB, free: 13.13 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.141e-05/1.121, allocations: 16.94 kB / 1.017 GB, free: 13.11 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002936/1.124, allocations: 428.9 kB / 1.017 GB, free: 12.69 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002241/1.124, allocations: 120 kB / 1.017 GB, free: 12.57 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.00139/1.126, allocations: 0.7972 MB / 1.018 GB, free: 11.81 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000466/1.126, allocations: 292.5 kB / 1.018 GB, free: 11.52 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006936/1.133, allocations: 4.417 MB / 1.023 GB, free: 7.07 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.763e-05/1.133, allocations: 43.94 kB / 1.023 GB, free: 7.027 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.638e-06/1.133, allocations: 0 / 1.023 GB, free: 7.027 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005148/1.139, allocations: 3.788 MB / 1.026 GB, free: 3.168 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01228/1.151, allocations: 8.625 MB / 1.035 GB, free: 10.5 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.197e-06/1.151, allocations: 4 kB / 1.035 GB, free: 10.49 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003133/1.154, allocations: 0.7315 MB / 1.036 GB, free: 9.797 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.203e-05/1.154, allocations: 19.94 kB / 1.036 GB, free: 9.777 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001933/1.154, allocations: 79.98 kB / 1.036 GB, free: 9.699 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.881e-05/1.154, allocations: 22.23 kB / 1.036 GB, free: 9.68 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/1.154, allocations: 0 / 1.036 GB, free: 9.68 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00912/1.163, allocations: 6.829 MB / 1.042 GB, free: 2.762 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001421/1.165, allocations: 0.7972 MB / 1.043 GB, free: 1.941 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003516/1.165, allocations: 71.98 kB / 1.043 GB, free: 1.871 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002332/1.167, allocations: 265 kB / 1.044 GB, free: 1.613 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004044/1.168, allocations: 234.7 kB / 1.044 GB, free: 1.383 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002074/1.168, allocations: 112 kB / 1.044 GB, free: 1.273 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001466/1.17, allocations: 1.153 MB / 1.045 GB, free: 100 kB / 0.7481 GB Notification: Performance of sort global known variables: time 2.4e-07/1.17, allocations: 2.156 kB / 1.045 GB, free: 100 kB / 0.7481 GB Notification: Performance of remove unused functions: time 0.002344/1.172, allocations: 1.236 MB / 1.046 GB, free: 14.86 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.009982/1.182, allocations: 7.747 MB / 1.054 GB, free: 7.078 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.005607/1.188, allocations: 3.931 MB / 1.058 GB, free: 3.188 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/1.188, allocations: 4.312 kB / 1.058 GB, free: 3.184 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.002823/1.19, allocations: 2.156 MB / 1.06 GB, free: 1.105 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007514/1.198, allocations: 1.534 MB / 1.061 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03981/1.238, allocations: 30.43 MB / 1.091 GB, free: 15.66 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00171/1.239, allocations: 2.209 MB / 1.093 GB, free: 13.41 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.003723/1.243, allocations: 1.2 MB / 1.094 GB, free: 12.21 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001852/1.245, allocations: 1.386 MB / 1.096 GB, free: 10.82 MB / 0.8106 GB Notification: Performance of SimCode: time 5.01e-07/1.245, allocations: 0 / 1.096 GB, free: 10.82 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4528/1.698, allocations: 81.27 MB / 1.175 GB, free: 332.3 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001481/1.698, allocations: 235.7 kB / 1.175 GB, free: 332 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.03/5.728, allocations: 0 / 1.175 GB, free: 332 MB / 0.8106 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Airflow_Multizone_Examples_ReverseBuoyancy_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Airflow_Multizone_Examples_ReverseBuoyancy.fmu > IDEAS_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy.pipe 2>&1)