Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones,fileNamePrefix="Buildings_11_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.001393/0.001393, 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.00132/0.00132, allocations: 193.9 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.246/1.246, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.492/2.492, allocations: 469.8 MB / 0.7424 GB, free: 7.395 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001718/0.001718, allocations: 61.58 kB / 0.9086 GB, free: 34.36 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.236/0.2377, allocations: 159.2 MB / 1.064 GB, free: 14.25 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 0.6737/0.9114, allocations: 295.1 MB / 1.352 GB, free: 3.195 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0178/0.9293, allocations: 17.03 MB / 1.369 GB, free: 1.906 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002848/0.9321, allocations: 80.88 kB / 1.369 GB, free: 1.906 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.003425/0.9356, allocations: 1.889 MB / 1.371 GB, free: 1.531 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01182/0.9474, allocations: 6.431 MB / 1.377 GB, free: 220 kB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00592/0.9534, allocations: 2.928 MB / 1.38 GB, free: 15.27 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.007449/0.9608, allocations: 7.712 MB / 1.387 GB, free: 12.96 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002821/0.9637, allocations: 2.582 MB / 1.39 GB, free: 11.48 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003763/0.9674, allocations: 2.766 MB / 1.393 GB, free: 10.14 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003287/0.9707, allocations: 2.707 MB / 1.395 GB, free: 8.777 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0003633/0.9711, allocations: 332.2 kB / 1.396 GB, free: 8.773 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0107/0.9818, allocations: 6.161 MB / 1.402 GB, free: 6.18 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.00151/0.9834, allocations: 1.341 MB / 1.403 GB, free: 5.273 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.002394/0.9858, allocations: 1.886 MB / 1.405 GB, free: 4.105 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.009684/0.9954, allocations: 6.829 MB / 1.412 GB, free: 196 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.9955, allocations: 2.438 kB / 1.412 GB, free: 196 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.172e-06/0.9955, allocations: 0 / 1.412 GB, free: 196 kB / 1.014 GB Notification: Performance of Transformations before backend: time 3.042e-05/0.9955, allocations: 0 / 1.412 GB, free: 196 kB / 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.008242/1.004, allocations: 4.131 MB / 1.416 GB, free: 13.43 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.261e-05/1.004, allocations: 9.75 kB / 1.416 GB, free: 13.43 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004282/1.004, allocations: 367.1 kB / 1.416 GB, free: 13.16 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005253/1.009, allocations: 0.9112 MB / 1.417 GB, free: 12.75 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002634/1.012, allocations: 1.852 MB / 1.419 GB, free: 11.36 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001359/1.012, allocations: 192.6 kB / 1.419 GB, free: 11.17 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003486/1.013, allocations: 258.9 kB / 1.419 GB, free: 10.92 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004833/1.017, allocations: 3.331 MB / 1.422 GB, free: 7.496 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.307e-05/1.018, allocations: 11.84 kB / 1.422 GB, free: 7.484 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000233/1.018, allocations: 110.4 kB / 1.422 GB, free: 7.379 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000139/1.018, allocations: 137 kB / 1.423 GB, free: 7.242 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005374/1.023, allocations: 3.502 MB / 1.426 GB, free: 3.727 MB / 1.029 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.01407/1.037, allocations: 12.22 MB / 1.438 GB, free: 6.73 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00443/1.042, allocations: 3.498 MB / 1.441 GB, free: 3.148 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002606/1.044, allocations: 1.817 MB / 1.443 GB, free: 1.332 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001481/1.046, allocations: 1.496 MB / 1.445 GB, free: 15.53 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.204e-05/1.046, allocations: 68.69 kB / 1.445 GB, free: 15.45 MB / 1.061 GB Notification: Performance of pre-optimization done (n=278): time 3.626e-06/1.046, allocations: 0 / 1.445 GB, free: 15.45 MB / 1.061 GB Notification: Performance of matching and sorting (n=278): time 0.006059/1.052, allocations: 3.889 MB / 1.448 GB, free: 11.52 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.646e-05/1.052, allocations: 81.59 kB / 1.448 GB, free: 11.42 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001638/1.054, allocations: 1.379 MB / 1.45 GB, free: 10.04 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0001408/1.054, allocations: 73.7 kB / 1.45 GB, free: 9.957 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.000689/1.055, allocations: 0.9843 MB / 1.451 GB, free: 8.961 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007422/1.055, allocations: 0.9443 MB / 1.452 GB, free: 8.023 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005954/1.056, allocations: 408.9 kB / 1.452 GB, free: 7.617 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001057/1.056, allocations: 301.1 kB / 1.452 GB, free: 7.32 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001665/1.058, allocations: 1.102 MB / 1.454 GB, free: 6.215 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001861/1.06, allocations: 1.358 MB / 1.455 GB, free: 4.789 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003792/1.063, allocations: 2.642 MB / 1.457 GB, free: 2.055 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.508e-06/1.063, allocations: 0 / 1.457 GB, free: 2.055 MB / 1.061 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.004434/1.068, allocations: 2.978 MB / 1.46 GB, free: 15.03 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/1.068, allocations: 8 kB / 1.46 GB, free: 15.02 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.281e-05/1.068, allocations: 7.938 kB / 1.46 GB, free: 15.02 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.459e-05/1.068, allocations: 16 kB / 1.46 GB, free: 15 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002001/1.07, allocations: 0.5076 MB / 1.461 GB, free: 14.49 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.26e-05/1.07, allocations: 23.88 kB / 1.461 GB, free: 14.47 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001719/1.072, allocations: 185.9 kB / 1.461 GB, free: 14.29 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001495/1.072, allocations: 81 kB / 1.461 GB, free: 14.21 MB / 1.076 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.0009692/1.073, allocations: 0.6456 MB / 1.462 GB, free: 13.55 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000365/1.073, allocations: 229.3 kB / 1.462 GB, free: 13.32 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004756/1.078, allocations: 3.116 MB / 1.465 GB, free: 10.15 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.886e-05/1.078, allocations: 24 kB / 1.465 GB, free: 10.12 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/1.078, allocations: 0 / 1.465 GB, free: 10.12 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003759/1.082, allocations: 2.669 MB / 1.468 GB, free: 7.387 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008556/1.09, allocations: 6.221 MB / 1.474 GB, free: 1.129 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.941e-06/1.09, allocations: 0 / 1.474 GB, free: 1.129 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002321/1.093, allocations: 0.5384 MB / 1.474 GB, free: 0.5898 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.159e-05/1.093, allocations: 11.94 kB / 1.474 GB, free: 0.5781 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001396/1.093, allocations: 59.98 kB / 1.474 GB, free: 0.5195 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.357e-05/1.093, allocations: 15.98 kB / 1.474 GB, free: 0.5039 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/1.093, allocations: 0 / 1.474 GB, free: 0.5039 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006327/1.099, allocations: 4.577 MB / 1.479 GB, free: 11.85 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009647/1.1, allocations: 0.6071 MB / 1.479 GB, free: 11.22 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002843/1.101, allocations: 52 kB / 1.479 GB, free: 11.17 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00139/1.102, allocations: 62.81 kB / 1.48 GB, free: 11.11 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003001/1.102, allocations: 162 kB / 1.48 GB, free: 10.95 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001532/1.102, allocations: 87.97 kB / 1.48 GB, free: 10.86 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.001146/1.104, allocations: 0.9423 MB / 1.481 GB, free: 9.926 MB / 1.092 GB Notification: Performance of sort global known variables: time 2.61e-07/1.104, allocations: 3.938 kB / 1.481 GB, free: 9.922 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.001832/1.105, allocations: 0.9862 MB / 1.482 GB, free: 8.934 MB / 1.092 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.007054/1.112, allocations: 5.388 MB / 1.487 GB, free: 3.465 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.01064/1.123, allocations: 5.54 MB / 1.492 GB, free: 13.89 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/1.123, allocations: 4 kB / 1.492 GB, free: 13.89 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.002002/1.125, allocations: 1.504 MB / 1.494 GB, free: 12.38 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004946/1.13, allocations: 1.349 MB / 1.495 GB, free: 11.07 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02689/1.157, allocations: 21.3 MB / 1.516 GB, free: 4.477 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00145/1.158, allocations: 1.891 MB / 1.518 GB, free: 2.551 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.002513/1.161, allocations: 0.8475 MB / 1.519 GB, free: 1.699 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001442/1.162, allocations: 1.097 MB / 1.52 GB, free: 0.6016 MB / 1.123 GB Notification: Performance of SimCode: time 2.395e-06/1.162, allocations: 0 / 1.52 GB, free: 0.6016 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.537/3.7, allocations: 67.71 MB / 1.586 GB, free: 13.62 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.36/24.06, allocations: 0 / 1.586 GB, free: 13.62 MB / 1.201 GB (rm -f Buildings_11_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; mkfifo Buildings_11_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; head -c 1048576 < Buildings_11_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe >> ../files/Buildings_11_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones_res.mat --tempDir=temp_Buildings_11_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones_fmu --startTime=0 --stopTime=3600 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones.fmu > Buildings_11_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe 2>&1)