Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.ClosedDoors,fileNamePrefix="Buildings_10_Buildings_Airflow_Multizone_Examples_ClosedDoors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ClosedDoors,fileNamePrefix="Buildings_10_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.0008547/0.0008547, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005197/0.005198, allocations: 169.6 kB / 16.26 MB, free: 6.676 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.208/1.208, allocations: 223.3 MB / 240.3 MB, free: 5.344 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.273/2.273, allocations: 437.8 MB / 0.7121 GB, free: 6.961 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0002875/0.0002875, allocations: 8 kB / 0.8729 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5096/0.5099, allocations: 153.8 MB / 1.023 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ClosedDoors): time 0.1803/0.6902, allocations: 213.2 MB / 1.231 GB, free: 9.82 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.478/1.168, allocations: 20.49 MB / 1.251 GB, free: 2.367 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001597/1.17, allocations: 46.41 kB / 1.251 GB, free: 2.367 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.002245/1.172, allocations: 1.095 MB / 1.252 GB, free: 2.344 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.007821/1.18, allocations: 3.84 MB / 1.256 GB, free: 2.16 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002977/1.183, allocations: 1.385 MB / 1.258 GB, free: 2.121 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.009285/1.192, allocations: 9.511 MB / 1.267 GB, free: 2.102 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002175/1.194, allocations: 1.939 MB / 1.269 GB, free: 1.867 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00288/1.197, allocations: 1.97 MB / 1.271 GB, free: 1.859 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003099/1.2, allocations: 2.455 MB / 1.273 GB, free: 1.855 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002992/1.201, allocations: 160.7 kB / 1.273 GB, free: 1.855 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005845/1.207, allocations: 3.923 MB / 1.277 GB, free: 1.824 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0008937/1.207, allocations: 1.26 MB / 1.278 GB, free: 1.82 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.001511/1.209, allocations: 1.672 MB / 1.28 GB, free: 17.79 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.004825/1.214, allocations: 5.742 MB / 1.286 GB, free: 17.46 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/1.214, allocations: 6.016 kB / 1.286 GB, free: 17.46 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.513e-06/1.214, allocations: 0 / 1.286 GB, free: 17.46 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.322e-05/1.214, allocations: 0 / 1.286 GB, free: 17.46 MB / 0.9981 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.006659/1.221, allocations: 3.446 MB / 1.289 GB, free: 16 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/1.221, allocations: 12.03 kB / 1.289 GB, free: 15.99 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004223/1.221, allocations: 390.7 kB / 1.289 GB, free: 15.94 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004086/1.225, allocations: 0.8306 MB / 1.29 GB, free: 15.77 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002384/1.228, allocations: 1.884 MB / 1.292 GB, free: 15.27 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.309e-05/1.228, allocations: 201.1 kB / 1.292 GB, free: 15.26 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003317/1.228, allocations: 271 kB / 1.292 GB, free: 15.25 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004102/1.232, allocations: 3.289 MB / 1.296 GB, free: 15.12 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.081e-05/1.232, allocations: 0 / 1.296 GB, free: 15.12 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002298/1.232, allocations: 116 kB / 1.296 GB, free: 15.12 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.615e-05/1.232, allocations: 125.5 kB / 1.296 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005527/1.238, allocations: 4.621 MB / 1.3 GB, free: 15.07 MB / 0.9981 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.01138/1.249, allocations: 10.9 MB / 1.311 GB, free: 10.71 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00466/1.254, allocations: 4.866 MB / 1.316 GB, free: 9.957 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002736/1.257, allocations: 2.525 MB / 1.318 GB, free: 9.605 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009002/1.258, allocations: 0.8604 MB / 1.319 GB, free: 8.715 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.567e-05/1.258, allocations: 82.83 kB / 1.319 GB, free: 8.668 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=399): time 5.23e-06/1.258, allocations: 0.9062 kB / 1.319 GB, free: 8.668 MB / 0.9981 GB Notification: Performance of matching and sorting (n=399): time 0.007811/1.266, allocations: 6.041 MB / 1.325 GB, free: 7.383 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.719e-05/1.266, allocations: 92.67 kB / 1.325 GB, free: 7.316 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001246/1.267, allocations: 1.23 MB / 1.326 GB, free: 6.984 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001836/1.267, allocations: 96.52 kB / 1.326 GB, free: 6.949 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004179/1.268, allocations: 0.8177 MB / 1.327 GB, free: 6.531 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008444/1.268, allocations: 1.328 MB / 1.329 GB, free: 5.547 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002939/1.269, allocations: 269.4 kB / 1.329 GB, free: 5.488 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 7.496e-05/1.269, allocations: 303.9 kB / 1.329 GB, free: 5.191 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002032/1.271, allocations: 1.602 MB / 1.331 GB, free: 4.699 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002275/1.273, allocations: 1.91 MB / 1.332 GB, free: 3.66 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004714/1.278, allocations: 3.846 MB / 1.336 GB, free: 1.641 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.771e-06/1.278, allocations: 2.906 kB / 1.336 GB, free: 1.641 MB / 0.9981 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.005295/1.283, allocations: 4.192 MB / 1.34 GB, free: 15.62 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.848e-05/1.283, allocations: 9.75 kB / 1.34 GB, free: 15.62 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.132e-05/1.283, allocations: 3.25 kB / 1.34 GB, free: 15.62 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.413e-05/1.283, allocations: 19.78 kB / 1.34 GB, free: 15.61 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002464/1.286, allocations: 0.6906 MB / 1.341 GB, free: 15.5 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.315e-05/1.286, allocations: 18.75 kB / 1.341 GB, free: 15.5 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002509/1.288, allocations: 399.1 kB / 1.341 GB, free: 15.25 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001852/1.288, allocations: 115.3 kB / 1.342 GB, free: 15.22 MB / 1.014 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.001017/1.289, allocations: 0.7256 MB / 1.342 GB, free: 14.77 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003286/1.29, allocations: 241.4 kB / 1.342 GB, free: 14.64 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006632/1.296, allocations: 4.641 MB / 1.347 GB, free: 10.57 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.41e-05/1.296, allocations: 36 kB / 1.347 GB, free: 10.53 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.307e-05/1.296, allocations: 7.5 kB / 1.347 GB, free: 10.53 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005189/1.302, allocations: 3.959 MB / 1.351 GB, free: 6.516 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01085/1.312, allocations: 8.29 MB / 1.359 GB, free: 14.25 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.333e-06/1.313, allocations: 0 / 1.359 GB, free: 14.25 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002623/1.315, allocations: 0.6548 MB / 1.36 GB, free: 13.62 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000392/1.316, allocations: 141.4 kB / 1.36 GB, free: 13.48 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001825/1.316, allocations: 83.97 kB / 1.36 GB, free: 13.4 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003145/1.319, allocations: 4.532 MB / 1.364 GB, free: 8.504 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/1.319, allocations: 4 kB / 1.364 GB, free: 8.5 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008638/1.328, allocations: 6.815 MB / 1.371 GB, free: 1.633 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001189/1.329, allocations: 0.7656 MB / 1.372 GB, free: 0.8477 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002934/1.329, allocations: 71.98 kB / 1.372 GB, free: 0.7773 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002002/1.331, allocations: 214.3 kB / 1.372 GB, free: 0.5703 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003606/1.331, allocations: 222.8 kB / 1.372 GB, free: 360 kB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000196/1.332, allocations: 112 kB / 1.372 GB, free: 248 kB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001013/1.333, allocations: 0.8606 MB / 1.373 GB, free: 15.38 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.2e-07/1.333, allocations: 0 / 1.373 GB, free: 15.38 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.00222/1.335, allocations: 1.092 MB / 1.374 GB, free: 14.29 MB / 1.045 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.009289/1.344, allocations: 7.628 MB / 1.382 GB, free: 6.648 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.005356/1.35, allocations: 4.038 MB / 1.386 GB, free: 2.645 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 5.069e-06/1.35, allocations: 4.812 kB / 1.386 GB, free: 2.641 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.003018/1.353, allocations: 2.554 MB / 1.388 GB, free: 124 kB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004562/1.357, allocations: 1.03 MB / 1.389 GB, free: 15.1 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03205/1.389, allocations: 26.35 MB / 1.415 GB, free: 3.609 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001395/1.391, allocations: 1.943 MB / 1.417 GB, free: 1.625 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.00311/1.394, allocations: 1.219 MB / 1.418 GB, free: 408 kB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001512/1.395, allocations: 1.095 MB / 1.419 GB, free: 15.3 MB / 1.092 GB Notification: Performance of SimCode: time 1.162e-06/1.395, allocations: 0 / 1.419 GB, free: 15.3 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.206/3.601, allocations: 63.29 MB / 1.481 GB, free: 0.8047 MB / 1.139 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002052/3.602, allocations: 219.5 kB / 1.481 GB, free: 0.543 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.374/6.975, allocations: 3.938 kB / 1.481 GB, free: 0.5391 MB / 1.139 GB (rm -f Buildings_10_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe ; mkfifo Buildings_10_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe ; head -c 1048576 < Buildings_10_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe >> ../files/Buildings_10_Buildings.Airflow.Multizone.Examples.ClosedDoors.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Airflow.Multizone.Examples.ClosedDoors_res.mat --tempDir=temp_Buildings_10_Buildings_Airflow_Multizone_Examples_ClosedDoors_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Airflow_Multizone_Examples_ClosedDoors.fmu > Buildings_10_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe 2>&1)