Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneRoom.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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: translateModel(BuildingSystems.Airflow.Multizone.Examples.OneRoom,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneRoom") translateModel(BuildingSystems.Airflow.Multizone.Examples.OneRoom,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneRoom") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001562/0.001562, allocations: 118.5 kB / 16.37 MB, free: 5.984 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.001603/0.001603, allocations: 193.5 kB / 17.31 MB, free: 5.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.288/1.288, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002123/0.002123, allocations: 282 kB / 291.4 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9282/0.9282, allocations: 169.2 MB / 0.4989 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002972/0.002972, allocations: 95.47 kB / 0.5967 GB, free: 14.43 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2003/0.2033, allocations: 86.98 MB / 0.6816 GB, free: 7.441 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.OneRoom): time 0.4739/0.6772, allocations: 213.6 MB / 0.8902 GB, free: 8.672 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01309/0.6904, allocations: 10.2 MB / 0.9002 GB, free: 14.45 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001171/0.6916, allocations: 39.81 kB / 0.9002 GB, free: 14.41 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.001844/0.6934, allocations: 0.8274 MB / 0.901 GB, free: 13.58 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.006329/0.6998, allocations: 2.898 MB / 0.9039 GB, free: 10.67 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.003254/0.703, allocations: 1.416 MB / 0.9052 GB, free: 9.254 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.003939/0.707, allocations: 3.171 MB / 0.9083 GB, free: 6.07 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001281/0.7083, allocations: 1.023 MB / 0.9093 GB, free: 5.035 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001868/0.7102, allocations: 1.137 MB / 0.9104 GB, free: 3.895 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001782/0.712, allocations: 1.07 MB / 0.9115 GB, free: 2.824 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0001589/0.7121, allocations: 120 kB / 0.9116 GB, free: 2.707 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004782/0.7169, allocations: 2.728 MB / 0.9143 GB, free: 15.97 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0004709/0.7174, allocations: 0.4909 MB / 0.9147 GB, free: 15.48 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0007672/0.7182, allocations: 0.7312 MB / 0.9155 GB, free: 14.75 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.003891/0.7221, allocations: 2.806 MB / 0.9182 GB, free: 11.93 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.7221, allocations: 0 / 0.9182 GB, free: 11.93 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.272e-06/0.7221, allocations: 0 / 0.9182 GB, free: 11.93 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.356e-05/0.7221, allocations: 0 / 0.9182 GB, free: 11.93 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 244 * Number of variables: 244 Notification: Performance of Generate backend data structure: time 0.003661/0.7258, allocations: 1.792 MB / 0.9199 GB, free: 10.09 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.454e-05/0.7258, allocations: 12.03 kB / 0.92 GB, free: 10.08 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00289/0.7287, allocations: 433.9 kB / 0.9204 GB, free: 9.656 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001477/0.7302, allocations: 0.8979 MB / 0.9213 GB, free: 8.715 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.874e-05/0.7303, allocations: 73.98 kB / 0.9213 GB, free: 8.641 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001509/0.7305, allocations: 96 kB / 0.9214 GB, free: 8.547 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001851/0.7323, allocations: 1.202 MB / 0.9226 GB, free: 7.312 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.501e-05/0.7324, allocations: 4 kB / 0.9226 GB, free: 7.309 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.331e-05/0.7325, allocations: 36 kB / 0.9226 GB, free: 7.273 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.889e-05/0.7325, allocations: 53.98 kB / 0.9227 GB, free: 7.219 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001737/0.7343, allocations: 1.07 MB / 0.9237 GB, free: 6.148 MB / 0.6856 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.005178/0.7394, allocations: 4.758 MB / 0.9284 GB, free: 0.9922 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001469/0.7409, allocations: 0.9841 MB / 0.9293 GB, free: 15.97 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009191/0.7419, allocations: 0.5675 MB / 0.9299 GB, free: 15.4 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005904/0.7425, allocations: 0.6772 MB / 0.9305 GB, free: 14.57 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.954e-05/0.7425, allocations: 47.16 kB / 0.9306 GB, free: 14.52 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=82): time 2.385e-06/0.7425, allocations: 0 / 0.9306 GB, free: 14.52 MB / 0.7012 GB Notification: Performance of matching and sorting (n=83): time 0.003889/0.7464, allocations: 2.296 MB / 0.9328 GB, free: 12.17 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.924e-05/0.7465, allocations: 64.41 kB / 0.9329 GB, free: 12.1 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006991/0.7472, allocations: 0.6449 MB / 0.9335 GB, free: 11.45 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 5.653e-05/0.7472, allocations: 41.7 kB / 0.9336 GB, free: 11.4 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002765/0.7475, allocations: 456.1 kB / 0.934 GB, free: 10.95 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002063/0.7477, allocations: 295.6 kB / 0.9343 GB, free: 10.66 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002023/0.7479, allocations: 138.6 kB / 0.9344 GB, free: 10.51 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001478/0.7481, allocations: 390.8 kB / 0.9348 GB, free: 10.12 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005118/0.7486, allocations: 325.8 kB / 0.9351 GB, free: 9.805 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005535/0.7492, allocations: 422.5 kB / 0.9355 GB, free: 9.367 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001082/0.7503, allocations: 0.7768 MB / 0.9363 GB, free: 8.562 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.7503, allocations: 3.938 kB / 0.9363 GB, free: 8.559 MB / 0.7012 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001443/0.7517, allocations: 0.9541 MB / 0.9372 GB, free: 7.594 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.7517, allocations: 4 kB / 0.9372 GB, free: 7.59 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.866e-06/0.7518, allocations: 4 kB / 0.9372 GB, free: 7.586 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002458/0.752, allocations: 56.83 kB / 0.9373 GB, free: 7.527 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007094/0.7527, allocations: 163.9 kB / 0.9374 GB, free: 7.367 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004317/0.7532, allocations: 0.607 MB / 0.938 GB, free: 6.734 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007221/0.7539, allocations: 23.98 kB / 0.938 GB, free: 6.711 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.345e-05/0.754, allocations: 24 kB / 0.938 GB, free: 6.688 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (92): * Single equations (assignments): 91 * 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 {(1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0004635/0.7544, allocations: 298.2 kB / 0.9383 GB, free: 6.387 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001504/0.7546, allocations: 102.8 kB / 0.9384 GB, free: 6.285 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001537/0.7561, allocations: 0.9261 MB / 0.9393 GB, free: 5.348 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.316e-06/0.7562, allocations: 11.94 kB / 0.9393 GB, free: 5.336 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.7562, allocations: 0 / 0.9393 GB, free: 5.336 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001195/0.7574, allocations: 0.931 MB / 0.9403 GB, free: 4.355 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002941/0.7603, allocations: 2.114 MB / 0.9423 GB, free: 2.184 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.977e-06/0.7603, allocations: 1.125 kB / 0.9423 GB, free: 2.184 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009399/0.7613, allocations: 187.8 kB / 0.9425 GB, free: 2 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.623e-06/0.7613, allocations: 4 kB / 0.9425 GB, free: 1.996 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.147e-05/0.7614, allocations: 16 kB / 0.9425 GB, free: 1.98 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.212e-06/0.7614, allocations: 7.938 kB / 0.9425 GB, free: 1.973 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-06/0.7614, allocations: 7.922 kB / 0.9425 GB, free: 1.965 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001848/0.7632, allocations: 1.392 MB / 0.9439 GB, free: 0.5586 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004144/0.7637, allocations: 252 kB / 0.9441 GB, free: 300 kB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001185/0.7638, allocations: 20.81 kB / 0.9442 GB, free: 280 kB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006517/0.7644, allocations: 31.83 kB / 0.9442 GB, free: 248 kB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001129/0.7646, allocations: 48.94 kB / 0.9442 GB, free: 196 kB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.487e-05/0.7646, allocations: 23.98 kB / 0.9443 GB, free: 172 kB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0005055/0.7651, allocations: 455.2 kB / 0.9447 GB, free: 15.73 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7652, allocations: 4 kB / 0.9447 GB, free: 15.72 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0007507/0.7659, allocations: 324 kB / 0.945 GB, free: 15.41 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (volEas.dynBal.medium.Xi[1],volEas.dynBal.U,volEas.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 (83): * Single equations (assignments): 83 * 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.000315/0.7662, allocations: 209.8 kB / 0.9452 GB, free: 15.2 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.00127/0.7675, allocations: 0.8172 MB / 0.946 GB, free: 14.39 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.449e-06/0.7675, allocations: 4.062 kB / 0.946 GB, free: 14.38 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0005906/0.7681, allocations: 441.6 kB / 0.9464 GB, free: 13.95 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002183/0.7703, allocations: 0.5909 MB / 0.947 GB, free: 13.38 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003198/0.7735, allocations: 2.284 MB / 0.9492 GB, free: 11.07 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006265/0.7742, allocations: 1.124 MB / 0.9503 GB, free: 9.914 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0007659/0.7749, allocations: 259.7 kB / 0.9506 GB, free: 9.656 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002395/0.7752, allocations: 75.42 kB / 0.9506 GB, free: 9.586 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.7752, allocations: 0 / 0.9506 GB, free: 9.586 MB / 0.7169 GB Notification: Performance of Templates: time 0.2719/1.047, allocations: 20.47 MB / 0.9706 GB, free: 248 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneRoom.makefile (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneRoom.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneRoom.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneRoom.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneRoom.sim & ./BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneRoom -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneRoom.pipe 2>&1)