Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.ReverseBuoyancy3Zones,fileNamePrefix="IDEAS_dev_IDEAS_Airflow_Multizone_Examples_ReverseBuoyancy3Zones",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy3Zones,fileNamePrefix="IDEAS_dev_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.008215/0.008215, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.00174/0.001741, allocations: 193.5 kB / 16.67 MB, free: 5.93 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.381/1.381, 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.8291/0.8291, allocations: 135.1 MB / 425.7 MB, free: 4.102 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001221/0.001221, allocations: 63.52 kB / 0.5851 GB, free: 21.85 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1535/0.1547, allocations: 80.91 MB / 0.6641 GB, free: 6.297 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 0.7429/0.8977, allocations: 295.1 MB / 0.9523 GB, free: 8.016 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.02636/0.9241, allocations: 16.99 MB / 0.9689 GB, free: 6.992 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005388/0.9295, allocations: 79.62 kB / 0.969 GB, free: 6.914 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.00752/0.9372, allocations: 1.974 MB / 0.9709 GB, free: 4.93 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.01917/0.9564, allocations: 6.624 MB / 0.9774 GB, free: 14.28 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.008377/0.9648, allocations: 2.974 MB / 0.9803 GB, free: 11.3 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.01117/0.976, allocations: 7.712 MB / 0.9878 GB, free: 3.574 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004433/0.9804, allocations: 2.605 MB / 0.9904 GB, free: 0.918 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00676/0.9872, allocations: 2.858 MB / 0.9932 GB, free: 14.05 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005953/0.9932, allocations: 2.7 MB / 0.9958 GB, free: 11.36 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.0009755/0.9942, allocations: 324 kB / 0.9961 GB, free: 11.04 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01454/1.009, allocations: 6.196 MB / 1.002 GB, free: 4.828 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.002591/1.011, allocations: 1.34 MB / 1.003 GB, free: 3.484 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.004427/1.016, allocations: 1.883 MB / 1.005 GB, free: 1.594 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.01444/1.03, allocations: 6.895 MB / 1.012 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/1.03, allocations: 0 / 1.012 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.883e-06/1.03, allocations: 0 / 1.012 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 0.0001346/1.031, allocations: 0 / 1.012 GB, free: 10.68 MB / 0.7794 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.01247/1.043, allocations: 4.131 MB / 1.016 GB, free: 6.48 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.235e-05/1.043, allocations: 9.109 kB / 1.016 GB, free: 6.473 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007571/1.044, allocations: 371 kB / 1.016 GB, free: 6.102 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007209/1.051, allocations: 0.9093 MB / 1.017 GB, free: 5.188 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005199/1.056, allocations: 1.916 MB / 1.019 GB, free: 3.215 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002127/1.057, allocations: 197.1 kB / 1.019 GB, free: 3.02 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008416/1.057, allocations: 263.9 kB / 1.02 GB, free: 2.762 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006396/1.064, allocations: 3.33 MB / 1.023 GB, free: 15.33 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.969e-05/1.064, allocations: 11.91 kB / 1.023 GB, free: 15.32 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002553/1.064, allocations: 104 kB / 1.023 GB, free: 15.21 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001475/1.064, allocations: 141 kB / 1.023 GB, free: 15.07 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006307/1.071, allocations: 3.482 MB / 1.027 GB, free: 11.58 MB / 0.795 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.01976/1.09, allocations: 12.12 MB / 1.038 GB, free: 14.55 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005517/1.096, allocations: 3.496 MB / 1.042 GB, free: 10.97 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00329/1.099, allocations: 1.845 MB / 1.044 GB, free: 9.117 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001633/1.101, allocations: 1.493 MB / 1.045 GB, free: 7.309 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001324/1.101, allocations: 68.69 kB / 1.045 GB, free: 7.23 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=278): time 6.021e-06/1.101, allocations: 0 / 1.045 GB, free: 7.23 MB / 0.8106 GB Notification: Performance of matching and sorting (n=278): time 0.008597/1.11, allocations: 3.881 MB / 1.049 GB, free: 3.301 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.715e-05/1.11, allocations: 81.59 kB / 1.049 GB, free: 3.207 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002935/1.113, allocations: 1.376 MB / 1.05 GB, free: 1.824 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0003505/1.113, allocations: 73.7 kB / 1.05 GB, free: 1.746 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008371/1.114, allocations: 0.9882 MB / 1.051 GB, free: 0.7461 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.00114/1.115, allocations: 0.9432 MB / 1.052 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000827/1.116, allocations: 412.9 kB / 1.053 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.415e-05/1.116, allocations: 301.1 kB / 1.053 GB, free: 15.08 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001842/1.118, allocations: 1.094 MB / 1.054 GB, free: 13.98 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002154/1.12, allocations: 1.377 MB / 1.055 GB, free: 12.53 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004194/1.124, allocations: 2.642 MB / 1.058 GB, free: 9.793 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.005e-05/1.124, allocations: 4 kB / 1.058 GB, free: 9.789 MB / 0.8262 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.005296/1.13, allocations: 2.97 MB / 1.061 GB, free: 6.773 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.825e-05/1.13, allocations: 8 kB / 1.061 GB, free: 6.766 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.41e-05/1.13, allocations: 8 kB / 1.061 GB, free: 6.758 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.904e-05/1.13, allocations: 12 kB / 1.061 GB, free: 6.746 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002248/1.132, allocations: 0.5071 MB / 1.061 GB, free: 6.238 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.241e-05/1.132, allocations: 19.94 kB / 1.061 GB, free: 6.219 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002193/1.134, allocations: 186.3 kB / 1.062 GB, free: 6.039 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002309/1.134, allocations: 83.98 kB / 1.062 GB, free: 5.957 MB / 0.8262 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.001391/1.136, allocations: 0.6494 MB / 1.062 GB, free: 5.297 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007505/1.137, allocations: 233.2 kB / 1.063 GB, free: 5.066 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007497/1.144, allocations: 3.096 MB / 1.066 GB, free: 1.914 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.155e-05/1.144, allocations: 28 kB / 1.066 GB, free: 1.887 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.823e-05/1.144, allocations: 3.984 kB / 1.066 GB, free: 1.883 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.3726/1.517, allocations: 2.641 MB / 1.068 GB, free: 324.5 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01124/1.528, allocations: 6.195 MB / 1.074 GB, free: 322.7 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.977e-06/1.528, allocations: 1.562 kB / 1.074 GB, free: 322.7 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002765/1.531, allocations: 0.5508 MB / 1.075 GB, free: 322.7 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.858e-05/1.531, allocations: 9.438 kB / 1.075 GB, free: 322.7 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001732/1.531, allocations: 61.94 kB / 1.075 GB, free: 322.7 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.717e-05/1.531, allocations: 11.38 kB / 1.075 GB, free: 322.7 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/1.531, allocations: 1.406 kB / 1.075 GB, free: 322.7 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007915/1.539, allocations: 4.804 MB / 1.08 GB, free: 320.7 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001435/1.541, allocations: 0.6096 MB / 1.08 GB, free: 320.5 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003127/1.541, allocations: 52.89 kB / 1.08 GB, free: 320.4 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001571/1.543, allocations: 64.27 kB / 1.08 GB, free: 320.4 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003853/1.543, allocations: 165.5 kB / 1.08 GB, free: 320.4 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001875/1.543, allocations: 85.91 kB / 1.08 GB, free: 320.4 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.001534/1.545, allocations: 0.9425 MB / 1.081 GB, free: 320 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/1.545, allocations: 0.6875 kB / 1.081 GB, free: 320 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.002485/1.547, allocations: 0.9879 MB / 1.082 GB, free: 319.8 MB / 0.8262 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.007962/1.555, allocations: 5.618 MB / 1.088 GB, free: 317.2 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0046/1.56, allocations: 2.773 MB / 1.091 GB, free: 316.2 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 7.514e-06/1.56, allocations: 1.156 kB / 1.091 GB, free: 316.2 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.002337/1.562, allocations: 1.516 MB / 1.092 GB, free: 315.7 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005126/1.567, allocations: 1.348 MB / 1.093 GB, free: 315.3 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02427/1.592, allocations: 19.39 MB / 1.112 GB, free: 305.8 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001137/1.593, allocations: 1.896 MB / 1.114 GB, free: 303.9 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.00274/1.596, allocations: 0.8334 MB / 1.115 GB, free: 303.1 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001368/1.597, allocations: 1.089 MB / 1.116 GB, free: 302 MB / 0.8262 GB Notification: Performance of SimCode: time 8.02e-07/1.597, allocations: 0 / 1.116 GB, free: 302 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08889/1.686, allocations: 68.41 MB / 1.183 GB, free: 234.1 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.76/14.44, allocations: 12.58 kB / 1.183 GB, free: 234.1 MB / 0.8262 GB (rm -f IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; mkfifo IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe >> ../files/IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Airflow_Multizone_Examples_ReverseBuoyancy3Zones_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Airflow_Multizone_Examples_ReverseBuoyancy3Zones.fmu > IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe 2>&1)