Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Airflow.Multizone.Examples.OneOpenDoor.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.OneOpenDoor,fileNamePrefix="Buildings_10_Buildings_Airflow_Multizone_Examples_OneOpenDoor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.OneOpenDoor,fileNamePrefix="Buildings_10_Buildings_Airflow_Multizone_Examples_OneOpenDoor",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.0008618/0.0008618, allocations: 89.89 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.00491/0.00491, allocations: 171.2 kB / 16.26 MB, free: 6.613 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.206/1.206, allocations: 223.3 MB / 240.3 MB, free: 5.34 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.307/2.307, allocations: 437.8 MB / 0.7121 GB, free: 6.945 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0002887/0.0002888, allocations: 8 kB / 0.8729 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5008/0.5011, allocations: 153.8 MB / 1.023 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.OneOpenDoor): time 0.1434/0.6446, allocations: 162.4 MB / 1.182 GB, free: 12.81 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.01017/0.6548, allocations: 8.463 MB / 1.19 GB, free: 4.324 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00114/0.6559, allocations: 31.81 kB / 1.19 GB, free: 4.293 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001293/0.6572, allocations: 493.4 kB / 1.19 GB, free: 3.809 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.003206/0.6605, allocations: 1.439 MB / 1.192 GB, free: 2.363 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001962/0.6624, allocations: 0.903 MB / 1.193 GB, free: 1.465 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.004701/0.6672, allocations: 5.4 MB / 1.198 GB, free: 12.05 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001463/0.6686, allocations: 1.064 MB / 1.199 GB, free: 10.97 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001953/0.6706, allocations: 1.265 MB / 1.2 GB, free: 9.699 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001573/0.6722, allocations: 1.503 MB / 1.202 GB, free: 8.191 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001559/0.6723, allocations: 88 kB / 1.202 GB, free: 8.105 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001774/0.6741, allocations: 1.037 MB / 1.203 GB, free: 7.066 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0004579/0.6746, allocations: 0.5685 MB / 1.203 GB, free: 6.496 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0007735/0.6754, allocations: 0.9425 MB / 1.204 GB, free: 5.543 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.002099/0.6775, allocations: 2.628 MB / 1.207 GB, free: 2.906 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.6775, allocations: 0 / 1.207 GB, free: 2.906 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.453e-06/0.6775, allocations: 0 / 1.207 GB, free: 2.906 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.556e-05/0.6775, allocations: 0 / 1.207 GB, free: 2.906 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 385 * Number of variables: 385 Notification: Performance of Generate backend data structure: time 0.003492/0.681, allocations: 2.009 MB / 1.209 GB, free: 0.8398 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.4e-05/0.6811, allocations: 8.031 kB / 1.209 GB, free: 0.832 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002296/0.6813, allocations: 223.9 kB / 1.209 GB, free: 0.6016 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003662/0.6817, allocations: 198.7 kB / 1.209 GB, free: 416 kB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001569/0.6832, allocations: 1.173 MB / 1.21 GB, free: 15.19 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.769e-05/0.6833, allocations: 111 kB / 1.211 GB, free: 15.08 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002047/0.6835, allocations: 159.8 kB / 1.211 GB, free: 14.92 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002646/0.6862, allocations: 1.923 MB / 1.213 GB, free: 12.96 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.067e-05/0.6862, allocations: 0 / 1.213 GB, free: 12.96 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001332/0.6864, allocations: 68 kB / 1.213 GB, free: 12.89 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.58e-05/0.6864, allocations: 36 kB / 1.213 GB, free: 12.86 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003443/0.6898, allocations: 2.498 MB / 1.215 GB, free: 10.35 MB / 0.9669 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.00663/0.6965, allocations: 6.104 MB / 1.221 GB, free: 3.871 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003239/0.6997, allocations: 2.813 MB / 1.224 GB, free: 1.051 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00184/0.7016, allocations: 1.425 MB / 1.225 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001377/0.703, allocations: 1.738 MB / 1.227 GB, free: 13.52 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.688e-05/0.703, allocations: 60.56 kB / 1.227 GB, free: 13.45 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=237): time 3.326e-06/0.703, allocations: 0 / 1.227 GB, free: 13.45 MB / 0.9825 GB Notification: Performance of matching and sorting (n=237): time 0.004898/0.7079, allocations: 3.461 MB / 1.23 GB, free: 9.945 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.122e-05/0.708, allocations: 77.41 kB / 1.23 GB, free: 9.859 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008246/0.7088, allocations: 0.7703 MB / 1.231 GB, free: 9.078 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0001093/0.7089, allocations: 65.7 kB / 1.231 GB, free: 9.008 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002787/0.7092, allocations: 482.2 kB / 1.232 GB, free: 8.527 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.000502/0.7097, allocations: 0.7931 MB / 1.232 GB, free: 7.723 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001946/0.7099, allocations: 165.7 kB / 1.233 GB, free: 7.555 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 7.234e-05/0.71, allocations: 301.1 kB / 1.233 GB, free: 7.258 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001328/0.7113, allocations: 0.9058 MB / 1.234 GB, free: 6.348 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00145/0.7128, allocations: 1.132 MB / 1.235 GB, free: 5.156 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003029/0.7158, allocations: 2.239 MB / 1.237 GB, free: 2.871 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.7159, allocations: 0 / 1.237 GB, free: 2.871 MB / 0.9825 GB Notification: Performance of matching and sorting (n=261) (initialization): time 0.003402/0.7193, allocations: 2.46 MB / 1.239 GB, free: 412 kB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.7193, allocations: 8 kB / 1.24 GB, free: 404 kB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.508e-06/0.7193, allocations: 4 kB / 1.24 GB, free: 400 kB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.017e-05/0.7193, allocations: 12 kB / 1.24 GB, free: 388 kB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001521/0.7209, allocations: 431.4 kB / 1.24 GB, free: 15.96 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.145e-05/0.7209, allocations: 19.92 kB / 1.24 GB, free: 15.94 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001049/0.7219, allocations: 210.3 kB / 1.24 GB, free: 15.73 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001227/0.7221, allocations: 71.98 kB / 1.24 GB, free: 15.66 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (261): * Single equations (assignments): 261 * 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.0005492/0.7226, allocations: 443.1 kB / 1.241 GB, free: 15.22 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001991/0.7228, allocations: 150.2 kB / 1.241 GB, free: 15.07 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004107/0.7269, allocations: 2.737 MB / 1.243 GB, free: 12.31 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.057e-05/0.727, allocations: 27.98 kB / 1.243 GB, free: 12.29 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/0.727, allocations: 0 / 1.243 GB, free: 12.29 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003068/0.7301, allocations: 2.401 MB / 1.246 GB, free: 9.828 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005396/0.7355, allocations: 4.302 MB / 1.25 GB, free: 5.457 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.582e-06/0.7355, allocations: 4 kB / 1.25 GB, free: 5.453 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001508/0.737, allocations: 403.5 kB / 1.25 GB, free: 5.059 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004839/0.7375, allocations: 105.6 kB / 1.251 GB, free: 4.949 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001065/0.7376, allocations: 51.98 kB / 1.251 GB, free: 4.898 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005854/0.7382, allocations: 1.12 MB / 1.252 GB, free: 3.727 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.7382, allocations: 0 / 1.252 GB, free: 3.727 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.407/1.145, allocations: 4.08 MB / 1.256 GB, free: 230.3 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001046/1.146, allocations: 491.6 kB / 1.256 GB, free: 230.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001909/1.147, allocations: 40.62 kB / 1.256 GB, free: 230.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001034/1.148, allocations: 111 kB / 1.256 GB, free: 230.2 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002657/1.148, allocations: 140 kB / 1.256 GB, free: 230.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001329/1.148, allocations: 70.02 kB / 1.256 GB, free: 230.2 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006611/1.149, allocations: 0.5342 MB / 1.257 GB, free: 230.2 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.01e-07/1.149, allocations: 0 / 1.257 GB, free: 230.2 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001322/1.15, allocations: 0.647 MB / 1.258 GB, free: 230.1 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 8 (dooOpe.mExcAB,dooOpe.mExcBA,volA.dynBal.U,volA.dynBal.m,volB.dynBal.U,volB.dynBal.m,dooOpeClo.mExcAB,dooOpeClo.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 (237): * Single equations (assignments): 235 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006428/1.156, allocations: 4.9 MB / 1.262 GB, free: 228 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003534/1.16, allocations: 2.331 MB / 1.265 GB, free: 227.3 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/1.16, allocations: 3.906 kB / 1.265 GB, free: 227.3 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002107/1.162, allocations: 1.286 MB / 1.266 GB, free: 226.9 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002411/1.165, allocations: 0.5506 MB / 1.266 GB, free: 226.7 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01735/1.182, allocations: 15.06 MB / 1.281 GB, free: 218.9 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006593/1.183, allocations: 1.339 MB / 1.282 GB, free: 218.2 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0018/1.184, allocations: 0.7258 MB / 1.283 GB, free: 218.1 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007316/1.185, allocations: 0.6233 MB / 1.284 GB, free: 217.6 MB / 0.9981 GB Notification: Performance of SimCode: time 5.41e-07/1.185, allocations: 0 / 1.284 GB, free: 217.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04145/1.227, allocations: 37.36 MB / 1.32 GB, free: 183.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001201/1.227, allocations: 228.2 kB / 1.321 GB, free: 183.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.656/3.883, allocations: 4 kB / 1.321 GB, free: 183.4 MB / 0.9981 GB (rm -f Buildings_10_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe ; mkfifo Buildings_10_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe ; head -c 1048576 < Buildings_10_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe >> ../files/Buildings_10_Buildings.Airflow.Multizone.Examples.OneOpenDoor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Airflow.Multizone.Examples.OneOpenDoor_res.mat --tempDir=temp_Buildings_10_Buildings_Airflow_Multizone_Examples_OneOpenDoor_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Airflow_Multizone_Examples_OneOpenDoor.fmu > Buildings_10_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe 2>&1)