Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.OneOpenDoor,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_Examples_OneOpenDoor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.OneOpenDoor,fileNamePrefix="Buildings_9_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.006693/0.006693, allocations: 98.97 kB / 15.73 MB, free: 6.055 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.001628/0.001628, allocations: 199.2 kB / 16.68 MB, free: 5.984 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.275/1.275, allocations: 222.9 MB / 240.4 MB, free: 4.305 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.177/2.177, allocations: 390.2 MB / 0.6648 GB, free: 212 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001076/0.001076, allocations: 70.48 kB / 0.9504 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2073/0.2084, allocations: 140.4 MB / 1.087 GB, free: 1.98 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.OneOpenDoor): time 0.1393/0.3477, allocations: 166.9 MB / 1.25 GB, free: 10.43 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01003/0.3578, allocations: 8.499 MB / 1.259 GB, free: 1.91 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009275/0.3587, allocations: 39.75 kB / 1.259 GB, free: 1.871 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001192/0.3599, allocations: 0.5667 MB / 1.259 GB, free: 1.301 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.4839/0.8439, allocations: 1.533 MB / 1.261 GB, free: 4.371 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.002448/0.8464, allocations: 0.9984 MB / 1.262 GB, free: 4.367 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.004194/0.8506, allocations: 4.099 MB / 1.266 GB, free: 4.359 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001443/0.852, allocations: 1.311 MB / 1.267 GB, free: 4.273 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002667/0.8547, allocations: 1.503 MB / 1.269 GB, free: 4.273 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001838/0.8566, allocations: 1.506 MB / 1.27 GB, free: 4.273 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0003054/0.8569, allocations: 187.4 kB / 1.27 GB, free: 4.273 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002365/0.8592, allocations: 1.105 MB / 1.271 GB, free: 4.273 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0007122/0.86, allocations: 0.6681 MB / 1.272 GB, free: 4.273 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001179/0.8611, allocations: 1.03 MB / 1.273 GB, free: 4.273 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.00302/0.8642, allocations: 2.759 MB / 1.276 GB, free: 4.125 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.8642, allocations: 1.219 kB / 1.276 GB, free: 4.125 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.463e-06/0.8642, allocations: 0.875 kB / 1.276 GB, free: 4.125 MB / 1.014 GB Notification: Performance of Transformations before backend: time 2.089e-05/0.8642, allocations: 0 / 1.276 GB, free: 4.125 MB / 1.014 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.004248/0.8685, allocations: 2.267 MB / 1.278 GB, free: 3.145 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.039e-05/0.8685, allocations: 10.62 kB / 1.278 GB, free: 3.145 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002704/0.8688, allocations: 226 kB / 1.278 GB, free: 3.098 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004975/0.8693, allocations: 193.1 kB / 1.278 GB, free: 3.008 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001938/0.8712, allocations: 1.182 MB / 1.279 GB, free: 2.637 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.323e-05/0.8713, allocations: 114.5 kB / 1.28 GB, free: 2.633 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002207/0.8716, allocations: 151.7 kB / 1.28 GB, free: 2.629 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002929/0.8745, allocations: 1.921 MB / 1.282 GB, free: 2.488 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.663e-05/0.8745, allocations: 1.781 kB / 1.282 GB, free: 2.488 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001439/0.8747, allocations: 64.22 kB / 1.282 GB, free: 2.488 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.995e-05/0.8747, allocations: 36.25 kB / 1.282 GB, free: 2.488 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003686/0.8784, allocations: 2.479 MB / 1.284 GB, free: 2.473 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.007697/0.8861, allocations: 6.112 MB / 1.29 GB, free: 16.05 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003168/0.8893, allocations: 2.802 MB / 1.293 GB, free: 15.95 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001873/0.8912, allocations: 1.426 MB / 1.294 GB, free: 15.92 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001426/0.8926, allocations: 1.734 MB / 1.296 GB, free: 14.04 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.726e-05/0.8927, allocations: 56.62 kB / 1.296 GB, free: 14 MB / 1.029 GB Notification: Performance of pre-optimization done (n=237): time 3.767e-06/0.8927, allocations: 3.281 kB / 1.296 GB, free: 14 MB / 1.029 GB Notification: Performance of matching and sorting (n=237): time 0.005046/0.8978, allocations: 3.436 MB / 1.299 GB, free: 13.64 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.43e-05/0.8978, allocations: 76.47 kB / 1.299 GB, free: 13.57 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008914/0.8987, allocations: 0.7776 MB / 1.3 GB, free: 13.44 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0001217/0.8988, allocations: 66.2 kB / 1.3 GB, free: 13.41 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002479/0.8991, allocations: 495.2 kB / 1.301 GB, free: 13.19 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004524/0.8996, allocations: 0.7817 MB / 1.301 GB, free: 12.68 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004481/0.9, allocations: 352.6 kB / 1.302 GB, free: 12.65 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 7.77e-05/0.9001, allocations: 302.4 kB / 1.302 GB, free: 12.35 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001415/0.9015, allocations: 0.8996 MB / 1.303 GB, free: 12.34 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00148/0.903, allocations: 1.13 MB / 1.304 GB, free: 12.18 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002869/0.9059, allocations: 2.221 MB / 1.306 GB, free: 12.03 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.811e-06/0.9059, allocations: 5.031 kB / 1.306 GB, free: 12.02 MB / 1.029 GB Notification: Performance of matching and sorting (n=261) (initialization): time 0.003529/0.9094, allocations: 2.434 MB / 1.309 GB, free: 11.88 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.9095, allocations: 5.281 kB / 1.309 GB, free: 11.88 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.16e-05/0.9095, allocations: 7.312 kB / 1.309 GB, free: 11.87 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.223e-05/0.9095, allocations: 13.84 kB / 1.309 GB, free: 11.87 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001477/0.911, allocations: 443.2 kB / 1.309 GB, free: 11.87 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.754e-05/0.911, allocations: 13.59 kB / 1.309 GB, free: 11.87 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001038/0.9121, allocations: 156 kB / 1.309 GB, free: 11.79 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001306/0.9122, allocations: 74.55 kB / 1.309 GB, free: 11.79 MB / 1.029 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.0006068/0.9128, allocations: 444.3 kB / 1.31 GB, free: 11.67 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002517/0.9131, allocations: 139.4 kB / 1.31 GB, free: 11.6 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00387/0.9169, allocations: 2.728 MB / 1.312 GB, free: 11.43 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.497e-05/0.917, allocations: 26.47 kB / 1.313 GB, free: 11.43 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.917, allocations: 3.094 kB / 1.313 GB, free: 11.43 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002857/0.9198, allocations: 2.384 MB / 1.315 GB, free: 11.12 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005138/0.925, allocations: 4.299 MB / 1.319 GB, free: 10.67 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.723e-06/0.925, allocations: 1 kB / 1.319 GB, free: 10.67 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001446/0.9265, allocations: 409 kB / 1.319 GB, free: 10.67 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004772/0.927, allocations: 99.55 kB / 1.32 GB, free: 10.65 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001134/0.9271, allocations: 52.16 kB / 1.32 GB, free: 10.65 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005947/0.9277, allocations: 1.117 MB / 1.321 GB, free: 9.613 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.9277, allocations: 2.781 kB / 1.321 GB, free: 9.613 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005083/0.9328, allocations: 4.064 MB / 1.325 GB, free: 8.477 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008453/0.9336, allocations: 481.7 kB / 1.325 GB, free: 8.184 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001952/0.9338, allocations: 45.56 kB / 1.325 GB, free: 8.148 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008306/0.9347, allocations: 50.02 kB / 1.325 GB, free: 8.121 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002245/0.9349, allocations: 144.3 kB / 1.325 GB, free: 8.098 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001305/0.935, allocations: 72.62 kB / 1.325 GB, free: 8.082 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.000596/0.9357, allocations: 0.5441 MB / 1.326 GB, free: 7.848 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9357, allocations: 0 / 1.326 GB, free: 7.848 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001354/0.937, allocations: 0.6479 MB / 1.327 GB, free: 7.711 MB / 1.029 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.005929/0.943, allocations: 4.898 MB / 1.331 GB, free: 5.5 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.00305/0.946, allocations: 2.328 MB / 1.334 GB, free: 4.801 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.946, allocations: 0.6875 kB / 1.334 GB, free: 4.801 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001611/0.9476, allocations: 1.278 MB / 1.335 GB, free: 4.434 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002265/0.9499, allocations: 0.5718 MB / 1.335 GB, free: 4.242 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01701/0.9669, allocations: 13.62 MB / 1.349 GB, free: 14.16 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008351/0.9678, allocations: 1.333 MB / 1.35 GB, free: 13.39 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.001827/0.9697, allocations: 0.7214 MB / 1.351 GB, free: 13.28 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009104/0.9706, allocations: 0.629 MB / 1.351 GB, free: 12.83 MB / 1.045 GB Notification: Performance of SimCode: time 9.91e-07/0.9706, allocations: 0 / 1.351 GB, free: 12.83 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.504/2.475, allocations: 39.81 MB / 1.39 GB, free: 8.93 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.51/15.98, allocations: 16.52 kB / 1.39 GB, free: 8.914 MB / 1.076 GB (rm -f Buildings_9_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Examples.OneOpenDoor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Airflow.Multizone.Examples.OneOpenDoor_res.mat --tempDir=temp_Buildings_9_Buildings_Airflow_Multizone_Examples_OneOpenDoor_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Airflow_Multizone_Examples_OneOpenDoor.fmu > Buildings_9_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe 2>&1)