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.0007742/0.0007744, allocations: 90.83 kB / 15.36 MB, free: 0.7383 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.005392/0.005392, allocations: 172.6 kB / 16.26 MB, free: 6.676 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.318/1.318, allocations: 223.3 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-master/package.mo): time 0.923/0.923, allocations: 135.3 MB / 426.7 MB, free: 14.24 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003196/0.0003197, allocations: 8.625 kB / 0.5077 GB, free: 4.695 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.15/0.1503, allocations: 82.32 MB / 0.5881 GB, free: 2.547 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy): time 0.9263/1.077, allocations: 307.7 MB / 0.8885 GB, free: 1.898 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02364/1.1, allocations: 18.47 MB / 0.9065 GB, free: 1.699 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005901/1.106, allocations: 72.62 kB / 0.9066 GB, free: 1.699 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.005191/1.112, allocations: 1.87 MB / 0.9084 GB, free: 1.652 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01939/1.131, allocations: 6.9 MB / 0.9152 GB, free: 1.316 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.008055/1.139, allocations: 2.927 MB / 0.918 GB, free: 1.227 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.01565/1.155, allocations: 13.11 MB / 0.9308 GB, free: 1.207 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005896/1.161, allocations: 2.595 MB / 0.9334 GB, free: 16.81 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007191/1.168, allocations: 2.809 MB / 0.9361 GB, free: 16.81 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007304/1.175, allocations: 3.265 MB / 0.9393 GB, free: 16.79 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.001353/1.177, allocations: 196 kB / 0.9395 GB, free: 16.79 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01575/1.192, allocations: 8.108 MB / 0.9474 GB, free: 15.45 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.002867/1.195, allocations: 1.47 MB / 0.9489 GB, free: 14.98 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.005053/1.2, allocations: 2.085 MB / 0.9509 GB, free: 14.8 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01743/1.218, allocations: 8.378 MB / 0.9591 GB, free: 11.34 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/1.218, allocations: 0 / 0.9591 GB, free: 11.34 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.355e-06/1.218, allocations: 0 / 0.9591 GB, free: 11.34 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0002362/1.218, allocations: 0 / 0.9591 GB, free: 11.34 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.01398/1.232, allocations: 4.337 MB / 0.9633 GB, free: 8.812 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.417e-05/1.232, allocations: 9.719 kB / 0.9633 GB, free: 8.812 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001398/1.234, allocations: 461.8 kB / 0.9638 GB, free: 8.676 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007248/1.241, allocations: 1.003 MB / 0.9647 GB, free: 8.266 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005029/1.246, allocations: 2.162 MB / 0.9668 GB, free: 7.336 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002368/1.246, allocations: 244.2 kB / 0.9671 GB, free: 7.328 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009696/1.247, allocations: 328.2 kB / 0.9674 GB, free: 7.324 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008786/1.256, allocations: 4.23 MB / 0.9715 GB, free: 6.195 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.687e-05/1.256, allocations: 9.406 kB / 0.9715 GB, free: 6.191 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003948/1.256, allocations: 139.9 kB / 0.9717 GB, free: 6.188 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001575/1.257, allocations: 172 kB / 0.9718 GB, free: 6.164 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00862/1.265, allocations: 4.768 MB / 0.9765 GB, free: 3.359 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.01876/1.284, allocations: 14.38 MB / 0.9905 GB, free: 6.754 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00597/1.29, allocations: 4.537 MB / 0.995 GB, free: 2.27 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003567/1.294, allocations: 2.442 MB / 0.9973 GB, free: 15.84 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001693/1.295, allocations: 1.624 MB / 0.9989 GB, free: 13.89 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.191e-05/1.295, allocations: 85.58 kB / 0.999 GB, free: 13.8 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=392): time 5.34e-06/1.295, allocations: 0 / 0.999 GB, free: 13.8 MB / 0.7169 GB Notification: Performance of matching and sorting (n=392): time 0.01012/1.306, allocations: 5.532 MB / 1.004 GB, free: 8.246 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.219e-05/1.306, allocations: 94.48 kB / 1.005 GB, free: 8.141 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002523/1.308, allocations: 1.678 MB / 1.006 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0002994/1.308, allocations: 95.02 kB / 1.006 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008297/1.309, allocations: 1.14 MB / 1.007 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.001184/1.311, allocations: 1.319 MB / 1.009 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003679/1.311, allocations: 272.8 kB / 1.009 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 9.376e-05/1.311, allocations: 301.1 kB / 1.009 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002487/1.313, allocations: 1.556 MB / 1.011 GB, free: 1.734 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002849/1.316, allocations: 1.942 MB / 1.013 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005625/1.322, allocations: 3.763 MB / 1.016 GB, free: 11.89 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.073e-05/1.322, allocations: 4 kB / 1.016 GB, free: 11.88 MB / 0.7325 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.006826/1.329, allocations: 4.172 MB / 1.02 GB, free: 7.715 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.904e-05/1.329, allocations: 6.094 kB / 1.02 GB, free: 7.711 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.796e-05/1.329, allocations: 12 kB / 1.02 GB, free: 7.699 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.799e-05/1.329, allocations: 20 kB / 1.02 GB, free: 7.68 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003206/1.332, allocations: 0.6929 MB / 1.021 GB, free: 7.027 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.875e-05/1.332, allocations: 27.17 kB / 1.021 GB, free: 7.004 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004032/1.336, allocations: 428.4 kB / 1.021 GB, free: 6.586 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002484/1.337, allocations: 116 kB / 1.022 GB, free: 6.473 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.001553/1.338, allocations: 0.7961 MB / 1.022 GB, free: 5.707 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000711/1.339, allocations: 296.4 kB / 1.023 GB, free: 5.414 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007496/1.346, allocations: 4.428 MB / 1.027 GB, free: 0.9492 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.963e-05/1.346, allocations: 39.98 kB / 1.027 GB, free: 0.9102 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.709e-06/1.346, allocations: 0 / 1.027 GB, free: 0.9102 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005516/1.352, allocations: 3.791 MB / 1.031 GB, free: 13.05 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01426/1.366, allocations: 8.616 MB / 1.039 GB, free: 4.391 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.356e-05/1.366, allocations: 4 kB / 1.039 GB, free: 4.387 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003999/1.37, allocations: 0.7316 MB / 1.04 GB, free: 3.691 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-05/1.37, allocations: 19.94 kB / 1.04 GB, free: 3.672 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002307/1.371, allocations: 83.91 kB / 1.04 GB, free: 3.59 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.912e-05/1.371, allocations: 16 kB / 1.04 GB, free: 3.574 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/1.371, allocations: 7 kB / 1.04 GB, free: 3.57 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01006/1.381, allocations: 6.824 MB / 1.047 GB, free: 12.65 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001914/1.383, allocations: 0.7933 MB / 1.047 GB, free: 11.84 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004037/1.383, allocations: 75.94 kB / 1.047 GB, free: 11.76 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002438/1.385, allocations: 268.3 kB / 1.048 GB, free: 11.5 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004281/1.386, allocations: 229.5 kB / 1.048 GB, free: 11.28 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000222/1.386, allocations: 116 kB / 1.048 GB, free: 11.17 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.001617/1.388, allocations: 1.157 MB / 1.049 GB, free: 9.988 MB / 0.7637 GB Notification: Performance of sort global known variables: time 2.2e-07/1.388, allocations: 0 / 1.049 GB, free: 9.988 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.002546/1.39, allocations: 1.228 MB / 1.05 GB, free: 8.758 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.0104/1.401, allocations: 7.753 MB / 1.058 GB, free: 0.9727 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.006573/1.407, allocations: 3.936 MB / 1.062 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 6.903e-06/1.407, allocations: 0 / 1.062 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.003117/1.41, allocations: 2.152 MB / 1.064 GB, free: 11 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009338/1.42, allocations: 1.527 MB / 1.065 GB, free: 9.504 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05133/1.471, allocations: 30.45 MB / 1.095 GB, free: 9.59 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001909/1.473, allocations: 2.209 MB / 1.097 GB, free: 7.344 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.004337/1.478, allocations: 1.197 MB / 1.098 GB, free: 6.141 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002209/1.48, allocations: 1.382 MB / 1.1 GB, free: 4.762 MB / 0.8106 GB Notification: Performance of SimCode: time 9.92e-07/1.48, allocations: 0 / 1.1 GB, free: 4.762 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3843/1.864, allocations: 81.28 MB / 1.179 GB, free: 410.3 MB / 0.8731 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001374/1.864, allocations: 242.7 kB / 1.179 GB, free: 410 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.427/6.291, allocations: 0 / 1.179 GB, free: 410 MB / 0.8731 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Airflow_Multizone_Examples_ReverseBuoyancy_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Airflow_Multizone_Examples_ReverseBuoyancy.fmu > IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy.pipe 2>&1)