Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Airflow_Multizone_Examples_ClosedDoors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ClosedDoors,fileNamePrefix="Buildings_latest_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.00156/0.00156, 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.002083/0.002083, allocations: 194.7 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.653/1.653, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 8.444/8.444, allocations: 461.9 MB / 0.7346 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00146/0.001461, allocations: 74.89 kB / 0.8992 GB, free: 37.04 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4651/0.4665, allocations: 157.4 MB / 1.053 GB, free: 8.27 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ClosedDoors): time 1.548/2.014, allocations: 218.5 MB / 1.266 GB, free: 2.637 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.03769/2.052, allocations: 20.43 MB / 1.286 GB, free: 2.48 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005563/2.058, allocations: 58.69 kB / 1.286 GB, free: 2.48 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.005682/2.063, allocations: 1.249 MB / 1.288 GB, free: 2.457 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.02025/2.084, allocations: 4.085 MB / 1.291 GB, free: 2.281 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.007312/2.091, allocations: 1.529 MB / 1.293 GB, free: 2.254 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01678/2.108, allocations: 6.965 MB / 1.3 GB, free: 2.234 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007501/2.115, allocations: 2.354 MB / 1.302 GB, free: 2.047 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01029/2.126, allocations: 2.36 MB / 1.304 GB, free: 2.047 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009766/2.136, allocations: 2.456 MB / 1.307 GB, free: 1.988 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.003059/2.139, allocations: 342.7 kB / 1.307 GB, free: 1.988 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01606/2.155, allocations: 3.467 MB / 1.311 GB, free: 1.953 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.004727/2.16, allocations: 1.448 MB / 1.312 GB, free: 1.832 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0105/2.17, allocations: 1.867 MB / 1.314 GB, free: 1.379 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.02351/2.194, allocations: 5.721 MB / 1.319 GB, free: 0.7109 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 1.427e-05/2.194, allocations: 0.8438 kB / 1.319 GB, free: 0.7109 MB / 0.9981 GB Notification: Performance of FrontEnd: time 4.799e-06/2.194, allocations: 0 / 1.319 GB, free: 0.7109 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.000396/2.194, allocations: 0.875 kB / 1.319 GB, free: 0.7109 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.02047/2.215, allocations: 3.944 MB / 1.323 GB, free: 15.21 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 6.9e-05/2.215, allocations: 14.66 kB / 1.323 GB, free: 15.2 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002236/2.217, allocations: 387.4 kB / 1.324 GB, free: 15.15 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007203/2.224, allocations: 0.8289 MB / 1.324 GB, free: 14.97 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007274/2.232, allocations: 1.89 MB / 1.326 GB, free: 14.47 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003527/2.232, allocations: 204.3 kB / 1.326 GB, free: 14.46 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001868/2.234, allocations: 264.5 kB / 1.327 GB, free: 14.46 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0111/2.245, allocations: 3.275 MB / 1.33 GB, free: 14.33 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001088/2.245, allocations: 9.266 kB / 1.33 GB, free: 14.33 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004872/2.246, allocations: 114.7 kB / 1.33 GB, free: 14.32 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001706/2.246, allocations: 122.1 kB / 1.33 GB, free: 14.32 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009812/2.256, allocations: 4.62 MB / 1.335 GB, free: 14.28 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.02808/2.284, allocations: 10.99 MB / 1.345 GB, free: 10.3 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009252/2.293, allocations: 4.863 MB / 1.35 GB, free: 8.234 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006298/2.3, allocations: 2.519 MB / 1.353 GB, free: 6.992 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001788/2.301, allocations: 0.8648 MB / 1.353 GB, free: 6.09 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001361/2.302, allocations: 78.38 kB / 1.353 GB, free: 6.02 MB / 1.014 GB Notification: Performance of pre-optimization done (n=399): time 1.171e-05/2.302, allocations: 1.25 kB / 1.353 GB, free: 6.02 MB / 1.014 GB Notification: Performance of matching and sorting (n=399): time 0.01766/2.319, allocations: 6.019 MB / 1.359 GB, free: 2.938 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.748e-05/2.319, allocations: 96.36 kB / 1.359 GB, free: 2.871 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003315/2.323, allocations: 1.23 MB / 1.361 GB, free: 2.211 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.001098/2.324, allocations: 96.44 kB / 1.361 GB, free: 2.125 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009172/2.325, allocations: 0.8085 MB / 1.362 GB, free: 1.41 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.002651/2.327, allocations: 1.334 MB / 1.363 GB, free: 256 kB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002927/2.33, allocations: 0.5533 MB / 1.363 GB, free: 0 / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000193/2.331, allocations: 306.7 kB / 1.364 GB, free: 15.7 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004113/2.335, allocations: 1.601 MB / 1.365 GB, free: 14.9 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00459/2.339, allocations: 1.908 MB / 1.367 GB, free: 13.86 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009768/2.349, allocations: 3.835 MB / 1.371 GB, free: 11.85 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.509e-05/2.349, allocations: 0 / 1.371 GB, free: 11.85 MB / 1.029 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.0124/2.362, allocations: 4.198 MB / 1.375 GB, free: 8.109 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.068e-05/2.362, allocations: 8.031 kB / 1.375 GB, free: 8.102 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.552e-05/2.362, allocations: 4.781 kB / 1.375 GB, free: 8.098 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.419e-05/2.362, allocations: 16 kB / 1.375 GB, free: 8.082 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004284/2.366, allocations: 0.6879 MB / 1.376 GB, free: 7.434 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000133/2.366, allocations: 22.53 kB / 1.376 GB, free: 7.414 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0048/2.371, allocations: 241.3 kB / 1.376 GB, free: 7.176 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008183/2.372, allocations: 112 kB / 1.376 GB, free: 7.066 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.003494/2.375, allocations: 0.7326 MB / 1.377 GB, free: 6.363 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002315/2.378, allocations: 241.1 kB / 1.377 GB, free: 6.125 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0128/2.391, allocations: 4.636 MB / 1.381 GB, free: 1.449 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.085e-05/2.391, allocations: 40 kB / 1.382 GB, free: 1.41 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.669e-05/2.391, allocations: 0 / 1.382 GB, free: 1.41 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008569/2.399, allocations: 3.953 MB / 1.385 GB, free: 13.4 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02098/2.42, allocations: 8.277 MB / 1.393 GB, free: 5.141 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.303e-05/2.42, allocations: 11.94 kB / 1.393 GB, free: 5.129 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00382/2.424, allocations: 0.6581 MB / 1.394 GB, free: 4.508 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006395/2.425, allocations: 138.5 kB / 1.394 GB, free: 4.363 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008138/2.426, allocations: 83.97 kB / 1.394 GB, free: 4.281 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005178/2.431, allocations: 5.05 MB / 1.399 GB, free: 14.85 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/2.431, allocations: 0 / 1.399 GB, free: 14.85 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01831/2.449, allocations: 6.822 MB / 1.406 GB, free: 7.977 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00313/2.453, allocations: 0.7627 MB / 1.407 GB, free: 7.191 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001304/2.454, allocations: 72 kB / 1.407 GB, free: 7.121 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003774/2.458, allocations: 87.2 kB / 1.407 GB, free: 7.039 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009636/2.459, allocations: 222.8 kB / 1.407 GB, free: 6.82 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006099/2.459, allocations: 108 kB / 1.407 GB, free: 6.715 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.002238/2.462, allocations: 0.8645 MB / 1.408 GB, free: 5.848 MB / 1.061 GB Notification: Performance of sort global known variables: time 7.01e-07/2.462, allocations: 0 / 1.408 GB, free: 5.848 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.005692/2.467, allocations: 1.073 MB / 1.409 GB, free: 4.773 MB / 1.061 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.01544/2.483, allocations: 7.612 MB / 1.416 GB, free: 13.14 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.02622/2.509, allocations: 11.48 MB / 1.428 GB, free: 1.73 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 9.809e-06/2.509, allocations: 0 / 1.428 GB, free: 1.73 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.006019/2.515, allocations: 2.547 MB / 1.43 GB, free: 15.22 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007818/2.523, allocations: 1.076 MB / 1.431 GB, free: 14.17 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06111/2.584, allocations: 24.97 MB / 1.456 GB, free: 4 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01188/2.596, allocations: 1.939 MB / 1.457 GB, free: 2.02 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.006382/2.602, allocations: 1.227 MB / 1.459 GB, free: 0.7852 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01001/2.613, allocations: 1.096 MB / 1.46 GB, free: 15.72 MB / 1.123 GB Notification: Performance of SimCode: time 2.936e-06/2.613, allocations: 0 / 1.46 GB, free: 15.72 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3138/2.926, allocations: 66.15 MB / 1.524 GB, free: 14.29 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.45/15.38, allocations: 2.531 kB / 1.524 GB, free: 14.29 MB / 1.186 GB (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.ClosedDoors.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Airflow.Multizone.Examples.ClosedDoors_res.mat --tempDir=temp_Buildings_latest_Buildings_Airflow_Multizone_Examples_ClosedDoors_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Airflow_Multizone_Examples_ClosedDoors.fmu > Buildings_latest_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe 2>&1)