Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Airflow.Multizone.Examples.ClosedDoors.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.ClosedDoors,fileNamePrefix="Buildings_11_Buildings_Airflow_Multizone_Examples_ClosedDoors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ClosedDoors,fileNamePrefix="Buildings_11_Buildings_Airflow_Multizone_Examples_ClosedDoors",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.002169/0.002169, 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.002124/0.002124, allocations: 197.5 kB / 16.54 MB, free: 6.672 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.254/1.254, allocations: 222.9 MB / 240.2 MB, free: 4.395 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.469/2.469, allocations: 469.8 MB / 0.7424 GB, free: 7.387 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001716/0.001716, allocations: 63.14 kB / 0.9087 GB, free: 34.4 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2364/0.2381, allocations: 159.2 MB / 1.064 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ClosedDoors): time 0.6215/0.8596, allocations: 218.5 MB / 1.277 GB, free: 4.672 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01955/0.8792, allocations: 20.43 MB / 1.297 GB, free: 4.492 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001568/0.8808, allocations: 59.12 kB / 1.297 GB, free: 4.492 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002194/0.8831, allocations: 1.251 MB / 1.299 GB, free: 4.465 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.007076/0.8901, allocations: 4.08 MB / 1.303 GB, free: 4.289 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002824/0.893, allocations: 1.526 MB / 1.304 GB, free: 4.258 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.005276/0.8983, allocations: 6.963 MB / 1.311 GB, free: 4.234 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002372/0.9006, allocations: 2.358 MB / 1.313 GB, free: 20.04 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00276/0.9034, allocations: 2.353 MB / 1.316 GB, free: 20.04 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002675/0.9061, allocations: 2.464 MB / 1.318 GB, free: 19.8 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0004401/0.9066, allocations: 342.6 kB / 1.318 GB, free: 19.8 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005515/0.9121, allocations: 3.465 MB / 1.322 GB, free: 19.76 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.001022/0.9131, allocations: 1.452 MB / 1.323 GB, free: 19.64 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001416/0.9145, allocations: 1.866 MB / 1.325 GB, free: 19.19 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.004914/0.9194, allocations: 5.72 MB / 1.331 GB, free: 18.52 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.9195, allocations: 0.875 kB / 1.331 GB, free: 18.52 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.062e-06/0.9195, allocations: 3.188 kB / 1.331 GB, free: 18.52 MB / 1.014 GB Notification: Performance of Transformations before backend: time 4.116e-05/0.9195, allocations: 0 / 1.331 GB, free: 18.52 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: 697 * Number of variables: 697 Notification: Performance of Generate backend data structure: time 0.00687/0.9264, allocations: 3.949 MB / 1.334 GB, free: 16.98 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.186e-05/0.9264, allocations: 11.06 kB / 1.334 GB, free: 16.98 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003963/0.9268, allocations: 387.8 kB / 1.335 GB, free: 16.93 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003945/0.9308, allocations: 0.8255 MB / 1.336 GB, free: 16.75 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002372/0.9332, allocations: 1.881 MB / 1.337 GB, free: 16.25 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.945e-05/0.9333, allocations: 206.8 kB / 1.338 GB, free: 16.24 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003087/0.9336, allocations: 267.8 kB / 1.338 GB, free: 16.24 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00388/0.9375, allocations: 3.289 MB / 1.341 GB, free: 16.1 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.787e-05/0.9375, allocations: 3.906 kB / 1.341 GB, free: 16.1 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002297/0.9378, allocations: 110.4 kB / 1.341 GB, free: 16.1 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.835e-05/0.9378, allocations: 122 kB / 1.341 GB, free: 16.09 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00542/0.9433, allocations: 4.622 MB / 1.346 GB, free: 14.91 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.01266/0.9559, allocations: 11 MB / 1.357 GB, free: 7.52 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005269/0.9612, allocations: 4.844 MB / 1.361 GB, free: 4.691 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003015/0.9642, allocations: 2.527 MB / 1.364 GB, free: 3.445 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009758/0.9652, allocations: 0.8669 MB / 1.365 GB, free: 2.543 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.677e-05/0.9653, allocations: 77.58 kB / 1.365 GB, free: 2.473 MB / 1.014 GB Notification: Performance of pre-optimization done (n=399): time 5.019e-06/0.9653, allocations: 3.938 kB / 1.365 GB, free: 2.469 MB / 1.014 GB Notification: Performance of matching and sorting (n=399): time 0.008458/0.9738, allocations: 6.024 MB / 1.371 GB, free: 15.39 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.445e-05/0.9738, allocations: 92.98 kB / 1.371 GB, free: 15.32 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001354/0.9752, allocations: 1.233 MB / 1.372 GB, free: 14.66 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0001811/0.9754, allocations: 93.64 kB / 1.372 GB, free: 14.57 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.000556/0.9759, allocations: 0.8089 MB / 1.373 GB, free: 13.86 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009815/0.9769, allocations: 1.333 MB / 1.374 GB, free: 12.7 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007396/0.9777, allocations: 0.5468 MB / 1.375 GB, free: 12.4 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001086/0.9778, allocations: 307.6 kB / 1.375 GB, free: 12.1 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002153/0.98, allocations: 1.609 MB / 1.376 GB, free: 11.3 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002373/0.9823, allocations: 1.896 MB / 1.378 GB, free: 10.27 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005316/0.9877, allocations: 3.841 MB / 1.382 GB, free: 6.855 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.39e-06/0.9877, allocations: 0 / 1.382 GB, free: 6.855 MB / 1.029 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.006085/0.9938, allocations: 4.189 MB / 1.386 GB, free: 2.66 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.941e-05/0.9938, allocations: 8 kB / 1.386 GB, free: 2.652 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/0.9938, allocations: 0 / 1.386 GB, free: 2.652 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.823e-05/0.9938, allocations: 20 kB / 1.386 GB, free: 2.633 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002561/0.9964, allocations: 0.6869 MB / 1.387 GB, free: 1.988 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.851e-05/0.9964, allocations: 23.92 kB / 1.387 GB, free: 1.965 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001971/0.9984, allocations: 241.2 kB / 1.387 GB, free: 1.727 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002211/0.9987, allocations: 116 kB / 1.387 GB, free: 1.613 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (430): * Single equations (assignments): 430 * 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.001051/0.9997, allocations: 0.7312 MB / 1.388 GB, free: 0.9141 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004123/1, allocations: 237.2 kB / 1.388 GB, free: 0.6797 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007045/1.007, allocations: 4.638 MB / 1.393 GB, free: 12 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.103e-05/1.007, allocations: 36 kB / 1.393 GB, free: 11.96 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.14e-05/1.007, allocations: 4 kB / 1.393 GB, free: 11.96 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00565/1.013, allocations: 3.966 MB / 1.397 GB, free: 7.941 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01132/1.024, allocations: 8.268 MB / 1.405 GB, free: 15.69 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.144e-06/1.024, allocations: 0 / 1.405 GB, free: 15.69 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002592/1.027, allocations: 0.6518 MB / 1.405 GB, free: 15.07 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004117/1.027, allocations: 141 kB / 1.405 GB, free: 14.93 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001878/1.027, allocations: 83.97 kB / 1.405 GB, free: 14.84 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003752/1.031, allocations: 5.056 MB / 1.41 GB, free: 9.395 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/1.031, allocations: 0 / 1.41 GB, free: 9.395 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009301/1.041, allocations: 6.804 MB / 1.417 GB, free: 2.539 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001138/1.042, allocations: 0.7666 MB / 1.418 GB, free: 1.75 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003186/1.042, allocations: 71.94 kB / 1.418 GB, free: 1.68 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001634/1.044, allocations: 96.12 kB / 1.418 GB, free: 1.59 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003876/1.044, allocations: 225.3 kB / 1.418 GB, free: 1.371 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000208/1.044, allocations: 112 kB / 1.418 GB, free: 1.262 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.001055/1.045, allocations: 0.8567 MB / 1.419 GB, free: 412 kB / 1.061 GB Notification: Performance of sort global known variables: time 1.3e-07/1.045, allocations: 4 kB / 1.419 GB, free: 408 kB / 1.061 GB Notification: Performance of remove unused functions: time 0.002024/1.047, allocations: 1.073 MB / 1.42 GB, free: 15.32 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 15 (dooAB.mExcAB,dooAB.mExcBA,volA.dynBal.medium.Xi[1],volA.dynBal.U,volA.dynBal.m,volB.dynBal.medium.Xi[1],volB.dynBal.U,volB.dynBal.m,volC.dynBal.medium.Xi[1],volC.dynBal.U,volC.dynBal.m,dooAC.mExcAB,dooAC.mExcBA,dooBC.mExcAB,dooBC.mExcBA) * 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 (393): * Single equations (assignments): 390 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.009983/1.057, allocations: 7.611 MB / 1.428 GB, free: 7.695 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.02036/1.078, allocations: 11.48 MB / 1.439 GB, free: 12.29 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/1.078, allocations: 0 / 1.439 GB, free: 12.29 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.003298/1.081, allocations: 2.551 MB / 1.441 GB, free: 9.77 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003978/1.085, allocations: 1.079 MB / 1.442 GB, free: 8.711 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03215/1.117, allocations: 24.97 MB / 1.467 GB, free: 14.54 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001595/1.119, allocations: 1.939 MB / 1.469 GB, free: 12.55 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.003042/1.122, allocations: 1.219 MB / 1.47 GB, free: 11.33 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001573/1.123, allocations: 1.089 MB / 1.471 GB, free: 10.24 MB / 1.123 GB Notification: Performance of SimCode: time 4.11e-07/1.123, allocations: 0 / 1.471 GB, free: 10.24 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 7.842/8.966, allocations: 66.15 MB / 1.536 GB, free: 8.812 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.04/26.01, allocations: 18.36 kB / 1.536 GB, free: 8.801 MB / 1.186 GB (rm -f Buildings_11_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe ; mkfifo Buildings_11_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe ; head -c 1048576 < Buildings_11_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe >> ../files/Buildings_11_Buildings.Airflow.Multizone.Examples.ClosedDoors.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Airflow.Multizone.Examples.ClosedDoors_res.mat --tempDir=temp_Buildings_11_Buildings_Airflow_Multizone_Examples_ClosedDoors_fmu --startTime=0 --stopTime=7200 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Airflow_Multizone_Examples_ClosedDoors.fmu > Buildings_11_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe 2>&1)