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.004694/0.004694, allocations: 97.69 kB / 15.73 MB, free: 6.055 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.001238/0.001238, allocations: 198.8 kB / 16.68 MB, free: 5.961 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.376/1.376, allocations: 222.9 MB / 240.4 MB, free: 4.16 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9285/0.9285, allocations: 135.5 MB / 426.1 MB, free: 11.89 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001824/0.001824, allocations: 63.89 kB / 0.5857 GB, free: 3.188 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3351/0.337, allocations: 81.02 MB / 0.6649 GB, free: 6.984 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy): time 0.6208/0.9579, allocations: 314.1 MB / 0.9716 GB, free: 0.5469 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.02264/0.9805, allocations: 18.47 MB / 0.9897 GB, free: 13.7 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003741/0.9844, allocations: 87.41 kB / 0.9898 GB, free: 13.7 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.0051/0.9895, allocations: 2.15 MB / 0.9919 GB, free: 12.82 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.01698/1.006, allocations: 7.305 MB / 0.999 GB, free: 9.676 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.008177/1.015, allocations: 3.213 MB / 1.002 GB, free: 7.855 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.01101/1.026, allocations: 9.1 MB / 1.011 GB, free: 2.891 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004525/1.03, allocations: 3.113 MB / 1.014 GB, free: 15.78 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006266/1.037, allocations: 3.318 MB / 1.017 GB, free: 12.64 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006132/1.043, allocations: 3.237 MB / 1.02 GB, free: 9.668 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0008015/1.043, allocations: 404 kB / 1.021 GB, free: 9.273 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01432/1.058, allocations: 6.994 MB / 1.028 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.002275/1.06, allocations: 1.69 MB / 1.029 GB, free: 1.527 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.003659/1.064, allocations: 2.308 MB / 1.032 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.01614/1.08, allocations: 8.223 MB / 1.04 GB, free: 7.406 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/1.08, allocations: 0 / 1.04 GB, free: 7.406 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.733e-06/1.08, allocations: 0 / 1.04 GB, free: 7.406 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.000111/1.08, allocations: 0 / 1.04 GB, free: 7.406 MB / 0.7325 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.01285/1.093, allocations: 5.116 MB / 1.045 GB, free: 2.242 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.274e-05/1.093, allocations: 12.03 kB / 1.045 GB, free: 2.23 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006161/1.094, allocations: 462.3 kB / 1.045 GB, free: 1.77 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00664/1.1, allocations: 1.025 MB / 1.046 GB, free: 0.75 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004325/1.105, allocations: 2.261 MB / 1.048 GB, free: 14.48 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001942/1.105, allocations: 251.2 kB / 1.049 GB, free: 14.23 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005174/1.105, allocations: 323.2 kB / 1.049 GB, free: 13.92 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007287/1.113, allocations: 4.247 MB / 1.053 GB, free: 9.602 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.014e-05/1.113, allocations: 3.953 kB / 1.053 GB, free: 9.598 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000332/1.113, allocations: 138.9 kB / 1.053 GB, free: 9.465 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001846/1.113, allocations: 166.3 kB / 1.053 GB, free: 9.301 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008215/1.122, allocations: 4.768 MB / 1.058 GB, free: 4.523 MB / 0.7481 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.01992/1.141, allocations: 14.45 MB / 1.072 GB, free: 5.27 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006355/1.148, allocations: 4.543 MB / 1.076 GB, free: 0.7305 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003726/1.152, allocations: 2.455 MB / 1.079 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001806/1.153, allocations: 1.606 MB / 1.08 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.967e-05/1.153, allocations: 73.64 kB / 1.08 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=392): time 5.189e-06/1.153, allocations: 7.938 kB / 1.081 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of matching and sorting (n=392): time 0.00956/1.163, allocations: 5.545 MB / 1.086 GB, free: 6.684 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.918e-05/1.163, allocations: 94.42 kB / 1.086 GB, free: 6.578 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002408/1.166, allocations: 1.68 MB / 1.088 GB, free: 4.855 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.0002371/1.166, allocations: 93.7 kB / 1.088 GB, free: 4.758 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009249/1.167, allocations: 1.156 MB / 1.089 GB, free: 3.594 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.001246/1.168, allocations: 1.393 MB / 1.09 GB, free: 2.219 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009164/1.169, allocations: 0.5586 MB / 1.091 GB, free: 1.652 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001186/1.169, allocations: 301.1 kB / 1.091 GB, free: 1.355 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00262/1.172, allocations: 1.564 MB / 1.093 GB, free: 15.79 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002962/1.175, allocations: 1.931 MB / 1.094 GB, free: 13.78 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006/1.181, allocations: 3.773 MB / 1.098 GB, free: 9.918 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.424e-06/1.181, allocations: 0 / 1.098 GB, free: 9.918 MB / 0.795 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.007165/1.188, allocations: 4.179 MB / 1.102 GB, free: 5.715 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.38e-05/1.188, allocations: 8 kB / 1.102 GB, free: 5.707 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.583e-05/1.188, allocations: 4 kB / 1.102 GB, free: 5.703 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.274e-05/1.188, allocations: 20 kB / 1.102 GB, free: 5.684 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003028/1.191, allocations: 0.7066 MB / 1.103 GB, free: 4.977 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.134e-05/1.191, allocations: 16 kB / 1.103 GB, free: 4.961 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002508/1.194, allocations: 271.6 kB / 1.103 GB, free: 4.695 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002526/1.194, allocations: 116 kB / 1.103 GB, free: 4.582 MB / 0.795 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.001422/1.195, allocations: 0.7982 MB / 1.104 GB, free: 3.773 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005695/1.196, allocations: 310.1 kB / 1.104 GB, free: 3.469 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007605/1.203, allocations: 4.425 MB / 1.109 GB, free: 15.01 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.241e-05/1.203, allocations: 39.94 kB / 1.109 GB, free: 14.97 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.027e-06/1.203, allocations: 4 kB / 1.109 GB, free: 14.96 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005819/1.209, allocations: 3.776 MB / 1.112 GB, free: 11.12 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01365/1.223, allocations: 8.64 MB / 1.121 GB, free: 2.414 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.508e-06/1.223, allocations: 0 / 1.121 GB, free: 2.414 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003329/1.226, allocations: 0.7299 MB / 1.122 GB, free: 1.684 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.038e-05/1.226, allocations: 16 kB / 1.122 GB, free: 1.668 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002233/1.227, allocations: 87.97 kB / 1.122 GB, free: 1.582 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.187e-05/1.227, allocations: 19.94 kB / 1.122 GB, free: 1.562 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.46e-06/1.227, allocations: 4 kB / 1.122 GB, free: 1.559 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01042/1.237, allocations: 6.847 MB / 1.128 GB, free: 10.62 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001554/1.239, allocations: 0.8068 MB / 1.129 GB, free: 9.789 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004055/1.239, allocations: 68 kB / 1.129 GB, free: 9.723 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001884/1.241, allocations: 89.59 kB / 1.129 GB, free: 9.637 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004652/1.241, allocations: 238.5 kB / 1.13 GB, free: 9.402 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002443/1.242, allocations: 112 kB / 1.13 GB, free: 9.293 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.001674/1.243, allocations: 1.161 MB / 1.131 GB, free: 8.109 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.31e-07/1.243, allocations: 0 / 1.131 GB, free: 8.109 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.002451/1.246, allocations: 1.233 MB / 1.132 GB, free: 6.875 MB / 0.8262 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.01134/1.257, allocations: 7.751 MB / 1.14 GB, free: 15.05 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.006361/1.264, allocations: 3.951 MB / 1.143 GB, free: 11.08 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/1.264, allocations: 0 / 1.143 GB, free: 11.08 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.003191/1.267, allocations: 2.154 MB / 1.146 GB, free: 8.93 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006845/1.274, allocations: 1.607 MB / 1.147 GB, free: 7.352 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03843/1.312, allocations: 25.76 MB / 1.172 GB, free: 13.24 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002016/1.314, allocations: 2.205 MB / 1.174 GB, free: 11 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.003603/1.318, allocations: 1.204 MB / 1.176 GB, free: 9.785 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002141/1.32, allocations: 1.386 MB / 1.177 GB, free: 8.398 MB / 0.8731 GB Notification: Performance of SimCode: time 4.81e-07/1.32, allocations: 7.938 kB / 1.177 GB, free: 8.391 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4041/1.724, allocations: 85.66 MB / 1.261 GB, free: 346.1 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.41/16.14, allocations: 15.83 kB / 1.261 GB, free: 346.1 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 & /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)