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.001113/0.001113, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001194/0.001194, allocations: 196.8 kB / 16.14 MB, free: 6.707 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.422/1.422, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8423/0.8423, allocations: 132.2 MB / 422.1 MB, free: 2 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001166/0.001166, allocations: 60.47 kB / 0.5012 GB, free: 4.211 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3999/0.401, allocations: 80.21 MB / 0.5795 GB, free: 4.539 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 0.6227/1.024, allocations: 292.9 MB / 0.8656 GB, free: 1.715 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02082/1.045, allocations: 17.19 MB / 0.8824 GB, free: 1.422 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00422/1.049, allocations: 71.12 kB / 0.8824 GB, free: 1.422 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.005372/1.054, allocations: 1.649 MB / 0.884 GB, free: 1.383 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.0144/1.069, allocations: 6.068 MB / 0.89 GB, free: 1.059 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.007063/1.076, allocations: 2.662 MB / 0.8926 GB, free: 0.9727 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.01428/1.09, allocations: 11.21 MB / 0.9035 GB, free: 0.9336 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004596/1.095, allocations: 2.221 MB / 0.9057 GB, free: 232 kB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006915/1.102, allocations: 2.457 MB / 0.9081 GB, free: 15.97 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006171/1.108, allocations: 2.819 MB / 0.9108 GB, free: 15.11 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0009271/1.109, allocations: 183.2 kB / 0.911 GB, free: 15.11 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01336/1.122, allocations: 7.181 MB / 0.918 GB, free: 13.61 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.00205/1.124, allocations: 1.196 MB / 0.9192 GB, free: 13.12 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.003466/1.128, allocations: 1.735 MB / 0.9209 GB, free: 12.53 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.01447/1.142, allocations: 7.17 MB / 0.9279 GB, free: 7.195 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 9.678e-06/1.142, allocations: 6.172 kB / 0.9279 GB, free: 7.191 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.593e-06/1.142, allocations: 0 / 0.9279 GB, free: 7.191 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0001192/1.142, allocations: 0 / 0.9279 GB, free: 7.191 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: 669 * Number of variables: 669 Notification: Performance of Generate backend data structure: time 0.0108/1.153, allocations: 4.128 MB / 0.9319 GB, free: 3.371 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/1.153, allocations: 8.031 kB / 0.9319 GB, free: 3.363 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004818/1.154, allocations: 369.8 kB / 0.9323 GB, free: 2.996 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006364/1.16, allocations: 0.9177 MB / 0.9332 GB, free: 2.082 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003094/1.163, allocations: 1.841 MB / 0.935 GB, free: 292 kB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001155/1.163, allocations: 192.6 kB / 0.9352 GB, free: 100 kB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003765/1.164, allocations: 269.8 kB / 0.9354 GB, free: 15.84 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005102/1.169, allocations: 3.328 MB / 0.9387 GB, free: 12.42 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.912e-05/1.169, allocations: 2.344 kB / 0.9387 GB, free: 12.42 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002403/1.169, allocations: 111.7 kB / 0.9388 GB, free: 12.32 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001247/1.169, allocations: 143.7 kB / 0.9389 GB, free: 12.18 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005241/1.175, allocations: 3.489 MB / 0.9423 GB, free: 8.688 MB / 0.67 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.01396/1.189, allocations: 12.05 MB / 0.9541 GB, free: 11.97 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003986/1.193, allocations: 3.487 MB / 0.9575 GB, free: 8.422 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002413/1.195, allocations: 1.814 MB / 0.9593 GB, free: 6.605 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001289/1.196, allocations: 1.495 MB / 0.9607 GB, free: 4.805 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.407e-05/1.196, allocations: 60.75 kB / 0.9608 GB, free: 4.734 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=278): time 4.068e-06/1.196, allocations: 3.938 kB / 0.9608 GB, free: 4.73 MB / 0.6856 GB Notification: Performance of matching and sorting (n=278): time 0.005792/1.202, allocations: 3.884 MB / 0.9646 GB, free: 0.8008 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.613e-05/1.202, allocations: 81.53 kB / 0.9647 GB, free: 0.707 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001613/1.204, allocations: 1.375 MB / 0.966 GB, free: 15.33 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001505/1.204, allocations: 77.7 kB / 0.9661 GB, free: 15.25 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.000574/1.205, allocations: 0.9881 MB / 0.967 GB, free: 14.25 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006662/1.205, allocations: 0.9397 MB / 0.968 GB, free: 13.31 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005512/1.206, allocations: 409 kB / 0.9683 GB, free: 12.91 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 7.974e-05/1.206, allocations: 305.1 kB / 0.9686 GB, free: 12.61 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001559/1.208, allocations: 1.09 MB / 0.9697 GB, free: 11.51 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001738/1.209, allocations: 1.377 MB / 0.971 GB, free: 10.06 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003509/1.213, allocations: 2.652 MB / 0.9736 GB, free: 7.332 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.023e-06/1.213, allocations: 0 / 0.9736 GB, free: 7.332 MB / 0.7012 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.004248/1.217, allocations: 2.969 MB / 0.9765 GB, free: 4.34 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.053e-05/1.217, allocations: 6.031 kB / 0.9765 GB, free: 4.336 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.166e-05/1.217, allocations: 6.719 kB / 0.9765 GB, free: 4.332 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.383e-05/1.217, allocations: 16 kB / 0.9766 GB, free: 4.316 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001986/1.219, allocations: 0.5153 MB / 0.9771 GB, free: 3.832 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.255e-05/1.219, allocations: 15.94 kB / 0.9771 GB, free: 3.816 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002107/1.221, allocations: 337.8 kB / 0.9774 GB, free: 3.484 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001449/1.221, allocations: 83.98 kB / 0.9775 GB, free: 3.402 MB / 0.7012 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.0009802/1.222, allocations: 0.6412 MB / 0.9781 GB, free: 2.781 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003661/1.223, allocations: 229.3 kB / 0.9783 GB, free: 2.555 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004386/1.227, allocations: 3.105 MB / 0.9814 GB, free: 15.39 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.746e-05/1.227, allocations: 24 kB / 0.9814 GB, free: 15.37 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.008e-05/1.227, allocations: 7.938 kB / 0.9814 GB, free: 15.36 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00342/1.231, allocations: 2.648 MB / 0.984 GB, free: 12.65 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008463/1.239, allocations: 6.208 MB / 0.99 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.364e-06/1.239, allocations: 3.984 kB / 0.99 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002295/1.241, allocations: 0.5419 MB / 0.9906 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.202e-05/1.241, allocations: 16 kB / 0.9906 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001451/1.242, allocations: 59.98 kB / 0.9906 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.26e-05/1.242, allocations: 12 kB / 0.9907 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/1.242, allocations: 0 / 0.9907 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006117/1.248, allocations: 4.81 MB / 0.9954 GB, free: 0.9141 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001051/1.249, allocations: 0.607 MB / 0.9959 GB, free: 292 kB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002799/1.249, allocations: 48 kB / 0.996 GB, free: 244 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001729/1.251, allocations: 229.6 kB / 0.9962 GB, free: 16 kB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003054/1.251, allocations: 166.4 kB / 0.9964 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001478/1.251, allocations: 79.98 kB / 0.9964 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001103/1.252, allocations: 0.9423 MB / 0.9974 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/1.252, allocations: 0 / 0.9974 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001729/1.254, allocations: 0.9822 MB / 0.9983 GB, free: 13.85 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.006637/1.261, allocations: 5.631 MB / 1.004 GB, free: 8.172 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.003695/1.265, allocations: 2.771 MB / 1.007 GB, free: 5.41 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/1.265, allocations: 0 / 1.007 GB, free: 5.41 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001796/1.266, allocations: 1.515 MB / 1.008 GB, free: 3.941 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004742/1.271, allocations: 1.269 MB / 1.009 GB, free: 2.695 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02761/1.299, allocations: 22.35 MB / 1.031 GB, free: 11.13 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001245/1.3, allocations: 1.899 MB / 1.033 GB, free: 9.195 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.002726/1.303, allocations: 0.8358 MB / 1.034 GB, free: 8.355 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001358/1.304, allocations: 1.089 MB / 1.035 GB, free: 7.266 MB / 0.7637 GB Notification: Performance of SimCode: time 5.11e-07/1.304, allocations: 0 / 1.035 GB, free: 7.266 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3578/1.662, allocations: 65.42 MB / 1.099 GB, free: 6.68 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001974/1.662, allocations: 188.6 kB / 1.099 GB, free: 6.43 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.534/5.196, allocations: 0 / 1.099 GB, free: 6.43 MB / 0.8262 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)