Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.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.ReverseBuoyancy3Zones,fileNamePrefix="IDEAS_IDEAS_Airflow_Multizone_Examples_ReverseBuoyancy3Zones",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy3Zones,fileNamePrefix="IDEAS_IDEAS_Airflow_Multizone_Examples_ReverseBuoyancy3Zones",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.001225/0.001225, 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.001032/0.001032, allocations: 193.1 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.214/1.214, allocations: 222.9 MB / 240.2 MB, free: 4.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7049/0.7049, allocations: 132.2 MB / 422.6 MB, free: 1.793 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001383/0.001383, allocations: 61.5 kB / 0.5019 GB, free: 8.652 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1463/0.1477, allocations: 80.2 MB / 0.5802 GB, free: 8.676 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 0.8827/1.03, allocations: 295.1 MB / 0.8684 GB, free: 1.426 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.01926/1.05, allocations: 16.99 MB / 0.8849 GB, free: 1.395 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003292/1.053, allocations: 80.62 kB / 0.885 GB, free: 1.395 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.004139/1.057, allocations: 1.893 MB / 0.8869 GB, free: 1.363 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01408/1.071, allocations: 6.424 MB / 0.8931 GB, free: 1.113 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.00726/1.079, allocations: 2.918 MB / 0.896 GB, free: 1.043 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.01132/1.09, allocations: 7.697 MB / 0.9035 GB, free: 1.031 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005432/1.095, allocations: 2.605 MB / 0.906 GB, free: 16.75 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007043/1.102, allocations: 2.77 MB / 0.9088 GB, free: 16.75 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005983/1.108, allocations: 2.707 MB / 0.9114 GB, free: 16.74 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.001088/1.11, allocations: 326.4 kB / 0.9117 GB, free: 16.74 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01321/1.123, allocations: 6.167 MB / 0.9177 GB, free: 16.68 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.002254/1.125, allocations: 1.338 MB / 0.919 GB, free: 16.68 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.003344/1.128, allocations: 1.886 MB / 0.9209 GB, free: 16.35 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01181/1.14, allocations: 6.845 MB / 0.9276 GB, free: 15.6 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/1.14, allocations: 0 / 0.9276 GB, free: 15.6 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.493e-06/1.14, allocations: 0.9375 kB / 0.9276 GB, free: 15.6 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 7.165e-05/1.14, allocations: 0 / 0.9276 GB, free: 15.6 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: 669 * Number of variables: 669 Notification: Performance of Generate backend data structure: time 0.01111/1.152, allocations: 4.125 MB / 0.9316 GB, free: 13.95 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.456e-05/1.152, allocations: 10.84 kB / 0.9316 GB, free: 13.95 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005205/1.152, allocations: 368.4 kB / 0.932 GB, free: 13.9 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00596/1.158, allocations: 0.9159 MB / 0.9329 GB, free: 13.73 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003058/1.161, allocations: 1.836 MB / 0.9346 GB, free: 13.21 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001027/1.161, allocations: 199.1 kB / 0.9348 GB, free: 13.21 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003497/1.162, allocations: 262.2 kB / 0.9351 GB, free: 13.2 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00499/1.167, allocations: 3.332 MB / 0.9383 GB, free: 12.56 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.013e-05/1.167, allocations: 15.14 kB / 0.9384 GB, free: 12.55 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002234/1.167, allocations: 108 kB / 0.9385 GB, free: 12.55 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001167/1.167, allocations: 140.2 kB / 0.9386 GB, free: 12.53 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004932/1.172, allocations: 3.482 MB / 0.942 GB, free: 11.91 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.01395/1.186, allocations: 12.2 MB / 0.9539 GB, free: 4.07 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003679/1.19, allocations: 3.495 MB / 0.9573 GB, free: 3.172 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002248/1.192, allocations: 1.814 MB / 0.9591 GB, free: 2.566 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001325/1.193, allocations: 1.49 MB / 0.9605 GB, free: 0.7773 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.227e-05/1.193, allocations: 68.06 kB / 0.9606 GB, free: 0.7031 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=278): time 4.268e-06/1.193, allocations: 4 kB / 0.9606 GB, free: 0.6992 MB / 0.6856 GB Notification: Performance of matching and sorting (n=278): time 0.00602/1.199, allocations: 3.879 MB / 0.9644 GB, free: 12.78 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.833e-05/1.199, allocations: 81.59 kB / 0.9645 GB, free: 12.68 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001676/1.201, allocations: 1.372 MB / 0.9658 GB, free: 11.3 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.000166/1.201, allocations: 73.7 kB / 0.9659 GB, free: 11.23 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006194/1.202, allocations: 0.9959 MB / 0.9669 GB, free: 10.22 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007241/1.203, allocations: 0.946 MB / 0.9678 GB, free: 9.281 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005678/1.203, allocations: 401 kB / 0.9682 GB, free: 8.883 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 8.344e-05/1.203, allocations: 309 kB / 0.9685 GB, free: 8.578 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001593/1.205, allocations: 1.09 MB / 0.9695 GB, free: 7.484 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001788/1.207, allocations: 1.382 MB / 0.9709 GB, free: 6.027 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003601/1.21, allocations: 2.644 MB / 0.9735 GB, free: 3.309 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.146e-05/1.21, allocations: 4 kB / 0.9735 GB, free: 3.305 MB / 0.7012 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.005713/1.216, allocations: 2.964 MB / 0.9764 GB, free: 328 kB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 3.182e-05/1.216, allocations: 13.81 kB / 0.9764 GB, free: 316 kB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.757e-05/1.216, allocations: 4 kB / 0.9764 GB, free: 312 kB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.621e-05/1.216, allocations: 16 kB / 0.9764 GB, free: 296 kB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002228/1.218, allocations: 0.5035 MB / 0.9769 GB, free: 15.82 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.59e-05/1.218, allocations: 19.09 kB / 0.9769 GB, free: 15.8 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00293/1.221, allocations: 193.1 kB / 0.9771 GB, free: 15.61 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001654/1.222, allocations: 84 kB / 0.9772 GB, free: 15.53 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (311): * Single equations (assignments): 311 * 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.001287/1.223, allocations: 0.6488 MB / 0.9778 GB, free: 14.9 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005615/1.223, allocations: 233.2 kB / 0.978 GB, free: 14.67 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004762/1.228, allocations: 3.103 MB / 0.981 GB, free: 11.51 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.81e-05/1.228, allocations: 24 kB / 0.9811 GB, free: 11.49 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.717e-06/1.228, allocations: 4.047 kB / 0.9811 GB, free: 11.48 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003522/1.232, allocations: 2.653 MB / 0.9837 GB, free: 8.766 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008925/1.241, allocations: 6.199 MB / 0.9897 GB, free: 2.535 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.933e-06/1.241, allocations: 4 kB / 0.9897 GB, free: 2.531 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002389/1.243, allocations: 0.5514 MB / 0.9903 GB, free: 2.004 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-05/1.243, allocations: 12 kB / 0.9903 GB, free: 1.992 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001542/1.243, allocations: 59.92 kB / 0.9903 GB, free: 1.934 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.27e-05/1.243, allocations: 8 kB / 0.9903 GB, free: 1.926 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/1.243, allocations: 4 kB / 0.9903 GB, free: 1.922 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006867/1.25, allocations: 4.806 MB / 0.995 GB, free: 13.04 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001339/1.252, allocations: 0.6071 MB / 0.9956 GB, free: 12.41 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003507/1.252, allocations: 51.94 kB / 0.9957 GB, free: 12.36 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001591/1.254, allocations: 67.97 kB / 0.9957 GB, free: 12.29 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003023/1.254, allocations: 162 kB / 0.9959 GB, free: 12.13 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001506/1.254, allocations: 79.97 kB / 0.996 GB, free: 12.05 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001219/1.255, allocations: 0.9462 MB / 0.9969 GB, free: 11.11 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/1.255, allocations: 0 / 0.9969 GB, free: 11.11 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001939/1.257, allocations: 0.9862 MB / 0.9979 GB, free: 10.12 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 18 (volEas.dynBal.U,volEas.dynBal.m,volEas.dynBal.mXi[1],oriOutBot.mExc,oriOutTop.mExc,volOut.dynBal.U,volOut.dynBal.m,volOut.dynBal.mXi[1],oriWesTop.mExc,dooOpeClo.mExcAB,dooOpeClo.mExcBA,oriEasTop.mExc,volTop.dynBal.U,volTop.dynBal.m,volTop.dynBal.mXi[1],volWes.dynBal.U,volWes.dynBal.m,volWes.dynBal.mXi[1]) * 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 (278): * Single equations (assignments): 278 * 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.006946/1.264, allocations: 5.629 MB / 1.003 GB, free: 4.453 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.01083/1.275, allocations: 5.535 MB / 1.009 GB, free: 14.95 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 5.651e-06/1.275, allocations: 4.312 kB / 1.009 GB, free: 14.95 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.001886/1.277, allocations: 1.517 MB / 1.01 GB, free: 13.48 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006513/1.283, allocations: 1.354 MB / 1.012 GB, free: 12.2 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.029/1.312, allocations: 21.24 MB / 1.032 GB, free: 5.785 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00164/1.314, allocations: 1.9 MB / 1.034 GB, free: 3.855 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.003178/1.317, allocations: 0.8319 MB / 1.035 GB, free: 3.02 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001655/1.319, allocations: 1.097 MB / 1.036 GB, free: 1.922 MB / 0.7637 GB Notification: Performance of SimCode: time 8.32e-07/1.319, allocations: 0 / 1.036 GB, free: 1.922 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1003/1.419, allocations: 67.83 MB / 1.102 GB, free: 14.97 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.373/9.792, allocations: 7.266 kB / 1.102 GB, free: 14.97 MB / 0.8419 GB (rm -f IDEAS_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; mkfifo IDEAS_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; head -c 1048576 < IDEAS_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe >> ../files/IDEAS_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Airflow_Multizone_Examples_ReverseBuoyancy3Zones_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Airflow_Multizone_Examples_ReverseBuoyancy3Zones.fmu > IDEAS_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe 2>&1)