Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.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/Buildings 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones,fileNamePrefix="Buildings_10_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones,fileNamePrefix="Buildings_10_Buildings_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.00138/0.00138, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001531/0.001531, allocations: 190.5 kB / 16.13 MB, free: 6.645 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.536/1.536, allocations: 222.9 MB / 239.8 MB, free: 4.57 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.943/2.943, allocations: 437 MB / 0.71 GB, free: 5.398 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001574/0.001575, allocations: 63.91 kB / 0.8687 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.083/1.084, allocations: 151.6 MB / 1.017 GB, free: 2.805 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 1.15/2.235, allocations: 293 MB / 1.303 GB, free: 1.75 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.03072/2.265, allocations: 17.21 MB / 1.32 GB, free: 1.457 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006221/2.272, allocations: 72.25 kB / 1.32 GB, free: 1.457 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.00623/2.278, allocations: 1.649 MB / 1.321 GB, free: 1.414 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0199/2.298, allocations: 6.07 MB / 1.327 GB, free: 1.098 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.01002/2.308, allocations: 2.675 MB / 1.33 GB, free: 1 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01938/2.327, allocations: 11.21 MB / 1.341 GB, free: 0.9688 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006901/2.334, allocations: 2.204 MB / 1.343 GB, free: 0.6133 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009152/2.343, allocations: 2.417 MB / 1.345 GB, free: 0.5273 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009083/2.353, allocations: 2.798 MB / 1.348 GB, free: 184 kB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.00205/2.355, allocations: 187.6 kB / 1.348 GB, free: 180 kB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02042/2.375, allocations: 7.186 MB / 1.355 GB, free: 112 kB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.003504/2.379, allocations: 1.204 MB / 1.356 GB, free: 15.97 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.00922/2.388, allocations: 1.736 MB / 1.358 GB, free: 15.5 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.02652/2.414, allocations: 7.165 MB / 1.365 GB, free: 13.63 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 8.196e-06/2.414, allocations: 0 / 1.365 GB, free: 13.63 MB / 1.014 GB Notification: Performance of FrontEnd: time 3.066e-06/2.414, allocations: 0 / 1.365 GB, free: 13.63 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0002293/2.415, allocations: 0 / 1.365 GB, free: 13.63 MB / 1.014 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.01493/2.43, allocations: 4.126 MB / 1.369 GB, free: 11.41 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.833e-05/2.43, allocations: 11.09 kB / 1.369 GB, free: 11.41 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001305/2.431, allocations: 371.5 kB / 1.369 GB, free: 11.3 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007392/2.438, allocations: 0.9125 MB / 1.37 GB, free: 10.93 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005088/2.444, allocations: 1.847 MB / 1.372 GB, free: 9.75 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002426/2.444, allocations: 195.8 kB / 1.372 GB, free: 9.664 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001181/2.445, allocations: 262.8 kB / 1.373 GB, free: 9.574 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00947/2.455, allocations: 3.333 MB / 1.376 GB, free: 7.602 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001469/2.455, allocations: 12.97 kB / 1.376 GB, free: 7.594 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008451/2.456, allocations: 105.3 kB / 1.376 GB, free: 7.516 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001995/2.456, allocations: 137.4 kB / 1.376 GB, free: 7.488 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00803/2.464, allocations: 3.496 MB / 1.38 GB, free: 5.793 MB / 1.014 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.02357/2.487, allocations: 12.09 MB / 1.391 GB, free: 11.77 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006233/2.494, allocations: 3.51 MB / 1.395 GB, free: 8.43 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003599/2.497, allocations: 1.817 MB / 1.397 GB, free: 6.609 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001763/2.499, allocations: 1.49 MB / 1.398 GB, free: 4.812 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.617e-05/2.499, allocations: 66.81 kB / 1.398 GB, free: 4.738 MB / 1.029 GB Notification: Performance of pre-optimization done (n=278): time 5.28e-06/2.499, allocations: 0 / 1.398 GB, free: 4.738 MB / 1.029 GB Notification: Performance of matching and sorting (n=278): time 0.009156/2.508, allocations: 3.889 MB / 1.402 GB, free: 0.8008 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.479e-05/2.509, allocations: 81.59 kB / 1.402 GB, free: 0.707 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003138/2.512, allocations: 1.384 MB / 1.403 GB, free: 15.32 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0005026/2.512, allocations: 77.64 kB / 1.403 GB, free: 15.24 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009172/2.513, allocations: 0.9825 MB / 1.404 GB, free: 14.25 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.001355/2.515, allocations: 0.9438 MB / 1.405 GB, free: 13.31 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001177/2.516, allocations: 404.9 kB / 1.406 GB, free: 12.91 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001508/2.516, allocations: 313.1 kB / 1.406 GB, free: 12.6 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002337/2.518, allocations: 1.09 MB / 1.407 GB, free: 11.5 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002373/2.521, allocations: 1.361 MB / 1.408 GB, free: 10.08 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004744/2.525, allocations: 2.652 MB / 1.411 GB, free: 7.352 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.707e-05/2.525, allocations: 0 / 1.411 GB, free: 7.352 MB / 1.045 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.005902/2.531, allocations: 2.97 MB / 1.414 GB, free: 4.359 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 3.163e-05/2.531, allocations: 4 kB / 1.414 GB, free: 4.355 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.081e-05/2.531, allocations: 4 kB / 1.414 GB, free: 4.352 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.433e-05/2.531, allocations: 16 kB / 1.414 GB, free: 4.336 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002312/2.534, allocations: 0.5143 MB / 1.414 GB, free: 3.852 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-05/2.534, allocations: 18.62 kB / 1.414 GB, free: 3.836 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003341/2.537, allocations: 377.7 kB / 1.415 GB, free: 3.465 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002868/2.537, allocations: 83.98 kB / 1.415 GB, free: 3.383 MB / 1.045 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.001678/2.539, allocations: 0.6463 MB / 1.415 GB, free: 2.758 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001033/2.54, allocations: 233.3 kB / 1.416 GB, free: 2.527 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006321/2.547, allocations: 3.112 MB / 1.419 GB, free: 15.36 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.901e-05/2.547, allocations: 28 kB / 1.419 GB, free: 15.33 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.361e-05/2.547, allocations: 3.094 kB / 1.419 GB, free: 15.33 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004553/2.551, allocations: 2.657 MB / 1.421 GB, free: 12.6 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01252/2.564, allocations: 6.216 MB / 1.427 GB, free: 6.352 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.197e-06/2.564, allocations: 0 / 1.427 GB, free: 6.352 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002632/2.566, allocations: 0.5384 MB / 1.428 GB, free: 5.84 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.31e-05/2.566, allocations: 12 kB / 1.428 GB, free: 5.828 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002508/2.567, allocations: 63.97 kB / 1.428 GB, free: 5.766 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.511e-05/2.567, allocations: 8 kB / 1.428 GB, free: 5.758 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.271e-06/2.567, allocations: 7.938 kB / 1.428 GB, free: 5.75 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007701/2.575, allocations: 4.568 MB / 1.432 GB, free: 1.105 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001867/2.576, allocations: 0.6071 MB / 1.433 GB, free: 488 kB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006339/2.577, allocations: 55.97 kB / 1.433 GB, free: 432 kB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002746/2.58, allocations: 228.7 kB / 1.433 GB, free: 204 kB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004414/2.58, allocations: 165.9 kB / 1.433 GB, free: 36 kB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002581/2.581, allocations: 79.97 kB / 1.434 GB, free: 15.96 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.002147/2.583, allocations: 0.9423 MB / 1.434 GB, free: 15.02 MB / 1.076 GB Notification: Performance of sort global known variables: time 3.316e-06/2.583, allocations: 0 / 1.434 GB, free: 15.02 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.003484/2.586, allocations: 0.9861 MB / 1.435 GB, free: 14.03 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 18 (volEas.dynBal.medium.Xi[1],volEas.dynBal.U,volEas.dynBal.m,oriOutBot.mExc,oriOutTop.mExc,volOut.dynBal.medium.Xi[1],volOut.dynBal.U,volOut.dynBal.m,oriWesTop.mExc,dooOpeClo.mExcAB,dooOpeClo.mExcBA,oriEasTop.mExc,volTop.dynBal.medium.Xi[1],volTop.dynBal.U,volTop.dynBal.m,volWes.dynBal.medium.Xi[1],volWes.dynBal.U,volWes.dynBal.m) * 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.009316/2.596, allocations: 5.402 MB / 1.441 GB, free: 8.586 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.00533/2.601, allocations: 2.756 MB / 1.443 GB, free: 5.836 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.161e-05/2.601, allocations: 4 kB / 1.443 GB, free: 5.832 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.002528/2.604, allocations: 1.51 MB / 1.445 GB, free: 4.371 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007859/2.611, allocations: 1.291 MB / 1.446 GB, free: 3.098 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04659/2.658, allocations: 22.4 MB / 1.468 GB, free: 11.47 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002556/2.661, allocations: 1.895 MB / 1.47 GB, free: 9.539 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.004522/2.665, allocations: 0.8436 MB / 1.471 GB, free: 8.691 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002454/2.668, allocations: 1.089 MB / 1.472 GB, free: 7.602 MB / 1.107 GB Notification: Performance of SimCode: time 1.042e-06/2.668, allocations: 0 / 1.472 GB, free: 7.602 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1116/2.779, allocations: 65.29 MB / 1.536 GB, free: 7.105 MB / 1.17 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002182/2.78, allocations: 210.8 kB / 1.536 GB, free: 6.848 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.221/7.001, allocations: 64 / 1.536 GB, free: 6.848 MB / 1.17 GB (rm -f Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; mkfifo Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; head -c 1048576 < Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe >> ../files/Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones_res.mat --tempDir=temp_Buildings_10_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones.fmu > Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe 2>&1)