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.001169/0.001169, allocations: 108 kB / 15.61 MB, free: 152 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.001196/0.001196, allocations: 196.7 kB / 16.53 MB, free: 6.664 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.175/1.175, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.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.037/2.037, allocations: 390.2 MB / 0.6647 GB, free: 264 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001327/0.001327, allocations: 55.91 kB / 0.8126 GB, free: 14.2 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4742/0.4755, allocations: 140.4 MB / 0.9497 GB, free: 9.18 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ClosedDoors): time 0.1857/0.6612, allocations: 218.5 MB / 1.163 GB, free: 6.512 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.02112/0.6824, allocations: 20.41 MB / 1.183 GB, free: 2.043 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001076/0.6835, allocations: 63.62 kB / 1.183 GB, free: 1.98 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.002082/0.6856, allocations: 1.255 MB / 1.184 GB, free: 0.7188 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.006662/0.6923, allocations: 4.086 MB / 1.188 GB, free: 12.62 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.00265/0.695, allocations: 1.537 MB / 1.19 GB, free: 11.08 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.005394/0.7004, allocations: 6.964 MB / 1.197 GB, free: 4.098 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002117/0.7025, allocations: 2.356 MB / 1.199 GB, free: 1.691 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002319/0.7048, allocations: 2.356 MB / 1.201 GB, free: 15.33 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002731/0.7076, allocations: 2.462 MB / 1.204 GB, free: 12.87 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0004113/0.708, allocations: 344 kB / 1.204 GB, free: 12.53 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004969/0.713, allocations: 3.465 MB / 1.207 GB, free: 9.059 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.001076/0.714, allocations: 1.45 MB / 1.209 GB, free: 7.605 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.00155/0.7156, allocations: 1.863 MB / 1.211 GB, free: 5.734 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0051/0.7207, allocations: 5.722 MB / 1.216 GB, free: 15.99 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.7207, allocations: 3.984 kB / 1.216 GB, free: 15.99 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.032e-06/0.7207, allocations: 0 / 1.216 GB, free: 15.99 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 2.595e-05/0.7208, allocations: 4 kB / 1.216 GB, free: 15.98 MB / 0.9825 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.007249/0.728, allocations: 3.941 MB / 1.22 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.332e-05/0.7281, allocations: 16.02 kB / 1.22 GB, free: 11.97 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004018/0.7285, allocations: 387.8 kB / 1.22 GB, free: 11.58 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004062/0.7325, allocations: 0.8236 MB / 1.221 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002573/0.7351, allocations: 1.875 MB / 1.223 GB, free: 8.82 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000117/0.7352, allocations: 205.4 kB / 1.223 GB, free: 8.617 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003287/0.7356, allocations: 271.9 kB / 1.223 GB, free: 8.352 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004273/0.7399, allocations: 3.279 MB / 1.227 GB, free: 5.031 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.551e-05/0.7399, allocations: 3.906 kB / 1.227 GB, free: 5.027 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002355/0.7402, allocations: 115.9 kB / 1.227 GB, free: 4.914 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.766e-05/0.7403, allocations: 129.4 kB / 1.227 GB, free: 4.785 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005926/0.7462, allocations: 4.619 MB / 1.231 GB, free: 156 kB / 0.9825 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.01248/0.7587, allocations: 10.98 MB / 1.242 GB, free: 4.488 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3534/1.112, allocations: 4.864 MB / 1.247 GB, free: 281.3 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003688/1.116, allocations: 2.519 MB / 1.249 GB, free: 280.9 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008219/1.117, allocations: 0.8653 MB / 1.25 GB, free: 280 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.91e-05/1.117, allocations: 77.34 kB / 1.25 GB, free: 280 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=399): time 5.05e-06/1.117, allocations: 0 / 1.25 GB, free: 280 MB / 0.9981 GB Notification: Performance of matching and sorting (n=399): time 0.009004/1.126, allocations: 6.016 MB / 1.256 GB, free: 277.7 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.168e-05/1.126, allocations: 92.3 kB / 1.256 GB, free: 277.6 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001545/1.127, allocations: 1.24 MB / 1.257 GB, free: 277.2 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001619/1.128, allocations: 93.36 kB / 1.258 GB, free: 277.1 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003435/1.128, allocations: 0.8142 MB / 1.258 GB, free: 276.6 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006147/1.129, allocations: 1.327 MB / 1.26 GB, free: 275.5 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000665/1.129, allocations: 0.552 MB / 1.26 GB, free: 275.3 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 2.961e-05/1.129, allocations: 303.1 kB / 1.26 GB, free: 275 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001969/1.131, allocations: 1.604 MB / 1.262 GB, free: 274.4 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002155/1.133, allocations: 1.909 MB / 1.264 GB, free: 273.7 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004574/1.138, allocations: 3.836 MB / 1.268 GB, free: 272 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.773e-06/1.138, allocations: 1.438 kB / 1.268 GB, free: 272 MB / 0.9981 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.005272/1.143, allocations: 4.19 MB / 1.272 GB, free: 269.9 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.861e-05/1.143, allocations: 6.5 kB / 1.272 GB, free: 269.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.323e-05/1.143, allocations: 3.969 kB / 1.272 GB, free: 269.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.787e-05/1.143, allocations: 19.91 kB / 1.272 GB, free: 269.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002493/1.146, allocations: 0.6822 MB / 1.272 GB, free: 269.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.564e-05/1.146, allocations: 21.12 kB / 1.272 GB, free: 269.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00189/1.148, allocations: 243.5 kB / 1.273 GB, free: 269.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001844/1.148, allocations: 111.6 kB / 1.273 GB, free: 269.6 MB / 0.9981 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.0009176/1.149, allocations: 0.7321 MB / 1.274 GB, free: 269.1 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003538/1.149, allocations: 240.5 kB / 1.274 GB, free: 269 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005591/1.155, allocations: 4.637 MB / 1.278 GB, free: 266.4 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-05/1.155, allocations: 39.5 kB / 1.278 GB, free: 266.4 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.085e-05/1.155, allocations: 1.688 kB / 1.278 GB, free: 266.4 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004199/1.159, allocations: 3.954 MB / 1.282 GB, free: 264.4 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008393/1.167, allocations: 8.286 MB / 1.29 GB, free: 259.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.595e-06/1.167, allocations: 0 / 1.29 GB, free: 259.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002338/1.17, allocations: 0.6592 MB / 1.291 GB, free: 258.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003489/1.17, allocations: 141.4 kB / 1.291 GB, free: 258.7 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001595/1.17, allocations: 83.97 kB / 1.291 GB, free: 258.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00221/1.173, allocations: 5.038 MB / 1.296 GB, free: 253.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/1.173, allocations: 1.094 kB / 1.296 GB, free: 253.2 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006855/1.179, allocations: 6.81 MB / 1.303 GB, free: 246.4 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008592/1.18, allocations: 0.7628 MB / 1.303 GB, free: 245.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000302/1.181, allocations: 70.78 kB / 1.304 GB, free: 245.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001586/1.182, allocations: 86.11 kB / 1.304 GB, free: 245.4 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003172/1.183, allocations: 222.8 kB / 1.304 GB, free: 245.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001689/1.183, allocations: 112 kB / 1.304 GB, free: 245.1 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0007522/1.183, allocations: 0.8681 MB / 1.305 GB, free: 244.2 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1e-07/1.183, allocations: 0 / 1.305 GB, free: 244.2 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001553/1.185, allocations: 1.079 MB / 1.306 GB, free: 243.2 MB / 0.9981 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.007275/1.192, allocations: 7.595 MB / 1.313 GB, free: 235.5 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01645/1.209, allocations: 11.49 MB / 1.324 GB, free: 224.1 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/1.209, allocations: 3.156 kB / 1.324 GB, free: 224.1 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002315/1.211, allocations: 2.552 MB / 1.327 GB, free: 221.5 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003556/1.215, allocations: 1.076 MB / 1.328 GB, free: 220.5 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02205/1.237, allocations: 24.96 MB / 1.352 GB, free: 194.4 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009573/1.238, allocations: 1.935 MB / 1.354 GB, free: 192.5 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002578/1.24, allocations: 1.227 MB / 1.355 GB, free: 191.2 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001199/1.242, allocations: 1.093 MB / 1.357 GB, free: 190.1 MB / 0.9981 GB Notification: Performance of SimCode: time 5.41e-07/1.242, allocations: 0 / 1.357 GB, free: 190.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9599/2.201, allocations: 66.14 MB / 1.421 GB, free: 124.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.76/16.96, allocations: 4 kB / 1.421 GB, free: 124.7 MB / 0.9981 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)