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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001093/0.001093, 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.00115/0.00115, allocations: 198.3 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.222/1.222, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.33/2.33, allocations: 437 MB / 0.7104 GB, free: 5.098 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 67.91 kB / 0.8693 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5079/0.5091, allocations: 151.6 MB / 1.017 GB, free: 2.484 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ClosedDoors): time 0.1945/0.7037, allocations: 218.5 MB / 1.231 GB, free: 7.121 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.02291/0.7266, allocations: 20.42 MB / 1.251 GB, free: 2.637 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002023/0.7287, allocations: 55.75 kB / 1.251 GB, free: 2.582 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002875/0.7316, allocations: 1.247 MB / 1.252 GB, free: 1.328 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.4831/1.215, allocations: 4.071 MB / 1.256 GB, free: 3.672 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0033/1.218, allocations: 1.53 MB / 1.257 GB, free: 3.672 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.007667/1.226, allocations: 6.957 MB / 1.264 GB, free: 3.66 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003425/1.229, allocations: 2.362 MB / 1.267 GB, free: 3.461 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004128/1.233, allocations: 2.36 MB / 1.269 GB, free: 3.457 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004711/1.238, allocations: 2.448 MB / 1.271 GB, free: 3.453 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.001189/1.239, allocations: 345 kB / 1.272 GB, free: 3.453 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00756/1.247, allocations: 3.466 MB / 1.275 GB, free: 3.422 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.002332/1.249, allocations: 1.452 MB / 1.276 GB, free: 3.422 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002944/1.252, allocations: 1.863 MB / 1.278 GB, free: 3.422 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.008168/1.26, allocations: 5.729 MB / 1.284 GB, free: 2.777 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/1.26, allocations: 3.812 kB / 1.284 GB, free: 2.777 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.343e-06/1.26, allocations: 0 / 1.284 GB, free: 2.777 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001266/1.26, allocations: 0 / 1.284 GB, free: 2.777 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.009148/1.27, allocations: 3.942 MB / 1.288 GB, free: 17.29 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.705e-05/1.27, allocations: 10.47 kB / 1.288 GB, free: 17.29 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004301/1.27, allocations: 384.3 kB / 1.288 GB, free: 17.23 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004395/1.275, allocations: 0.8246 MB / 1.289 GB, free: 17.07 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002776/1.277, allocations: 1.885 MB / 1.291 GB, free: 16.58 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.133e-05/1.277, allocations: 200.8 kB / 1.291 GB, free: 16.57 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003324/1.278, allocations: 269.7 kB / 1.291 GB, free: 16.57 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004273/1.282, allocations: 3.284 MB / 1.294 GB, free: 16.43 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.029e-05/1.282, allocations: 3.281 kB / 1.294 GB, free: 16.43 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002426/1.282, allocations: 119.8 kB / 1.294 GB, free: 16.43 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.777e-05/1.282, allocations: 122 kB / 1.295 GB, free: 16.42 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005515/1.288, allocations: 4.618 MB / 1.299 GB, free: 16.39 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.01273/1.301, allocations: 10.99 MB / 1.31 GB, free: 12.55 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004748/1.305, allocations: 4.866 MB / 1.315 GB, free: 12.26 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002786/1.308, allocations: 2.523 MB / 1.317 GB, free: 12.23 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000969/1.309, allocations: 0.8594 MB / 1.318 GB, free: 11.38 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.308e-05/1.309, allocations: 75.73 kB / 1.318 GB, free: 11.34 MB / 1.014 GB Notification: Performance of pre-optimization done (n=399): time 5.009e-06/1.309, allocations: 0.8438 kB / 1.318 GB, free: 11.34 MB / 1.014 GB Notification: Performance of matching and sorting (n=399): time 0.008259/1.318, allocations: 6.028 MB / 1.324 GB, free: 10.77 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.465e-05/1.318, allocations: 93.05 kB / 1.324 GB, free: 10.7 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001423/1.319, allocations: 1.234 MB / 1.325 GB, free: 10.55 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001979/1.319, allocations: 96.45 kB / 1.325 GB, free: 10.52 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.000439/1.32, allocations: 0.8106 MB / 1.326 GB, free: 10.19 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009256/1.321, allocations: 1.333 MB / 1.327 GB, free: 9.316 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007021/1.321, allocations: 0.5525 MB / 1.328 GB, free: 9.289 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 8.25e-05/1.321, allocations: 302 kB / 1.328 GB, free: 8.992 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001997/1.323, allocations: 1.601 MB / 1.33 GB, free: 8.984 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002216/1.326, allocations: 1.911 MB / 1.332 GB, free: 8.836 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004686/1.33, allocations: 3.834 MB / 1.335 GB, free: 8.055 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.086e-06/1.33, allocations: 0.9062 kB / 1.335 GB, free: 8.055 MB / 1.014 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.005652/1.336, allocations: 4.194 MB / 1.339 GB, free: 6.461 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.036e-05/1.336, allocations: 8.406 kB / 1.339 GB, free: 6.461 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.318e-05/1.336, allocations: 2.594 kB / 1.339 GB, free: 6.461 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.772e-05/1.336, allocations: 21.88 kB / 1.339 GB, free: 6.457 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002489/1.339, allocations: 0.6798 MB / 1.34 GB, free: 6.434 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.554e-05/1.339, allocations: 21.97 kB / 1.34 GB, free: 6.434 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00213/1.341, allocations: 238.3 kB / 1.34 GB, free: 6.25 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001966/1.341, allocations: 117.6 kB / 1.34 GB, free: 6.223 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.001105/1.342, allocations: 0.725 MB / 1.341 GB, free: 5.852 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004036/1.343, allocations: 238.9 kB / 1.341 GB, free: 5.73 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006278/1.349, allocations: 4.64 MB / 1.346 GB, free: 3.848 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.17e-05/1.349, allocations: 40.34 kB / 1.346 GB, free: 3.848 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.349e-05/1.349, allocations: 3.938 kB / 1.346 GB, free: 3.844 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005029/1.354, allocations: 3.954 MB / 1.35 GB, free: 2.145 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01105/1.365, allocations: 8.274 MB / 1.358 GB, free: 10.46 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.879e-06/1.365, allocations: 4.719 kB / 1.358 GB, free: 10.46 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002679/1.368, allocations: 0.6598 MB / 1.359 GB, free: 9.84 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004074/1.368, allocations: 137.4 kB / 1.359 GB, free: 9.699 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001883/1.368, allocations: 85 kB / 1.359 GB, free: 9.617 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003303/1.372, allocations: 5.046 MB / 1.364 GB, free: 4.203 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/1.372, allocations: 0.75 kB / 1.364 GB, free: 4.203 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009095/1.381, allocations: 6.814 MB / 1.37 GB, free: 13.34 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001333/1.382, allocations: 0.7628 MB / 1.371 GB, free: 12.55 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004079/1.382, allocations: 68 kB / 1.371 GB, free: 12.49 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001876/1.384, allocations: 94.27 kB / 1.371 GB, free: 12.4 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003909/1.385, allocations: 226.7 kB / 1.372 GB, free: 12.18 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002209/1.385, allocations: 112 kB / 1.372 GB, free: 12.07 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.001144/1.386, allocations: 0.8615 MB / 1.372 GB, free: 11.21 MB / 1.045 GB Notification: Performance of sort global known variables: time 2.3e-07/1.386, allocations: 3.938 kB / 1.372 GB, free: 11.21 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.002284/1.388, allocations: 1.073 MB / 1.374 GB, free: 10.13 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.009851/1.398, allocations: 7.609 MB / 1.381 GB, free: 2.516 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.02033/1.419, allocations: 11.48 MB / 1.392 GB, free: 7.109 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/1.419, allocations: 0 / 1.392 GB, free: 7.109 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.003164/1.422, allocations: 2.557 MB / 1.395 GB, free: 4.59 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004501/1.426, allocations: 1.072 MB / 1.396 GB, free: 3.547 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03099/1.457, allocations: 24.97 MB / 1.42 GB, free: 9.434 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001637/1.459, allocations: 1.939 MB / 1.422 GB, free: 7.453 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.003421/1.462, allocations: 1.219 MB / 1.423 GB, free: 6.227 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001638/1.464, allocations: 1.092 MB / 1.424 GB, free: 5.141 MB / 1.092 GB Notification: Performance of SimCode: time 6.51e-07/1.464, allocations: 0 / 1.424 GB, free: 5.141 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.502/6.966, allocations: 66.15 MB / 1.489 GB, free: 3.773 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.32/23.29, allocations: 11.77 kB / 1.489 GB, free: 3.766 MB / 1.154 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)