Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Airflow_Multizone_Examples_ClosedDoors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ClosedDoors,fileNamePrefix="Buildings_9_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.004929/0.004929, allocations: 101.5 kB / 15.73 MB, free: 5.98 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.001191/0.001191, allocations: 190.5 kB / 16.67 MB, free: 5.918 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.292/1.292, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.234/2.234, allocations: 390.3 MB / 0.6648 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 63.89 kB / 0.9504 GB, free: 8.164 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7328/0.7341, allocations: 140.4 MB / 1.087 GB, free: 5.27 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ClosedDoors): time 0.2346/0.9687, allocations: 218.5 MB / 1.301 GB, free: 3.094 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.02495/0.9937, allocations: 20.42 MB / 1.321 GB, free: 14.62 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002579/0.9963, allocations: 63.69 kB / 1.321 GB, free: 14.56 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.002943/0.9993, allocations: 1.255 MB / 1.322 GB, free: 13.3 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.009616/1.009, allocations: 4.079 MB / 1.326 GB, free: 9.199 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.003982/1.013, allocations: 1.546 MB / 1.328 GB, free: 7.656 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.007876/1.021, allocations: 6.965 MB / 1.334 GB, free: 0.668 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003167/1.024, allocations: 2.356 MB / 1.337 GB, free: 14.26 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004026/1.028, allocations: 2.368 MB / 1.339 GB, free: 11.89 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004118/1.032, allocations: 2.453 MB / 1.341 GB, free: 9.434 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0008083/1.033, allocations: 343.9 kB / 1.342 GB, free: 9.098 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007185/1.04, allocations: 3.465 MB / 1.345 GB, free: 5.625 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.001668/1.042, allocations: 1.45 MB / 1.347 GB, free: 4.172 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.002611/1.045, allocations: 1.867 MB / 1.348 GB, free: 2.297 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.008464/1.053, allocations: 5.769 MB / 1.354 GB, free: 12.51 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 7.635e-06/1.053, allocations: 0 / 1.354 GB, free: 12.51 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.884e-06/1.053, allocations: 3.938 kB / 1.354 GB, free: 12.51 MB / 1.092 GB Notification: Performance of Transformations before backend: time 7.098e-05/1.053, allocations: 0 / 1.354 GB, free: 12.51 MB / 1.092 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.008761/1.062, allocations: 3.945 MB / 1.358 GB, free: 8.5 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.411e-05/1.062, allocations: 8.031 kB / 1.358 GB, free: 8.492 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004328/1.062, allocations: 383.8 kB / 1.358 GB, free: 8.109 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004608/1.067, allocations: 0.8314 MB / 1.359 GB, free: 7.273 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003459/1.071, allocations: 1.945 MB / 1.361 GB, free: 5.27 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000117/1.071, allocations: 197.4 kB / 1.361 GB, free: 5.074 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003818/1.071, allocations: 271.9 kB / 1.361 GB, free: 4.809 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004791/1.076, allocations: 3.279 MB / 1.365 GB, free: 1.488 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.579e-05/1.076, allocations: 0 / 1.365 GB, free: 1.488 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002506/1.076, allocations: 115.9 kB / 1.365 GB, free: 1.375 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001078/1.076, allocations: 125.4 kB / 1.365 GB, free: 1.25 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006465/1.083, allocations: 4.623 MB / 1.369 GB, free: 12.61 MB / 1.107 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.01512/1.098, allocations: 10.93 MB / 1.38 GB, free: 1.004 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005663/1.104, allocations: 4.846 MB / 1.385 GB, free: 12.11 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003263/1.107, allocations: 2.528 MB / 1.387 GB, free: 9.582 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009619/1.108, allocations: 0.8643 MB / 1.388 GB, free: 8.555 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.901e-05/1.108, allocations: 89.56 kB / 1.388 GB, free: 8.457 MB / 1.123 GB Notification: Performance of pre-optimization done (n=399): time 5.761e-06/1.108, allocations: 0 / 1.388 GB, free: 8.457 MB / 1.123 GB Notification: Performance of matching and sorting (n=399): time 0.008812/1.117, allocations: 6.03 MB / 1.394 GB, free: 2.34 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.225e-05/1.117, allocations: 90.55 kB / 1.394 GB, free: 2.238 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001555/1.118, allocations: 1.224 MB / 1.395 GB, free: 1.008 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0002155/1.119, allocations: 97.7 kB / 1.395 GB, free: 0.9062 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004944/1.119, allocations: 0.8096 MB / 1.396 GB, free: 88 kB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009896/1.12, allocations: 1.328 MB / 1.397 GB, free: 14.73 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007315/1.121, allocations: 0.5507 MB / 1.398 GB, free: 14.18 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 8.66e-05/1.121, allocations: 309.1 kB / 1.398 GB, free: 13.87 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002231/1.123, allocations: 1.599 MB / 1.4 GB, free: 12.27 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00245/1.126, allocations: 1.909 MB / 1.402 GB, free: 10.32 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005054/1.131, allocations: 3.827 MB / 1.405 GB, free: 6.43 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.544e-06/1.131, allocations: 4 kB / 1.405 GB, free: 6.426 MB / 1.139 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.006516/1.137, allocations: 4.191 MB / 1.41 GB, free: 2.211 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 3.038e-05/1.137, allocations: 8 kB / 1.41 GB, free: 2.203 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.936e-05/1.137, allocations: 4.406 kB / 1.41 GB, free: 2.199 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.516e-05/1.137, allocations: 23.94 kB / 1.41 GB, free: 2.176 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002776/1.14, allocations: 0.6749 MB / 1.41 GB, free: 1.5 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.504e-05/1.14, allocations: 23.97 kB / 1.41 GB, free: 1.477 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002367/1.143, allocations: 245.3 kB / 1.41 GB, free: 1.234 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001993/1.143, allocations: 119.9 kB / 1.411 GB, free: 1.117 MB / 1.139 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.001309/1.144, allocations: 0.7274 MB / 1.411 GB, free: 388 kB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000454/1.145, allocations: 245 kB / 1.412 GB, free: 140 kB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006968/1.152, allocations: 4.63 MB / 1.416 GB, free: 11.46 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.769e-05/1.152, allocations: 40 kB / 1.416 GB, free: 11.42 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.249e-05/1.152, allocations: 8 kB / 1.416 GB, free: 11.41 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005266/1.157, allocations: 3.957 MB / 1.42 GB, free: 7.395 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01117/1.168, allocations: 8.269 MB / 1.428 GB, free: 15.04 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.128e-05/1.168, allocations: 3.938 kB / 1.428 GB, free: 15.04 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002706/1.171, allocations: 0.6554 MB / 1.429 GB, free: 14.38 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004458/1.171, allocations: 138.5 kB / 1.429 GB, free: 14.23 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001871/1.171, allocations: 83.97 kB / 1.429 GB, free: 14.15 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003423/1.175, allocations: 5.039 MB / 1.434 GB, free: 8.699 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/1.175, allocations: 0 / 1.434 GB, free: 8.699 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009194/1.184, allocations: 6.824 MB / 1.441 GB, free: 1.816 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001635/1.186, allocations: 0.7666 MB / 1.441 GB, free: 1.027 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003584/1.186, allocations: 64 kB / 1.441 GB, free: 0.9648 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001773/1.188, allocations: 89.33 kB / 1.441 GB, free: 0.8789 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000404/1.188, allocations: 222.8 kB / 1.442 GB, free: 0.6602 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002031/1.189, allocations: 112 kB / 1.442 GB, free: 0.5508 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.001112/1.19, allocations: 0.8645 MB / 1.443 GB, free: 15.68 MB / 1.186 GB Notification: Performance of sort global known variables: time 3.6e-07/1.19, allocations: 0 / 1.443 GB, free: 15.68 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.002231/1.192, allocations: 1.073 MB / 1.444 GB, free: 14.61 MB / 1.186 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.009712/1.202, allocations: 7.62 MB / 1.451 GB, free: 6.918 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.005538/1.207, allocations: 4.055 MB / 1.455 GB, free: 2.852 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 6.091e-06/1.207, allocations: 8.25 kB / 1.455 GB, free: 2.844 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.00318/1.21, allocations: 2.547 MB / 1.458 GB, free: 264 kB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004726/1.215, allocations: 1.069 MB / 1.459 GB, free: 15.2 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03086/1.246, allocations: 23 MB / 1.481 GB, free: 7.918 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001431/1.247, allocations: 1.939 MB / 1.483 GB, free: 5.938 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.003039/1.251, allocations: 1.223 MB / 1.484 GB, free: 4.707 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001549/1.252, allocations: 1.085 MB / 1.485 GB, free: 3.621 MB / 1.217 GB Notification: Performance of SimCode: time 1.172e-06/1.252, allocations: 4 kB / 1.485 GB, free: 3.617 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.194/1.446, allocations: 66.72 MB / 1.55 GB, free: 1.574 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.79/16.24, allocations: 3.875 kB / 1.55 GB, free: 1.574 MB / 1.279 GB (rm -f Buildings_9_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Examples.ClosedDoors.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Airflow.Multizone.Examples.ClosedDoors_res.mat --tempDir=temp_Buildings_9_Buildings_Airflow_Multizone_Examples_ClosedDoors_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Airflow_Multizone_Examples_ClosedDoors.fmu > Buildings_9_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe 2>&1)