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.0009933/0.0009934, allocations: 100.2 kB / 15.05 MB, free: 1.105 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.0009667/0.0009667, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.394/1.394, allocations: 223.2 MB / 239.9 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7751/0.7751, allocations: 132.2 MB / 423.2 MB, free: 2.211 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000338/0.0003381, allocations: 8 kB / 0.5033 GB, free: 4.215 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4719/0.4723, allocations: 81.58 MB / 0.583 GB, free: 4.004 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy): time 0.7074/1.18, allocations: 254.1 MB / 0.8312 GB, free: 7.902 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02771/1.207, allocations: 18.58 MB / 0.8493 GB, free: 7.684 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004549/1.212, allocations: 72.41 kB / 0.8494 GB, free: 7.684 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.006123/1.218, allocations: 1.878 MB / 0.8512 GB, free: 7.676 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.01878/1.237, allocations: 5.461 MB / 0.8565 GB, free: 7.617 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.008409/1.245, allocations: 2.457 MB / 0.8589 GB, free: 7.566 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.009318/1.255, allocations: 5.198 MB / 0.864 GB, free: 7.547 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005256/1.26, allocations: 2.412 MB / 0.8664 GB, free: 23.22 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007859/1.268, allocations: 2.806 MB / 0.8691 GB, free: 23.21 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004751/1.273, allocations: 2.091 MB / 0.8711 GB, free: 23.2 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0008081/1.274, allocations: 195.5 kB / 0.8713 GB, free: 23.2 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01159/1.285, allocations: 2.764 MB / 0.874 GB, free: 23.2 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.003281/1.288, allocations: 1.334 MB / 0.8753 GB, free: 23.19 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.003167/1.292, allocations: 0.7971 MB / 0.8761 GB, free: 23.16 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.01095/1.303, allocations: 4.888 MB / 0.8809 GB, free: 22.09 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/1.303, allocations: 0 / 0.8809 GB, free: 22.09 MB / 0.6544 GB Notification: Performance of FrontEnd: time 3.055e-06/1.303, allocations: 0 / 0.8809 GB, free: 22.09 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0002344/1.303, allocations: 0 / 0.8809 GB, free: 22.09 MB / 0.6544 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.01426/1.317, allocations: 4.218 MB / 0.885 GB, free: 19.68 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.19e-05/1.317, allocations: 6.562 kB / 0.885 GB, free: 19.68 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002081/1.319, allocations: 459.5 kB / 0.8854 GB, free: 19.55 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0078/1.327, allocations: 1.017 MB / 0.8864 GB, free: 19.13 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006144/1.333, allocations: 2.091 MB / 0.8885 GB, free: 18.28 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002313/1.334, allocations: 247.4 kB / 0.8887 GB, free: 18.27 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009791/1.335, allocations: 325.9 kB / 0.889 GB, free: 18.27 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008302/1.343, allocations: 4.183 MB / 0.8931 GB, free: 17.14 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.588e-05/1.343, allocations: 13.56 kB / 0.8931 GB, free: 17.13 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003012/1.343, allocations: 133 kB / 0.8933 GB, free: 17.13 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001847/1.344, allocations: 166.7 kB / 0.8934 GB, free: 17.11 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007575/1.351, allocations: 4.747 MB / 0.898 GB, free: 16.22 MB / 0.6544 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.01973/1.371, allocations: 14.36 MB / 0.9121 GB, free: 7.496 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005223/1.376, allocations: 4.514 MB / 0.9165 GB, free: 6.879 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00159/1.378, allocations: 1.528 MB / 0.918 GB, free: 5.219 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.05e-05/1.378, allocations: 78.58 kB / 0.918 GB, free: 5.172 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=392): time 5.09e-06/1.378, allocations: 3.25 kB / 0.9181 GB, free: 5.172 MB / 0.6544 GB Notification: Performance of matching and sorting (n=392): time 0.008748/1.387, allocations: 5.499 MB / 0.9234 GB, free: 2.914 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.094e-05/1.387, allocations: 90.48 kB / 0.9235 GB, free: 2.812 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002244/1.389, allocations: 1.671 MB / 0.9251 GB, free: 1.539 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0002609/1.389, allocations: 95.69 kB / 0.9252 GB, free: 1.492 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.000729/1.39, allocations: 1.137 MB / 0.9263 GB, free: 0.7969 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.001119/1.391, allocations: 1.313 MB / 0.9276 GB, free: 15.66 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001569/1.391, allocations: 67.38 kB / 0.9277 GB, free: 15.65 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001927/1.391, allocations: 442.5 kB / 0.9281 GB, free: 15.26 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002292/1.394, allocations: 1.544 MB / 0.9296 GB, free: 14.27 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002662/1.396, allocations: 1.915 MB / 0.9315 GB, free: 12.88 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002583/1.399, allocations: 1.827 MB / 0.9333 GB, free: 11.79 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.574e-06/1.399, allocations: 0 / 0.9333 GB, free: 11.79 MB / 0.67 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.006111/1.405, allocations: 4.139 MB / 0.9373 GB, free: 8.984 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 3.116e-05/1.405, allocations: 10.53 kB / 0.9373 GB, free: 8.977 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.802e-05/1.405, allocations: 4 kB / 0.9373 GB, free: 8.973 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.204e-05/1.405, allocations: 20.66 kB / 0.9373 GB, free: 8.953 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002865/1.408, allocations: 0.6964 MB / 0.938 GB, free: 8.32 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.316e-05/1.408, allocations: 22.31 kB / 0.938 GB, free: 8.305 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003382/1.412, allocations: 434.3 kB / 0.9385 GB, free: 7.934 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002275/1.412, allocations: 115.8 kB / 0.9386 GB, free: 7.848 MB / 0.67 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001533/1.413, allocations: 0.7973 MB / 0.9393 GB, free: 7.379 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000576/1.414, allocations: 292.5 kB / 0.9396 GB, free: 7.09 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006549/1.42, allocations: 4.399 MB / 0.9439 GB, free: 4.258 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.454e-05/1.421, allocations: 36 kB / 0.944 GB, free: 4.223 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.157e-05/1.421, allocations: 7.953 kB / 0.944 GB, free: 4.215 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005124/1.426, allocations: 3.759 MB / 0.9476 GB, free: 1.621 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01389/1.44, allocations: 8.589 MB / 0.956 GB, free: 11.75 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.254e-05/1.44, allocations: 4 kB / 0.956 GB, free: 11.74 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003404/1.443, allocations: 0.7226 MB / 0.9567 GB, free: 11.08 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.736e-05/1.443, allocations: 22.88 kB / 0.9568 GB, free: 11.06 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002414/1.443, allocations: 82.92 kB / 0.9568 GB, free: 11.03 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.086e-05/1.443, allocations: 15.98 kB / 0.9569 GB, free: 11.01 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.688e-06/1.443, allocations: 4 kB / 0.9569 GB, free: 11.01 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009794/1.453, allocations: 6.954 MB / 0.9636 GB, free: 6.203 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002537/1.456, allocations: 0.7968 MB / 0.9644 GB, free: 5.562 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005047/1.456, allocations: 72.81 kB / 0.9645 GB, free: 5.543 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002598/1.459, allocations: 264.8 kB / 0.9647 GB, free: 5.336 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004/1.459, allocations: 242.2 kB / 0.965 GB, free: 5.129 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002232/1.46, allocations: 113.7 kB / 0.9651 GB, free: 5.043 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001987/1.462, allocations: 1.138 MB / 0.9662 GB, free: 4.199 MB / 0.6856 GB Notification: Performance of sort global known variables: time 8.62e-07/1.462, allocations: 4 kB / 0.9662 GB, free: 4.195 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.005227/1.467, allocations: 1.226 MB / 0.9674 GB, free: 3.082 MB / 0.6856 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01091/1.478, allocations: 8.517 MB / 0.9757 GB, free: 12.89 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.006788/1.485, allocations: 3.903 MB / 0.9795 GB, free: 10.23 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 1.119e-05/1.485, allocations: 4 kB / 0.9795 GB, free: 10.22 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.00332/1.488, allocations: 2.136 MB / 0.9816 GB, free: 8.809 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007658/1.496, allocations: 1.481 MB / 0.9831 GB, free: 7.613 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0194/1.515, allocations: 14 MB / 0.9967 GB, free: 10.63 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001879/1.517, allocations: 2.267 MB / 0.999 GB, free: 8.441 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.004666/1.522, allocations: 1.2 MB / 1 GB, free: 7.234 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002078/1.524, allocations: 1.387 MB / 1.001 GB, free: 6.887 MB / 0.7169 GB Notification: Performance of SimCode: time 1.112e-06/1.524, allocations: 0 / 1.001 GB, free: 6.887 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.598/4.122, allocations: 83.35 MB / 1.083 GB, free: 4.609 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003477/4.123, allocations: 223.2 kB / 1.083 GB, free: 4.367 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.545/9.668, allocations: 0 / 1.083 GB, free: 4.367 MB / 0.795 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/linux/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) Environment - environmentSimulation: