Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001193/0.001193, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001276/0.001276, allocations: 165 kB / 23.01 MB, free: 1.555 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8819/0.8819, allocations: 177.1 MB / 203.4 MB, free: 5.648 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002228/0.002228, allocations: 236.6 kB / 260.2 MB, free: 12.84 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.6965/0.6965, allocations: 138.4 MB / 455.2 MB, free: 1.512 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation") translateModel(BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 0.5551 GB, free: 0.5156 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.165e-05/2.327e-05, allocations: 2.312 kB / 0.5551 GB, free: 0.5117 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation): time 0.3322/0.3322, allocations: 151.3 MB / 0.7029 GB, free: 5.527 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.004458/0.3367, allocations: 4.187 MB / 0.707 GB, free: 1.344 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004918/0.3372, allocations: 47.62 kB / 0.707 GB, free: 1.297 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0006164/0.3378, allocations: 301.8 kB / 0.7073 GB, free: 1 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.001635/0.3394, allocations: 1.401 MB / 0.7087 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009468/0.3404, allocations: 0.7327 MB / 0.7094 GB, free: 14.86 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.002045/0.3424, allocations: 2.948 MB / 0.7123 GB, free: 11.91 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006227/0.343, allocations: 0.7377 MB / 0.713 GB, free: 11.15 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009569/0.344, allocations: 1.309 MB / 0.7143 GB, free: 9.84 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001031/0.345, allocations: 0.927 MB / 0.7152 GB, free: 8.93 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.0001102/0.3451, allocations: 112 kB / 0.7153 GB, free: 8.82 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006105/0.3457, allocations: 0.5221 MB / 0.7158 GB, free: 8.297 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0002929/0.346, allocations: 0.4908 MB / 0.7163 GB, free: 7.805 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0003467/0.3464, allocations: 487 kB / 0.7167 GB, free: 7.328 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.001024/0.3474, allocations: 1.23 MB / 0.7179 GB, free: 6.094 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.3474, allocations: 0 / 0.7179 GB, free: 6.094 MB / 0.5261 GB Notification: Performance of FrontEnd: time 9.71e-07/0.3474, allocations: 0 / 0.7179 GB, free: 6.094 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 9.979e-06/0.3474, allocations: 0 / 0.7179 GB, free: 6.094 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.001706/0.3491, allocations: 1.572 MB / 0.7195 GB, free: 4.48 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.394e-05/0.3492, allocations: 8.75 kB / 0.7195 GB, free: 4.473 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001252/0.3504, allocations: 491.5 kB / 0.7199 GB, free: 3.992 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008701/0.3513, allocations: 0.7914 MB / 0.7207 GB, free: 3.172 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.578e-05/0.3513, allocations: 70 kB / 0.7208 GB, free: 3.105 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001024/0.3514, allocations: 88 kB / 0.7209 GB, free: 3.02 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008774/0.3523, allocations: 0.9283 MB / 0.7218 GB, free: 1.992 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.973e-05/0.3523, allocations: 3.953 kB / 0.7218 GB, free: 1.988 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.72e-05/0.3524, allocations: 32 kB / 0.7218 GB, free: 1.957 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.114e-05/0.3524, allocations: 45.98 kB / 0.7218 GB, free: 1.914 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000598/0.353, allocations: 411.6 kB / 0.7222 GB, free: 1.508 MB / 0.5261 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.002431/0.3554, allocations: 3.001 MB / 0.7252 GB, free: 14.43 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005776/0.356, allocations: 442 kB / 0.7256 GB, free: 13.98 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005038/0.3565, allocations: 276.9 kB / 0.7259 GB, free: 13.71 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000215/0.3567, allocations: 85.59 kB / 0.7259 GB, free: 13.63 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.5e-05/0.3568, allocations: 42.05 kB / 0.726 GB, free: 13.58 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=70): time 1.873e-06/0.3568, allocations: 0 / 0.726 GB, free: 13.58 MB / 0.5417 GB Notification: Performance of matching and sorting (n=70): time 0.0008466/0.3576, allocations: 0.595 MB / 0.7266 GB, free: 12.98 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.543e-05/0.3576, allocations: 60.06 kB / 0.7266 GB, free: 12.91 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004269/0.3581, allocations: 0.5855 MB / 0.7272 GB, free: 12.31 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 3.709e-05/0.3581, allocations: 41.7 kB / 0.7272 GB, free: 12.27 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002176/0.3583, allocations: 495.5 kB / 0.7277 GB, free: 11.77 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.000136/0.3585, allocations: 265.8 kB / 0.728 GB, free: 11.51 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001199/0.3586, allocations: 120 kB / 0.7281 GB, free: 11.39 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001576/0.3587, allocations: 0.5742 MB / 0.7286 GB, free: 10.8 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001709/0.3589, allocations: 109.2 kB / 0.7287 GB, free: 10.69 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002159/0.3591, allocations: 221.6 kB / 0.7289 GB, free: 10.45 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004247/0.3595, allocations: 370.8 kB / 0.7293 GB, free: 10.06 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.3595, allocations: 3.938 kB / 0.7293 GB, free: 10.05 MB / 0.5417 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.000591/0.3601, allocations: 0.5123 MB / 0.7298 GB, free: 9.535 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.3602, allocations: 8 kB / 0.7298 GB, free: 9.527 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.189e-06/0.3602, allocations: 0 / 0.7298 GB, free: 9.527 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/0.3602, allocations: 4 kB / 0.7298 GB, free: 9.523 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003338/0.3605, allocations: 151.4 kB / 0.73 GB, free: 9.379 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.558e-06/0.3605, allocations: 8 kB / 0.73 GB, free: 9.371 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002825/0.3608, allocations: 43.67 kB / 0.73 GB, free: 9.328 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.011e-05/0.3608, allocations: 24 kB / 0.73 GB, free: 9.305 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (82): * Single equations (assignments): 82 * 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.0001508/0.361, allocations: 192.4 kB / 0.7302 GB, free: 9.105 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001068/0.3611, allocations: 115.4 kB / 0.7303 GB, free: 8.992 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006223/0.3617, allocations: 0.5161 MB / 0.7308 GB, free: 8.465 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.578e-06/0.3617, allocations: 8 kB / 0.7308 GB, free: 8.457 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.3617, allocations: 0 / 0.7308 GB, free: 8.457 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004613/0.3622, allocations: 0.5363 MB / 0.7314 GB, free: 7.871 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001273/0.3635, allocations: 1.266 MB / 0.7326 GB, free: 6.562 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.3635, allocations: 0 / 0.7326 GB, free: 6.562 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004118/0.3639, allocations: 171.8 kB / 0.7328 GB, free: 6.395 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.3639, allocations: 0 / 0.7328 GB, free: 6.395 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.409e-05/0.3639, allocations: 23.92 kB / 0.7328 GB, free: 6.371 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.3639, allocations: 0 / 0.7328 GB, free: 6.371 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.3639, allocations: 0 / 0.7328 GB, free: 6.371 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009156/0.3648, allocations: 0.7924 MB / 0.7336 GB, free: 5.559 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002008/0.365, allocations: 171.2 kB / 0.7337 GB, free: 5.391 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.715e-05/0.3651, allocations: 12 kB / 0.7337 GB, free: 5.379 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002674/0.3653, allocations: 32.73 kB / 0.7338 GB, free: 5.348 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.699e-05/0.3654, allocations: 44.56 kB / 0.7338 GB, free: 5.305 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.764e-05/0.3655, allocations: 20 kB / 0.7338 GB, free: 5.285 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0002662/0.3657, allocations: 395 kB / 0.7342 GB, free: 4.902 MB / 0.5417 GB Notification: Performance of sort global known variables: time 7e-08/0.3657, allocations: 0 / 0.7342 GB, free: 4.902 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0004462/0.3662, allocations: 347.3 kB / 0.7345 GB, free: 4.562 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (volA.dynBal.medium.Xi[1],volA.dynBal.U,volA.dynBal.m,oriOutBot.mExc,oriOutTop.mExc,volOut.dynBal.medium.Xi[1],volOut.dynBal.U,volOut.dynBal.m) * 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 (70): * Single equations (assignments): 70 * 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 Backend phase and start with SimCode phase: time 0.0002064/0.3664, allocations: 146.1 kB / 0.7347 GB, free: 4.414 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0004717/0.3668, allocations: 394.4 kB / 0.735 GB, free: 4.023 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.3668, allocations: 0 / 0.735 GB, free: 4.023 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0002303/0.3671, allocations: 228.6 kB / 0.7353 GB, free: 3.797 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00114/0.3682, allocations: 0.5237 MB / 0.7358 GB, free: 3.332 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002064/0.3703, allocations: 1.818 MB / 0.7376 GB, free: 1.492 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001449/0.3704, allocations: 237.2 kB / 0.7378 GB, free: 1.242 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0003707/0.3708, allocations: 190.1 kB / 0.738 GB, free: 1.055 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001479/0.3709, allocations: 68.5 kB / 0.738 GB, free: 0.9883 MB / 0.5417 GB Notification: Performance of SimCode: time 6.81e-07/0.3709, allocations: 4 kB / 0.738 GB, free: 0.9844 MB / 0.5417 GB Notification: Performance of Templates: time 0.01841/0.3894, allocations: 17.66 MB / 0.7553 GB, free: 15.79 MB / 0.573 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation.sim & ./BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.114530794322491]