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.007966/0.007966, allocations: 100.3 kB / 15.73 MB, free: 6.484 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.002283/0.002283, allocations: 193.3 kB / 16.68 MB, free: 6.363 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.586/1.586, allocations: 222.9 MB / 240.4 MB, free: 4.316 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.943/2.943, allocations: 469.8 MB / 0.7425 GB, free: 7.348 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001846/0.001846, allocations: 59.84 kB / 1.065 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4997/0.5015, allocations: 159.1 MB / 1.22 GB, free: 14.35 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ClosedDoors): time 1.559/2.061, allocations: 218.5 MB / 1.434 GB, free: 9.355 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.03959/2.101, allocations: 20.44 MB / 1.454 GB, free: 6.516 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01775/2.119, allocations: 55.69 kB / 1.454 GB, free: 6.461 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.004495/2.123, allocations: 1.251 MB / 1.455 GB, free: 5.203 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.01594/2.139, allocations: 4.078 MB / 1.459 GB, free: 1.109 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.007021/2.146, allocations: 1.544 MB / 1.46 GB, free: 15.57 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.01675/2.163, allocations: 6.971 MB / 1.467 GB, free: 8.578 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006822/2.17, allocations: 2.356 MB / 1.469 GB, free: 6.18 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02051/2.19, allocations: 2.364 MB / 1.472 GB, free: 3.809 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00687/2.197, allocations: 2.461 MB / 1.474 GB, free: 1.355 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.001421/2.199, allocations: 344 kB / 1.474 GB, free: 1.02 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0106/2.209, allocations: 3.461 MB / 1.478 GB, free: 13.55 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.003001/2.212, allocations: 1.457 MB / 1.479 GB, free: 12.09 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.00478/2.217, allocations: 1.863 MB / 1.481 GB, free: 10.22 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.01592/2.233, allocations: 5.79 MB / 1.487 GB, free: 4.414 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 8.817e-06/2.233, allocations: 0 / 1.487 GB, free: 4.414 MB / 1.17 GB Notification: Performance of FrontEnd: time 2.444e-06/2.233, allocations: 0 / 1.487 GB, free: 4.414 MB / 1.17 GB Notification: Performance of Transformations before backend: time 0.0002133/2.234, allocations: 0 / 1.487 GB, free: 4.414 MB / 1.17 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.01805/2.252, allocations: 4.033 MB / 1.491 GB, free: 320 kB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 8.772e-05/2.252, allocations: 8.031 kB / 1.491 GB, free: 312 kB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001167/2.253, allocations: 387.8 kB / 1.491 GB, free: 15.91 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01797/2.271, allocations: 0.8409 MB / 1.492 GB, free: 15.07 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007756/2.279, allocations: 1.943 MB / 1.494 GB, free: 13.07 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003944/2.279, allocations: 205.4 kB / 1.494 GB, free: 12.87 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001814/2.281, allocations: 275.9 kB / 1.494 GB, free: 12.6 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01306/2.294, allocations: 3.283 MB / 1.497 GB, free: 9.277 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000178/2.294, allocations: 0 / 1.497 GB, free: 9.277 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001138/2.296, allocations: 112 kB / 1.497 GB, free: 9.168 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002064/2.296, allocations: 129.3 kB / 1.498 GB, free: 9.039 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01137/2.307, allocations: 4.619 MB / 1.502 GB, free: 4.406 MB / 1.186 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.02802/2.335, allocations: 10.95 MB / 1.513 GB, free: 8.781 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00903/2.344, allocations: 4.864 MB / 1.518 GB, free: 3.879 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005429/2.35, allocations: 2.524 MB / 1.52 GB, free: 1.352 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00173/2.352, allocations: 0.8605 MB / 1.521 GB, free: 332 kB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001279/2.352, allocations: 81.69 kB / 1.521 GB, free: 240 kB / 1.201 GB Notification: Performance of pre-optimization done (n=399): time 1.66e-05/2.352, allocations: 0 / 1.521 GB, free: 240 kB / 1.201 GB Notification: Performance of matching and sorting (n=399): time 0.01602/2.368, allocations: 6.039 MB / 1.527 GB, free: 10.11 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001027/2.368, allocations: 98.53 kB / 1.527 GB, free: 10 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003488/2.371, allocations: 1.228 MB / 1.528 GB, free: 8.766 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.001067/2.373, allocations: 97.64 kB / 1.528 GB, free: 8.664 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.001131/2.374, allocations: 0.8268 MB / 1.529 GB, free: 7.828 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.002978/2.377, allocations: 1.398 MB / 1.53 GB, free: 6.418 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002479/2.379, allocations: 0.5469 MB / 1.531 GB, free: 5.863 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001909/2.379, allocations: 301.1 kB / 1.531 GB, free: 5.566 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004091/2.384, allocations: 1.603 MB / 1.533 GB, free: 3.961 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004121/2.388, allocations: 1.913 MB / 1.535 GB, free: 2.004 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008164/2.396, allocations: 3.835 MB / 1.538 GB, free: 14.11 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.687e-05/2.396, allocations: 4 kB / 1.538 GB, free: 14.1 MB / 1.232 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.01067/2.407, allocations: 4.208 MB / 1.543 GB, free: 9.871 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 4.465e-05/2.407, allocations: 4 kB / 1.543 GB, free: 9.867 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.34e-05/2.407, allocations: 4 kB / 1.543 GB, free: 9.863 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.409e-05/2.407, allocations: 16 kB / 1.543 GB, free: 9.848 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003453/2.41, allocations: 0.6826 MB / 1.543 GB, free: 9.164 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.26e-05/2.41, allocations: 20.3 kB / 1.543 GB, free: 9.145 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003333/2.414, allocations: 250.1 kB / 1.543 GB, free: 8.898 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006526/2.414, allocations: 112 kB / 1.544 GB, free: 8.789 MB / 1.232 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.002592/2.417, allocations: 0.7273 MB / 1.544 GB, free: 8.051 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001376/2.418, allocations: 254.4 kB / 1.545 GB, free: 7.801 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01173/2.43, allocations: 4.631 MB / 1.549 GB, free: 3.129 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.827e-05/2.43, allocations: 40 kB / 1.549 GB, free: 3.09 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.814e-05/2.43, allocations: 3.938 kB / 1.549 GB, free: 3.086 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008459/2.439, allocations: 3.961 MB / 1.553 GB, free: 15.07 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02055/2.459, allocations: 8.278 MB / 1.561 GB, free: 6.703 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.19e-05/2.459, allocations: 7.984 kB / 1.561 GB, free: 6.695 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003488/2.463, allocations: 0.6554 MB / 1.562 GB, free: 6.039 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006151/2.464, allocations: 146.4 kB / 1.562 GB, free: 5.887 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005789/2.464, allocations: 79.98 kB / 1.562 GB, free: 5.809 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004892/2.469, allocations: 5.047 MB / 1.567 GB, free: 352 kB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/2.469, allocations: 0 / 1.567 GB, free: 352 kB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0167/2.486, allocations: 6.833 MB / 1.574 GB, free: 9.453 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00289/2.489, allocations: 0.768 MB / 1.574 GB, free: 8.664 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00104/2.49, allocations: 71.98 kB / 1.574 GB, free: 8.594 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003038/2.493, allocations: 91.81 kB / 1.574 GB, free: 8.508 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008358/2.494, allocations: 226.8 kB / 1.575 GB, free: 8.285 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005377/2.494, allocations: 116 kB / 1.575 GB, free: 8.172 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.002114/2.497, allocations: 0.8567 MB / 1.576 GB, free: 7.312 MB / 1.264 GB Notification: Performance of sort global known variables: time 5.31e-07/2.497, allocations: 0 / 1.576 GB, free: 7.312 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.004361/2.501, allocations: 1.073 MB / 1.577 GB, free: 6.238 MB / 1.264 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.01531/2.516, allocations: 7.637 MB / 1.584 GB, free: 14.53 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.008295/2.525, allocations: 4.063 MB / 1.588 GB, free: 10.46 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 8.175e-06/2.525, allocations: 0 / 1.588 GB, free: 10.46 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.005387/2.53, allocations: 2.552 MB / 1.591 GB, free: 7.867 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007712/2.538, allocations: 1.068 MB / 1.592 GB, free: 6.809 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0528/2.591, allocations: 23.1 MB / 1.614 GB, free: 15.42 MB / 1.311 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002974/2.594, allocations: 1.946 MB / 1.616 GB, free: 13.43 MB / 1.311 GB Notification: Performance of simCode: alias equations: time 0.005136/2.599, allocations: 1.223 MB / 1.617 GB, free: 12.2 MB / 1.311 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002851/2.602, allocations: 1.085 MB / 1.618 GB, free: 11.12 MB / 1.311 GB Notification: Performance of SimCode: time 1.483e-06/2.602, allocations: 0 / 1.618 GB, free: 11.12 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1556/2.757, allocations: 66.73 MB / 1.683 GB, free: 9.059 MB / 1.373 GB Notification: Performance of buildModelFMU: Generate platform static: time 17/19.76, allocations: 12.73 kB / 1.683 GB, free: 9.047 MB / 1.373 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)