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.001009/0.001009, 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.00101/0.00101, allocations: 193 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 1.21/1.21, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7038/0.7038, allocations: 132.2 MB / 422.6 MB, free: 1.785 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001132/0.001132, allocations: 71.98 kB / 0.5019 GB, free: 8.625 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1302/0.1313, allocations: 80.2 MB / 0.5802 GB, free: 8.648 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy): time 0.8843/1.016, allocations: 314.1 MB / 0.8869 GB, free: 1.402 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02205/1.038, allocations: 18.43 MB / 0.9049 GB, free: 1.316 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004259/1.042, allocations: 86.16 kB / 0.905 GB, free: 1.316 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.005557/1.048, allocations: 2.151 MB / 0.9071 GB, free: 1.273 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01799/1.066, allocations: 7.302 MB / 0.9143 GB, free: 0.9883 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.008202/1.074, allocations: 3.198 MB / 0.9174 GB, free: 0.9102 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.01331/1.087, allocations: 9.092 MB / 0.9263 GB, free: 0.8945 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005202/1.092, allocations: 3.124 MB / 0.9293 GB, free: 16.52 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007946/1.1, allocations: 3.306 MB / 0.9325 GB, free: 16.51 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006621/1.107, allocations: 3.23 MB / 0.9357 GB, free: 16.39 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.001147/1.108, allocations: 404.9 kB / 0.9361 GB, free: 16.39 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01492/1.123, allocations: 7.002 MB / 0.9429 GB, free: 16.32 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.002811/1.126, allocations: 1.685 MB / 0.9446 GB, free: 16.16 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.007821/1.134, allocations: 2.308 MB / 0.9468 GB, free: 15.58 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.0174/1.151, allocations: 8.136 MB / 0.9548 GB, free: 12.82 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 7.163e-06/1.151, allocations: 0 / 0.9548 GB, free: 12.82 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.954e-06/1.151, allocations: 0 / 0.9548 GB, free: 12.82 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0002189/1.152, allocations: 0 / 0.9548 GB, free: 12.82 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.01487/1.166, allocations: 4.998 MB / 0.9596 GB, free: 10.21 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.771e-05/1.166, allocations: 10.38 kB / 0.9597 GB, free: 10.21 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001212/1.168, allocations: 455.6 kB / 0.9601 GB, free: 10.08 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006752/1.174, allocations: 1.011 MB / 0.9611 GB, free: 9.664 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00487/1.179, allocations: 2.157 MB / 0.9632 GB, free: 8.734 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000207/1.18, allocations: 245.8 kB / 0.9634 GB, free: 8.727 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009499/1.181, allocations: 334.5 kB / 0.9637 GB, free: 8.719 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008717/1.189, allocations: 4.235 MB / 0.9679 GB, free: 6.469 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001186/1.189, allocations: 10.53 kB / 0.9679 GB, free: 6.461 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005692/1.19, allocations: 133.6 kB / 0.968 GB, free: 6.387 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001806/1.19, allocations: 170.4 kB / 0.9682 GB, free: 6.219 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00836/1.199, allocations: 4.767 MB / 0.9728 GB, free: 1.457 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.02114/1.22, allocations: 14.51 MB / 0.987 GB, free: 2.285 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006224/1.226, allocations: 4.543 MB / 0.9914 GB, free: 13.79 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003651/1.23, allocations: 2.447 MB / 0.9938 GB, free: 11.34 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001736/1.231, allocations: 1.61 MB / 0.9954 GB, free: 9.414 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.073e-05/1.232, allocations: 76.17 kB / 0.9955 GB, free: 9.332 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=392): time 5.44e-06/1.232, allocations: 4 kB / 0.9955 GB, free: 9.328 MB / 0.7169 GB Notification: Performance of matching and sorting (n=392): time 0.009583/1.241, allocations: 5.535 MB / 1.001 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.242e-05/1.241, allocations: 93.11 kB / 1.001 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002862/1.244, allocations: 1.685 MB / 1.003 GB, free: 1.941 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0002931/1.244, allocations: 93.7 kB / 1.003 GB, free: 1.844 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008074/1.245, allocations: 1.132 MB / 1.004 GB, free: 0.6992 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0012/1.246, allocations: 1.323 MB / 1.005 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009651/1.247, allocations: 0.5546 MB / 1.006 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.017e-05/1.247, allocations: 305.1 kB / 1.006 GB, free: 14.52 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002412/1.25, allocations: 1.556 MB / 1.007 GB, free: 12.96 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002776/1.253, allocations: 1.937 MB / 1.009 GB, free: 10.95 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005511/1.258, allocations: 3.774 MB / 1.013 GB, free: 7.113 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.311e-05/1.258, allocations: 0 / 1.013 GB, free: 7.113 MB / 0.7325 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.006807/1.265, allocations: 4.168 MB / 1.017 GB, free: 2.945 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.729e-05/1.265, allocations: 13.66 kB / 1.017 GB, free: 2.934 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.739e-05/1.265, allocations: 4 kB / 1.017 GB, free: 2.93 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.648e-05/1.265, allocations: 24.59 kB / 1.017 GB, free: 2.906 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002885/1.268, allocations: 0.7021 MB / 1.018 GB, free: 2.246 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.768e-05/1.268, allocations: 16 kB / 1.018 GB, free: 2.23 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002827/1.271, allocations: 264.3 kB / 1.018 GB, free: 1.973 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002627/1.271, allocations: 112 kB / 1.018 GB, free: 1.863 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.001568/1.273, allocations: 0.8015 MB / 1.019 GB, free: 1.094 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008905/1.274, allocations: 300.5 kB / 1.019 GB, free: 0.7969 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007252/1.281, allocations: 4.422 MB / 1.024 GB, free: 12.34 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.649e-05/1.281, allocations: 36 kB / 1.024 GB, free: 12.31 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.253e-05/1.281, allocations: 4 kB / 1.024 GB, free: 12.3 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005374/1.286, allocations: 3.783 MB / 1.027 GB, free: 8.457 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01415/1.301, allocations: 8.624 MB / 1.036 GB, free: 15.79 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.174e-05/1.301, allocations: 0 / 1.036 GB, free: 15.79 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003216/1.304, allocations: 0.7364 MB / 1.036 GB, free: 15.09 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.767e-05/1.304, allocations: 12 kB / 1.036 GB, free: 15.07 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003124/1.304, allocations: 87.97 kB / 1.037 GB, free: 14.99 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.619e-05/1.304, allocations: 19.94 kB / 1.037 GB, free: 14.97 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.611e-06/1.304, allocations: 6.531 kB / 1.037 GB, free: 14.96 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009867/1.314, allocations: 6.82 MB / 1.043 GB, free: 8.055 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001845/1.316, allocations: 0.7972 MB / 1.044 GB, free: 7.234 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000699/1.317, allocations: 68 kB / 1.044 GB, free: 7.168 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002371/1.319, allocations: 95.84 kB / 1.044 GB, free: 7.074 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004434/1.32, allocations: 229.1 kB / 1.044 GB, free: 6.852 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002594/1.32, allocations: 120 kB / 1.045 GB, free: 6.734 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.001943/1.322, allocations: 1.153 MB / 1.046 GB, free: 5.559 MB / 0.7637 GB Notification: Performance of sort global known variables: time 2.71e-07/1.322, allocations: 0 / 1.046 GB, free: 5.559 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.003166/1.325, allocations: 1.228 MB / 1.047 GB, free: 4.328 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.01074/1.336, allocations: 7.744 MB / 1.054 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.02078/1.357, allocations: 9.836 MB / 1.064 GB, free: 2.801 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.108e-05/1.357, allocations: 9.25 kB / 1.064 GB, free: 2.793 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.003636/1.36, allocations: 2.148 MB / 1.066 GB, free: 0.7227 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008567/1.369, allocations: 1.599 MB / 1.068 GB, free: 15.21 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04279/1.412, allocations: 28.78 MB / 1.096 GB, free: 0.9844 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0017/1.413, allocations: 2.209 MB / 1.098 GB, free: 14.74 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.003893/1.417, allocations: 1.207 MB / 1.099 GB, free: 13.53 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001859/1.419, allocations: 1.382 MB / 1.1 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of SimCode: time 6.142e-06/1.419, allocations: 0 / 1.1 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3417/1.761, allocations: 84.91 MB / 1.183 GB, free: 432 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.923/10.68, allocations: 6.438 kB / 1.183 GB, free: 432 MB / 0.8887 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)