Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.ChimneyShaftNoVolume,fileNamePrefix="Buildings_11_Buildings_Airflow_Multizone_Examples_ChimneyShaftNoVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume,fileNamePrefix="Buildings_11_Buildings_Airflow_Multizone_Examples_ChimneyShaftNoVolume",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.002853/0.002853, allocations: 108.6 kB / 15.73 MB, free: 72 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.003174/0.003174, allocations: 187.1 kB / 16.66 MB, free: 6.602 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.652/1.652, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.991/2.991, allocations: 469.8 MB / 0.7425 GB, free: 7.352 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001908/0.001909, allocations: 68.11 kB / 1.065 GB, free: 13.6 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4569/0.4588, allocations: 159.1 MB / 1.22 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume): time 1.385/1.844, allocations: 167.6 MB / 1.384 GB, free: 2.676 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.04003/1.884, allocations: 8.89 MB / 1.392 GB, free: 11.45 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003175/1.887, allocations: 45.25 kB / 1.393 GB, free: 11.43 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.002793/1.89, allocations: 0.6486 MB / 1.393 GB, free: 10.89 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.007415/1.898, allocations: 1.5 MB / 1.395 GB, free: 9.711 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.006769/1.904, allocations: 1.186 MB / 1.396 GB, free: 8.812 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.009643/1.914, allocations: 2.699 MB / 1.398 GB, free: 7.25 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003373/1.917, allocations: 0.9633 MB / 1.399 GB, free: 6.637 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005402/1.923, allocations: 1.021 MB / 1.4 GB, free: 6.047 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01646/1.939, allocations: 1 MB / 1.401 GB, free: 5.461 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0004505/1.94, allocations: 95.31 kB / 1.401 GB, free: 5.461 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003692/1.944, allocations: 1.046 MB / 1.402 GB, free: 4.984 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0004127/1.944, allocations: 270 kB / 1.403 GB, free: 4.777 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.001203/1.945, allocations: 0.6056 MB / 1.403 GB, free: 4.371 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.004632/1.95, allocations: 1.754 MB / 1.405 GB, free: 3.219 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 7.374e-06/1.95, allocations: 0 / 1.405 GB, free: 3.219 MB / 1.092 GB Notification: Performance of FrontEnd: time 3.287e-06/1.95, allocations: 0 / 1.405 GB, free: 3.219 MB / 1.092 GB Notification: Performance of Transformations before backend: time 4.347e-05/1.95, allocations: 1.438 kB / 1.405 GB, free: 3.219 MB / 1.092 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 195 * Number of variables: 195 Notification: Performance of Generate backend data structure: time 0.004108/1.954, allocations: 1.61 MB / 1.407 GB, free: 1.969 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 6.11e-05/1.954, allocations: 9.625 kB / 1.407 GB, free: 1.969 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000191/1.954, allocations: 122.4 kB / 1.407 GB, free: 1.867 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000456/1.955, allocations: 146 kB / 1.407 GB, free: 1.793 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002035/1.957, allocations: 0.887 MB / 1.408 GB, free: 1.09 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.233e-05/1.957, allocations: 62.02 kB / 1.408 GB, free: 1.059 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001413/1.957, allocations: 83.33 kB / 1.408 GB, free: 1.027 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001797/1.959, allocations: 0.8709 MB / 1.409 GB, free: 468 kB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.182e-05/1.959, allocations: 1.125 kB / 1.409 GB, free: 468 kB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.27e-05/1.959, allocations: 36.7 kB / 1.409 GB, free: 440 kB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-05/1.959, allocations: 22.56 kB / 1.409 GB, free: 436 kB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001467/1.961, allocations: 0.6315 MB / 1.409 GB, free: 120 kB / 1.092 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.007657/1.968, allocations: 3.968 MB / 1.413 GB, free: 12.65 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001578/1.97, allocations: 0.5748 MB / 1.414 GB, free: 12.36 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006408/1.971, allocations: 298 kB / 1.414 GB, free: 12.21 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001648/1.972, allocations: 1.233 MB / 1.415 GB, free: 10.77 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008058/1.973, allocations: 331 kB / 1.416 GB, free: 10.57 MB / 1.107 GB Notification: Performance of pre-optimization done (n=63): time 4.539e-06/1.973, allocations: 0 / 1.416 GB, free: 10.57 MB / 1.107 GB Notification: Performance of matching and sorting (n=63): time 0.003499/1.977, allocations: 1.146 MB / 1.417 GB, free: 9.875 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001272/1.977, allocations: 85.36 kB / 1.417 GB, free: 9.777 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001781/1.978, allocations: 0.8782 MB / 1.418 GB, free: 9.281 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 8.725e-05/1.979, allocations: 35.83 kB / 1.418 GB, free: 9.242 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.000662/1.979, allocations: 470.9 kB / 1.418 GB, free: 8.836 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003588/1.98, allocations: 225.3 kB / 1.418 GB, free: 8.641 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002747/1.98, allocations: 120.8 kB / 1.418 GB, free: 8.566 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0002816/1.98, allocations: 327 kB / 1.419 GB, free: 8.246 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005111/1.981, allocations: 212.8 kB / 1.419 GB, free: 8.137 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006539/1.981, allocations: 320.7 kB / 1.419 GB, free: 7.914 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001117/1.983, allocations: 0.5267 MB / 1.42 GB, free: 7.598 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.312e-06/1.983, allocations: 0 / 1.42 GB, free: 7.598 MB / 1.107 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001818/1.984, allocations: 0.721 MB / 1.421 GB, free: 7.223 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.93e-05/1.984, allocations: 4.406 kB / 1.421 GB, free: 7.223 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.675e-05/1.984, allocations: 3 kB / 1.421 GB, free: 7.223 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007927/1.985, allocations: 109.3 kB / 1.421 GB, free: 7.172 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005116/1.986, allocations: 119.2 kB / 1.421 GB, free: 7.145 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008431/1.987, allocations: 0.6582 MB / 1.421 GB, free: 6.543 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007305/1.987, allocations: 67.59 kB / 1.421 GB, free: 6.477 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.528e-05/1.987, allocations: 31.88 kB / 1.421 GB, free: 6.445 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008239/1.988, allocations: 394.9 kB / 1.422 GB, free: 6.059 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005288/1.989, allocations: 304.4 kB / 1.422 GB, free: 5.727 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009561/1.99, allocations: 0.5068 MB / 1.423 GB, free: 5.195 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.074e-06/1.99, allocations: 7.938 kB / 1.423 GB, free: 5.188 MB / 1.107 GB Notification: Performance of matching and sorting (n=75) (initialization_lambda0): time 0.001401/1.991, allocations: 0.6865 MB / 1.423 GB, free: 4.488 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/1.991, allocations: 8 kB / 1.423 GB, free: 4.48 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.327e-06/1.991, allocations: 0 / 1.423 GB, free: 4.48 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004756/1.992, allocations: 109.1 kB / 1.423 GB, free: 4.371 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004189/1.992, allocations: 115.8 kB / 1.424 GB, free: 4.258 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000713/1.993, allocations: 0.6538 MB / 1.424 GB, free: 3.578 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005799/1.993, allocations: 55.69 kB / 1.424 GB, free: 3.523 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.047e-05/1.994, allocations: 20 kB / 1.424 GB, free: 3.504 MB / 1.107 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.mRoo_flow.nextTimeEvent,$whenCondition1,mRoo_flow.nextTimeEventScaled,$PRE.mRoo_flow.nextTimeEventScaled,mRoo_flow.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0003043/1.994, allocations: 226.1 kB / 1.424 GB, free: 3.277 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001922/1.994, allocations: 107.3 kB / 1.425 GB, free: 3.172 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01568/2.01, allocations: 0.9474 MB / 1.426 GB, free: 2.207 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.407e-05/2.01, allocations: 11.94 kB / 1.426 GB, free: 2.195 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.045e-05/2.01, allocations: 0 / 1.426 GB, free: 2.195 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00153/2.011, allocations: 0.8543 MB / 1.426 GB, free: 1.289 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004639/2.016, allocations: 1.865 MB / 1.428 GB, free: 15.35 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.198e-06/2.016, allocations: 0 / 1.428 GB, free: 15.35 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004672/2.017, allocations: 95.89 kB / 1.428 GB, free: 15.26 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006505/2.017, allocations: 149.7 kB / 1.428 GB, free: 15.11 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.782e-05/2.017, allocations: 23.98 kB / 1.428 GB, free: 15.08 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001266/2.019, allocations: 1.241 MB / 1.43 GB, free: 13.79 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/2.019, allocations: 0 / 1.43 GB, free: 13.79 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002787/2.021, allocations: 1.289 MB / 1.431 GB, free: 12.48 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007239/2.022, allocations: 264.2 kB / 1.431 GB, free: 12.2 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003303/2.022, allocations: 16 kB / 1.431 GB, free: 12.18 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006711/2.023, allocations: 23.92 kB / 1.431 GB, free: 12.16 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001711/2.023, allocations: 48.59 kB / 1.431 GB, free: 12.11 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.769e-05/2.023, allocations: 27.98 kB / 1.431 GB, free: 12.09 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.001184/2.025, allocations: 0.6129 MB / 1.432 GB, free: 11.46 MB / 1.123 GB Notification: Performance of sort global known variables: time 6.41e-07/2.025, allocations: 0 / 1.432 GB, free: 11.46 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.002313/2.027, allocations: 0.5611 MB / 1.432 GB, free: 10.9 MB / 1.123 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 5 (roo.dynBal.U,roo.dynBal.m,oriChiTop.mExc,oriBot.mExc,oriChiBot.mExc) * Number of discrete variables: 3 ($whenCondition1,mRoo_flow.nextTimeEvent,mRoo_flow.nextTimeEventScaled) * Number of discrete states: 2 (mRoo_flow.nextTimeEvent,mRoo_flow.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * 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 {(2,9), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005221/2.032, allocations: 2.463 MB / 1.435 GB, free: 8.57 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.002143/2.034, allocations: 0.9305 MB / 1.436 GB, free: 7.645 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 5.43e-06/2.034, allocations: 4.062 kB / 1.436 GB, free: 7.641 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0007987/2.035, allocations: 383.6 kB / 1.436 GB, free: 7.266 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002347/2.037, allocations: 459.2 kB / 1.437 GB, free: 6.832 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01194/2.049, allocations: 7.259 MB / 1.444 GB, free: 15.37 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007985/2.05, allocations: 1.069 MB / 1.445 GB, free: 14.27 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0009776/2.051, allocations: 218.1 kB / 1.445 GB, free: 14.05 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006268/2.052, allocations: 411.3 kB / 1.445 GB, free: 13.65 MB / 1.139 GB Notification: Performance of SimCode: time 8.92e-07/2.052, allocations: 0 / 1.445 GB, free: 13.65 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09878/2.151, allocations: 30.26 MB / 1.475 GB, free: 15.75 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.09/17.24, allocations: 15.98 kB / 1.475 GB, free: 15.73 MB / 1.17 GB (rm -f Buildings_11_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe ; mkfifo Buildings_11_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe ; head -c 1048576 < Buildings_11_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe >> ../files/Buildings_11_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume_res.mat --tempDir=temp_Buildings_11_Buildings_Airflow_Multizone_Examples_ChimneyShaftNoVolume_fmu --startTime=0 --stopTime=3600 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Airflow_Multizone_Examples_ChimneyShaftNoVolume.fmu > Buildings_11_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe 2>&1)