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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001311/0.001311, allocations: 173.9 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.769/0.769, allocations: 133.6 MB / 141.6 MB, free: 2.883 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.538/1.538, allocations: 221.5 MB / 395.4 MB, free: 10.8 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009605/0.0009605, allocations: 98.95 kB / 478.2 MB, free: 1.344 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.641e-05/2.645e-05, allocations: 8 kB / 0.5535 GB, free: 8.984 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5039/0.5039, allocations: 82.3 MB / 0.6339 GB, free: 40.95 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.888/5.392, allocations: 1.897 GB / 2.531 GB, free: 141.8 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002472/5.392, allocations: 83.95 kB / 2.531 GB, free: 141.7 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 6.587/11.98, allocations: 1.734 GB / 4.264 GB, free: 6.238 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.043e-06/11.98, allocations: 4 kB / 4.264 GB, free: 6.234 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0003075/11.98, allocations: 79.92 kB / 4.264 GB, free: 6.156 MB / 0.7448 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.016/12, allocations: 3.542 MB / 4.268 GB, free: 2.555 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.51e-05/12, allocations: 12.03 kB / 4.268 GB, free: 2.543 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008552/12, allocations: 0.9058 MB / 4.269 GB, free: 1.633 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.6159/12.62, allocations: 1.901 MB / 4.271 GB, free: 65.02 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002636/12.62, allocations: 84.61 kB / 4.271 GB, free: 65.02 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001188/12.62, allocations: 161.8 kB / 4.271 GB, free: 65.02 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008005/12.63, allocations: 2.984 MB / 4.274 GB, free: 65 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006781/12.64, allocations: 2.842 MB / 4.277 GB, free: 64.7 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-05/12.64, allocations: 8.375 kB / 4.277 GB, free: 64.7 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002701/12.64, allocations: 3.125 kB / 4.277 GB, free: 64.7 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001284/12.64, allocations: 125.6 kB / 4.277 GB, free: 64.69 MB / 0.7448 GB Warning: The model contains alias variables with conflicting start and/or 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.0193/12.66, allocations: 12.1 MB / 4.289 GB, free: 58.75 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004297/12.66, allocations: 3.755 MB / 4.292 GB, free: 57.68 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00249/12.66, allocations: 1.719 MB / 4.294 GB, free: 57.64 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001292/12.66, allocations: 1.498 MB / 4.295 GB, free: 56.04 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.286e-05/12.66, allocations: 64.38 kB / 4.295 GB, free: 56 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=278): time 4.749e-06/12.66, allocations: 0 / 4.295 GB, free: 56 MB / 0.7448 GB Notification: Performance of matching and sorting (n=278): time 0.005553/12.67, allocations: 2.813 MB / 4.298 GB, free: 55.77 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.383e-05/12.67, allocations: 83.94 kB / 4.298 GB, free: 55.7 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001638/12.67, allocations: 1.019 MB / 4.299 GB, free: 55.55 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0002014/12.67, allocations: 28.89 kB / 4.299 GB, free: 55.52 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006373/12.67, allocations: 0.9855 MB / 4.3 GB, free: 55.23 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008407/12.67, allocations: 0.9068 MB / 4.301 GB, free: 54.74 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001276/12.67, allocations: 0 / 4.301 GB, free: 54.74 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001486/12.67, allocations: 400.7 kB / 4.302 GB, free: 54.43 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001944/12.68, allocations: 1.06 MB / 4.303 GB, free: 54.43 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001936/12.68, allocations: 1.373 MB / 4.304 GB, free: 54.16 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002723/12.68, allocations: 1.405 MB / 4.305 GB, free: 54.11 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.008e-05/12.68, allocations: 0 / 4.305 GB, free: 54.11 MB / 0.7448 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.005854/12.69, allocations: 2.971 MB / 4.308 GB, free: 53.88 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.444e-05/12.69, allocations: 8.688 kB / 4.308 GB, free: 53.88 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.925e-05/12.69, allocations: 4.594 kB / 4.308 GB, free: 53.88 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.623e-05/12.69, allocations: 14.66 kB / 4.308 GB, free: 53.88 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002555/12.69, allocations: 0.5377 MB / 4.309 GB, free: 53.88 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.088e-05/12.69, allocations: 18.58 kB / 4.309 GB, free: 53.88 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003529/12.69, allocations: 277.5 kB / 4.309 GB, free: 53.83 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002595/12.69, allocations: 95.45 kB / 4.309 GB, free: 53.83 MB / 0.7448 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005084/12.69, allocations: 139.4 kB / 4.309 GB, free: 53.72 MB / 0.7448 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.005334/12.7, allocations: 2.786 MB / 4.312 GB, free: 53.49 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006041/12.7, allocations: 221.5 kB / 4.312 GB, free: 53.38 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005755/12.7, allocations: 3.088 MB / 4.315 GB, free: 53.21 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.367e-05/12.7, allocations: 28.88 kB / 4.315 GB, free: 53.21 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.13e-05/12.71, allocations: 0 / 4.315 GB, free: 53.21 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004249/12.71, allocations: 2.696 MB / 4.318 GB, free: 52.96 MB / 0.7448 GB Warning: The model contains alias variables with conflicting start and/or 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 postOpt removeSimpleEquations (simulation): time 0.01134/12.72, allocations: 6.301 MB / 4.324 GB, free: 52.22 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.02e-05/12.72, allocations: 4.734 kB / 4.324 GB, free: 52.22 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002663/12.72, allocations: 0.5746 MB / 4.325 GB, free: 52.22 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.701e-05/12.72, allocations: 9.531 kB / 4.325 GB, free: 52.22 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002032/12.72, allocations: 35.94 kB / 4.325 GB, free: 52.22 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.123e-05/12.72, allocations: 10.78 kB / 4.325 GB, free: 52.22 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/12.72, allocations: 0 / 4.325 GB, free: 52.22 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007402/12.73, allocations: 4.841 MB / 4.329 GB, free: 51.83 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001879/12.73, allocations: 0.6188 MB / 4.33 GB, free: 51.62 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005688/12.73, allocations: 15.72 kB / 4.33 GB, free: 51.62 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002543/12.74, allocations: 182.8 kB / 4.33 GB, free: 51.62 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002254/12.74, allocations: 150.8 kB / 4.33 GB, free: 51.61 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001879/12.74, allocations: 90.14 kB / 4.33 GB, free: 51.61 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.00118/12.74, allocations: 0.777 MB / 4.331 GB, free: 51.5 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5.51e-07/12.74, allocations: 6.125 kB / 4.331 GB, free: 51.5 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.003689/12.74, allocations: 1.168 MB / 4.332 GB, free: 51.45 MB / 0.7448 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 () * 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 (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.01417/12.76, allocations: 9.993 MB / 4.342 GB, free: 48.68 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.005126/12.76, allocations: 2.701 MB / 4.345 GB, free: 48.62 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 7.985e-06/12.76, allocations: 2.391 kB / 4.345 GB, free: 48.62 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.00219/12.76, allocations: 1.467 MB / 4.346 GB, free: 48.61 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00681/12.77, allocations: 1.125 MB / 4.347 GB, free: 48.6 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01229/12.78, allocations: 5.693 MB / 4.353 GB, free: 47.5 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001704/12.78, allocations: 1.956 MB / 4.355 GB, free: 46.75 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.003788/12.79, allocations: 0.8464 MB / 4.355 GB, free: 46.73 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001787/12.79, allocations: 1.102 MB / 4.357 GB, free: 46.72 MB / 0.7448 GB Notification: Performance of SimCode: time 1.182e-06/12.79, allocations: 0 / 4.357 GB, free: 46.72 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1517/12.94, allocations: 91.73 MB / 4.446 GB, free: 42.41 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001467/12.94, allocations: 143.2 kB / 4.446 GB, free: 42.21 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.374/18.32, allocations: 0 / 4.446 GB, free: 42.21 MB / 0.7448 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/linux/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)