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.00572/0.00572, allocations: 102.7 kB / 15.73 MB, free: 6.031 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.001425/0.001425, allocations: 190.1 kB / 16.67 MB, free: 5.953 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.343/1.343, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8122/0.8122, allocations: 135.1 MB / 425.7 MB, free: 4.094 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001305/0.001305, allocations: 66.44 kB / 0.5851 GB, free: 21.95 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1469/0.1482, allocations: 80.92 MB / 0.6641 GB, free: 6.281 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy): time 0.6659/0.8142, allocations: 314.1 MB / 0.9709 GB, free: 4.914 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.02745/0.8417, allocations: 18.42 MB / 0.9889 GB, free: 2.453 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004122/0.8459, allocations: 91.5 kB / 0.989 GB, free: 2.363 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.005245/0.8512, allocations: 2.152 MB / 0.9911 GB, free: 204 kB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.0177/0.8689, allocations: 7.296 MB / 0.9982 GB, free: 8.875 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.008437/0.8773, allocations: 3.217 MB / 1.001 GB, free: 5.66 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.01207/0.8894, allocations: 9.097 MB / 1.01 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004261/0.8937, allocations: 3.124 MB / 1.013 GB, free: 9.359 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006103/0.8998, allocations: 3.352 MB / 1.017 GB, free: 5.996 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005539/0.9054, allocations: 3.233 MB / 1.02 GB, free: 2.766 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0007752/0.9062, allocations: 404 kB / 1.02 GB, free: 2.371 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01409/0.9203, allocations: 6.995 MB / 1.027 GB, free: 11.36 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.002315/0.9226, allocations: 1.687 MB / 1.029 GB, free: 9.668 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.004708/0.9274, allocations: 2.314 MB / 1.031 GB, free: 7.344 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.01658/0.944, allocations: 8.189 MB / 1.039 GB, free: 15.13 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.944, allocations: 0 / 1.039 GB, free: 15.13 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.512e-06/0.944, allocations: 0 / 1.039 GB, free: 15.13 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 0.0002085/0.9442, allocations: 0 / 1.039 GB, free: 15.13 MB / 0.8106 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.01704/0.9613, allocations: 5 MB / 1.044 GB, free: 10.06 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.551e-05/0.9614, allocations: 9.109 kB / 1.044 GB, free: 10.05 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001443/0.9628, allocations: 463.5 kB / 1.044 GB, free: 9.59 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007377/0.9702, allocations: 1.006 MB / 1.045 GB, free: 8.578 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005802/0.9761, allocations: 2.248 MB / 1.047 GB, free: 6.277 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002777/0.9764, allocations: 246.4 kB / 1.048 GB, free: 6.035 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001254/0.9776, allocations: 328 kB / 1.048 GB, free: 5.715 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01026/0.9879, allocations: 4.232 MB / 1.052 GB, free: 1.398 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001332/0.9881, allocations: 11.89 kB / 1.052 GB, free: 1.387 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000699/0.9888, allocations: 139.9 kB / 1.052 GB, free: 1.25 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002131/0.989, allocations: 166.3 kB / 1.052 GB, free: 1.086 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3577/1.347, allocations: 4.766 MB / 1.057 GB, free: 308.6 MB / 0.8106 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.02346/1.37, allocations: 14.41 MB / 1.071 GB, free: 299.6 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006088/1.376, allocations: 4.54 MB / 1.076 GB, free: 297.6 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003464/1.38, allocations: 2.459 MB / 1.078 GB, free: 296.7 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001333/1.381, allocations: 1.608 MB / 1.079 GB, free: 295 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.97e-05/1.381, allocations: 80.89 kB / 1.08 GB, free: 294.9 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=392): time 5.771e-06/1.381, allocations: 0 / 1.08 GB, free: 294.9 MB / 0.8106 GB Notification: Performance of matching and sorting (n=392): time 0.01005/1.391, allocations: 5.532 MB / 1.085 GB, free: 292.8 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.762e-05/1.391, allocations: 91.7 kB / 1.085 GB, free: 292.8 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004453/1.396, allocations: 1.688 MB / 1.087 GB, free: 291.9 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0004828/1.396, allocations: 94.2 kB / 1.087 GB, free: 291.8 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008508/1.397, allocations: 1.141 MB / 1.088 GB, free: 290.8 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.001268/1.399, allocations: 1.315 MB / 1.089 GB, free: 289.7 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001282/1.4, allocations: 0.5521 MB / 1.09 GB, free: 289.4 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 5.563e-05/1.4, allocations: 305 kB / 1.09 GB, free: 289.1 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00245/1.402, allocations: 1.565 MB / 1.092 GB, free: 288.3 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002606/1.405, allocations: 1.939 MB / 1.093 GB, free: 287.2 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005522/1.411, allocations: 3.768 MB / 1.097 GB, free: 285.1 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.618e-05/1.411, allocations: 3.938 kB / 1.097 GB, free: 285.1 MB / 0.8106 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.007279/1.418, allocations: 4.164 MB / 1.101 GB, free: 283.1 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.311e-05/1.418, allocations: 7.312 kB / 1.101 GB, free: 283.1 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.062e-05/1.418, allocations: 3.625 kB / 1.101 GB, free: 283.1 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.515e-05/1.418, allocations: 23.09 kB / 1.101 GB, free: 283.1 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002927/1.421, allocations: 0.6979 MB / 1.102 GB, free: 282.9 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.127e-05/1.421, allocations: 19.41 kB / 1.102 GB, free: 282.9 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002972/1.424, allocations: 264.3 kB / 1.102 GB, free: 282.7 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000403/1.424, allocations: 116.9 kB / 1.102 GB, free: 282.7 MB / 0.8106 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.00177/1.426, allocations: 0.8012 MB / 1.103 GB, free: 282.2 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009399/1.427, allocations: 290.5 kB / 1.103 GB, free: 282 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00717/1.434, allocations: 4.418 MB / 1.108 GB, free: 278 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.072e-05/1.434, allocations: 36 kB / 1.108 GB, free: 278 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-05/1.434, allocations: 4 kB / 1.108 GB, free: 278 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005011/1.439, allocations: 3.786 MB / 1.111 GB, free: 274.1 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0145/1.454, allocations: 8.63 MB / 1.12 GB, free: 265.4 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-05/1.454, allocations: 4 kB / 1.12 GB, free: 265.4 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003251/1.457, allocations: 0.7371 MB / 1.121 GB, free: 264.7 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.489e-05/1.457, allocations: 16 kB / 1.121 GB, free: 264.7 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003325/1.458, allocations: 87.97 kB / 1.121 GB, free: 264.6 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.175e-05/1.458, allocations: 12 kB / 1.121 GB, free: 264.6 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/1.458, allocations: 4 kB / 1.121 GB, free: 264.6 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008952/1.467, allocations: 6.83 MB / 1.127 GB, free: 257.7 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002217/1.469, allocations: 0.7933 MB / 1.128 GB, free: 256.9 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007678/1.47, allocations: 72 kB / 1.128 GB, free: 256.8 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002431/1.472, allocations: 93.75 kB / 1.128 GB, free: 256.7 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004997/1.473, allocations: 237.5 kB / 1.128 GB, free: 256.5 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003006/1.473, allocations: 116 kB / 1.129 GB, free: 256.4 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.001714/1.475, allocations: 1.153 MB / 1.13 GB, free: 255.2 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.7e-07/1.475, allocations: 0 / 1.13 GB, free: 255.2 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.003091/1.478, allocations: 1.228 MB / 1.131 GB, free: 254 MB / 0.8106 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.009628/1.488, allocations: 7.745 MB / 1.138 GB, free: 246.2 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.005459/1.493, allocations: 3.953 MB / 1.142 GB, free: 242.2 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 6.503e-06/1.493, allocations: 3.969 kB / 1.142 GB, free: 242.2 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.002583/1.496, allocations: 2.152 MB / 1.144 GB, free: 240.1 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007978/1.504, allocations: 1.598 MB / 1.146 GB, free: 238.6 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04344/1.547, allocations: 25.64 MB / 1.171 GB, free: 212.8 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00208/1.549, allocations: 2.211 MB / 1.173 GB, free: 210.5 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.004438/1.554, allocations: 1.189 MB / 1.174 GB, free: 209.3 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002381/1.556, allocations: 1.39 MB / 1.176 GB, free: 207.9 MB / 0.8106 GB Notification: Performance of SimCode: time 6.72e-07/1.556, allocations: 0 / 1.176 GB, free: 207.9 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1275/1.684, allocations: 87.13 MB / 1.261 GB, free: 121.4 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.52/16.2, allocations: 10.23 kB / 1.261 GB, free: 121.4 MB / 0.8106 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)