Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.OneOpenDoor,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Examples_OneOpenDoor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.OneOpenDoor,fileNamePrefix="Buildings_latest_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.004989/0.004989, allocations: 96.39 kB / 15.73 MB, free: 6.039 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.001303/0.001303, allocations: 198.7 kB / 16.68 MB, free: 5.969 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.308/1.308, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.642/2.642, allocations: 482.6 MB / 0.755 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001893/0.001893, allocations: 63.89 kB / 1.083 GB, free: 12.28 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2779/0.2798, allocations: 162.3 MB / 1.242 GB, free: 9.883 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.OneOpenDoor): time 0.6727/0.9526, allocations: 167 MB / 1.405 GB, free: 8.938 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.01226/0.9649, allocations: 8.492 MB / 1.413 GB, free: 1.996 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001375/0.9663, allocations: 40.72 kB / 1.413 GB, free: 1.98 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.001433/0.9678, allocations: 0.5738 MB / 1.414 GB, free: 1.484 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.003721/0.9715, allocations: 1.534 MB / 1.415 GB, free: 260 kB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.002366/0.9739, allocations: 0.9948 MB / 1.416 GB, free: 15.48 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.004554/0.9784, allocations: 4.113 MB / 1.42 GB, free: 13.06 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001628/0.9801, allocations: 1.318 MB / 1.422 GB, free: 12.21 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003158/0.9832, allocations: 1.579 MB / 1.423 GB, free: 11.31 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002069/0.9853, allocations: 1.5 MB / 1.425 GB, free: 10.43 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.000246/0.9856, allocations: 188 kB / 1.425 GB, free: 10.43 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002123/0.9877, allocations: 1.09 MB / 1.426 GB, free: 9.977 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0005495/0.9883, allocations: 0.6352 MB / 1.426 GB, free: 9.523 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.001046/0.9893, allocations: 1.015 MB / 1.427 GB, free: 8.867 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.003235/0.9926, allocations: 2.741 MB / 1.43 GB, free: 6.492 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 6.682e-06/0.9926, allocations: 3.984 kB / 1.43 GB, free: 6.488 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.112e-06/0.9926, allocations: 3.938 kB / 1.43 GB, free: 6.484 MB / 1.123 GB Notification: Performance of Transformations before backend: time 2.267e-05/0.9926, allocations: 0 / 1.43 GB, free: 6.484 MB / 1.123 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 427 * Number of variables: 427 Notification: Performance of Generate backend data structure: time 0.004231/0.9969, allocations: 2.239 MB / 1.432 GB, free: 4.188 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.341e-05/0.9969, allocations: 12.03 kB / 1.432 GB, free: 4.176 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002943/0.9972, allocations: 237 kB / 1.433 GB, free: 3.934 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004669/0.9977, allocations: 203.7 kB / 1.433 GB, free: 3.734 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00178/0.9995, allocations: 1.123 MB / 1.434 GB, free: 2.57 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.915e-05/0.9996, allocations: 115.1 kB / 1.434 GB, free: 2.457 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002185/0.9998, allocations: 152 kB / 1.434 GB, free: 2.309 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003134/1.003, allocations: 2.075 MB / 1.436 GB, free: 200 kB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.884e-05/1.003, allocations: 11.94 kB / 1.436 GB, free: 188 kB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001454/1.003, allocations: 63.98 kB / 1.436 GB, free: 124 kB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.79e-05/1.003, allocations: 93.53 kB / 1.436 GB, free: 32 kB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004131/1.007, allocations: 2.741 MB / 1.439 GB, free: 13.29 MB / 1.139 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.008389/1.016, allocations: 6.503 MB / 1.445 GB, free: 6.387 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00367/1.019, allocations: 2.799 MB / 1.448 GB, free: 3.59 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002073/1.022, allocations: 1.425 MB / 1.449 GB, free: 2.16 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0017/1.023, allocations: 1.742 MB / 1.451 GB, free: 48 kB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.835e-05/1.023, allocations: 56.61 kB / 1.451 GB, free: 15.98 MB / 1.154 GB Notification: Performance of pre-optimization done (n=237): time 4.007e-06/1.023, allocations: 3.938 kB / 1.451 GB, free: 15.98 MB / 1.154 GB Notification: Performance of matching and sorting (n=237): time 0.0055/1.029, allocations: 3.442 MB / 1.455 GB, free: 12.49 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.325e-05/1.029, allocations: 77.41 kB / 1.455 GB, free: 12.4 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009772/1.03, allocations: 0.8054 MB / 1.455 GB, free: 11.59 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0001146/1.03, allocations: 69.7 kB / 1.455 GB, free: 11.52 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004096/1.03, allocations: 0.5686 MB / 1.456 GB, free: 10.94 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006709/1.031, allocations: 0.8404 MB / 1.457 GB, free: 10.09 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005903/1.032, allocations: 412.7 kB / 1.457 GB, free: 9.68 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001708/1.032, allocations: 345.9 kB / 1.458 GB, free: 9.336 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001609/1.033, allocations: 1 MB / 1.459 GB, free: 8.332 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001802/1.035, allocations: 1.242 MB / 1.46 GB, free: 7.031 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003595/1.039, allocations: 2.388 MB / 1.462 GB, free: 4.566 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.039e-06/1.039, allocations: 0 / 1.462 GB, free: 4.566 MB / 1.154 GB Notification: Performance of matching and sorting (n=303) (initialization): time 0.004301/1.043, allocations: 2.705 MB / 1.465 GB, free: 1.816 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.28e-05/1.043, allocations: 12.41 kB / 1.465 GB, free: 1.805 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.169e-05/1.043, allocations: 4 kB / 1.465 GB, free: 1.801 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.212e-05/1.043, allocations: 19.94 kB / 1.465 GB, free: 1.781 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001855/1.045, allocations: 499.3 kB / 1.465 GB, free: 1.293 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.39e-05/1.045, allocations: 15.94 kB / 1.465 GB, free: 1.277 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001118/1.046, allocations: 202.4 kB / 1.465 GB, free: 1.078 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001534/1.046, allocations: 79.98 kB / 1.466 GB, free: 1 MB / 1.154 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 (303): * Single equations (assignments): 303 * 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.0006839/1.047, allocations: 453.2 kB / 1.466 GB, free: 0.5469 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002565/1.047, allocations: 154.9 kB / 1.466 GB, free: 404 kB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004526/1.052, allocations: 2.722 MB / 1.469 GB, free: 13.66 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.007e-05/1.052, allocations: 28 kB / 1.469 GB, free: 13.63 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.605e-06/1.052, allocations: 1 kB / 1.469 GB, free: 13.63 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003435/1.055, allocations: 2.377 MB / 1.471 GB, free: 11.2 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006126/1.062, allocations: 4.314 MB / 1.475 GB, free: 6.816 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.232e-06/1.062, allocations: 0 / 1.475 GB, free: 6.816 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001515/1.063, allocations: 403.5 kB / 1.476 GB, free: 6.422 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005056/1.064, allocations: 105.6 kB / 1.476 GB, free: 6.312 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001174/1.064, allocations: 51.98 kB / 1.476 GB, free: 6.262 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007901/1.065, allocations: 1.121 MB / 1.477 GB, free: 5.09 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/1.065, allocations: 0 / 1.477 GB, free: 5.09 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005948/1.071, allocations: 4.066 MB / 1.481 GB, free: 0.9961 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000738/1.071, allocations: 483.4 kB / 1.481 GB, free: 0.5039 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001872/1.071, allocations: 36 kB / 1.481 GB, free: 480 kB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007883/1.072, allocations: 55.97 kB / 1.481 GB, free: 424 kB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002384/1.073, allocations: 141.8 kB / 1.482 GB, free: 284 kB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001338/1.073, allocations: 75.59 kB / 1.482 GB, free: 212 kB / 1.17 GB Notification: Performance of sorting global known variables: time 0.000717/1.073, allocations: 0.542 MB / 1.482 GB, free: 15.66 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.2e-07/1.073, allocations: 0 / 1.482 GB, free: 15.66 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.001357/1.075, allocations: 0.6904 MB / 1.483 GB, free: 14.97 MB / 1.186 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.006871/1.082, allocations: 4.914 MB / 1.488 GB, free: 10.03 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.003823/1.085, allocations: 2.474 MB / 1.49 GB, free: 7.551 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/1.086, allocations: 0 / 1.49 GB, free: 7.551 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.001918/1.087, allocations: 1.281 MB / 1.491 GB, free: 6.266 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002322/1.09, allocations: 0.5836 MB / 1.492 GB, free: 5.695 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01937/1.109, allocations: 13.99 MB / 1.506 GB, free: 7.418 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009884/1.11, allocations: 1.339 MB / 1.507 GB, free: 6.043 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.001935/1.112, allocations: 0.782 MB / 1.508 GB, free: 5.254 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009386/1.113, allocations: 0.6242 MB / 1.508 GB, free: 4.629 MB / 1.201 GB Notification: Performance of SimCode: time 4.91e-07/1.113, allocations: 0 / 1.508 GB, free: 4.629 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9763/2.089, allocations: 40.14 MB / 1.547 GB, free: 12.93 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.31/20.4, allocations: 11.09 kB / 1.547 GB, free: 12.92 MB / 1.248 GB (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.OneOpenDoor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Airflow.Multizone.Examples.OneOpenDoor_res.mat --tempDir=temp_Buildings_latest_Buildings_Airflow_Multizone_Examples_OneOpenDoor_fmu --startTime=0 --stopTime=7200 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Airflow_Multizone_Examples_OneOpenDoor.fmu > Buildings_latest_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe 2>&1)