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.001079/0.00108, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.009068/0.009068, allocations: 171.1 kB / 16.26 MB, free: 6.676 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.394/1.394, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001724/0.001724, allocations: 263.2 kB / 291.7 MB, free: 1.867 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9484/0.9484, allocations: 169.5 MB / 0.5004 GB, free: 14.05 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004514/0.0004516, allocations: 14.39 kB / 0.5986 GB, free: 28.04 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.254/0.2545, allocations: 88.56 MB / 0.6851 GB, free: 15.03 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.OneRoom): time 0.6362/0.8908, allocations: 208.6 MB / 0.8888 GB, free: 14.58 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01643/0.9072, allocations: 10.2 MB / 0.8988 GB, free: 5.031 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002027/0.9093, allocations: 31.81 kB / 0.8988 GB, free: 5 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002835/0.9122, allocations: 0.7231 MB / 0.8995 GB, free: 4.273 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.009108/0.9213, allocations: 2.729 MB / 0.9022 GB, free: 1.535 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.004513/0.9259, allocations: 1.293 MB / 0.9034 GB, free: 248 kB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.006608/0.9325, allocations: 4.636 MB / 0.908 GB, free: 11.59 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001592/0.9341, allocations: 0.8439 MB / 0.9088 GB, free: 10.73 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002246/0.9364, allocations: 0.957 MB / 0.9097 GB, free: 9.77 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002727/0.9391, allocations: 1.074 MB / 0.9108 GB, free: 8.695 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.000192/0.9393, allocations: 63.94 kB / 0.9108 GB, free: 8.633 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006486/0.9458, allocations: 3.195 MB / 0.914 GB, free: 5.426 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0008033/0.9466, allocations: 426.7 kB / 0.9144 GB, free: 5.008 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001143/0.9478, allocations: 0.6743 MB / 0.915 GB, free: 4.324 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.005724/0.9535, allocations: 2.898 MB / 0.9179 GB, free: 1.418 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.9536, allocations: 0 / 0.9179 GB, free: 1.418 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.793e-06/0.9536, allocations: 0 / 0.9179 GB, free: 1.418 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.995e-05/0.9536, allocations: 0 / 0.9179 GB, free: 1.418 MB / 0.6231 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.004006/0.9576, allocations: 1.562 MB / 0.9194 GB, free: 15.8 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.92e-05/0.9577, allocations: 8.031 kB / 0.9194 GB, free: 15.79 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003172/0.9609, allocations: 430 kB / 0.9198 GB, free: 15.37 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001481/0.9624, allocations: 0.8589 MB / 0.9206 GB, free: 14.47 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.607e-05/0.9624, allocations: 74 kB / 0.9207 GB, free: 14.4 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001587/0.9626, allocations: 99.98 kB / 0.9208 GB, free: 14.3 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002029/0.9646, allocations: 1.202 MB / 0.922 GB, free: 13.06 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.759e-05/0.9647, allocations: 0 / 0.922 GB, free: 13.06 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001012/0.9648, allocations: 39.98 kB / 0.922 GB, free: 13.02 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.587e-05/0.9649, allocations: 57.97 kB / 0.9221 GB, free: 12.97 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00182/0.9667, allocations: 1.07 MB / 0.9231 GB, free: 11.89 MB / 0.6387 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.005567/0.9723, allocations: 4.746 MB / 0.9278 GB, free: 6.758 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001461/0.9737, allocations: 0.9919 MB / 0.9287 GB, free: 5.723 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009554/0.9747, allocations: 0.5526 MB / 0.9293 GB, free: 5.172 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006355/0.9754, allocations: 0.6811 MB / 0.9299 GB, free: 4.34 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.633e-05/0.9754, allocations: 43.22 kB / 0.93 GB, free: 4.289 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=82): time 2.906e-06/0.9754, allocations: 0 / 0.93 GB, free: 4.289 MB / 0.6387 GB Notification: Performance of matching and sorting (n=83): time 0.004603/0.98, allocations: 2.3 MB / 0.9322 GB, free: 1.941 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.519e-05/0.9801, allocations: 64.41 kB / 0.9323 GB, free: 1.867 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008753/0.981, allocations: 0.6449 MB / 0.9329 GB, free: 1.215 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 6.541e-05/0.9811, allocations: 41.7 kB / 0.9329 GB, free: 1.168 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.000316/0.9814, allocations: 456.1 kB / 0.9334 GB, free: 0.7148 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002447/0.9817, allocations: 291.6 kB / 0.9337 GB, free: 436 kB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001044/0.9818, allocations: 69.69 kB / 0.9337 GB, free: 360 kB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0002263/0.982, allocations: 394.7 kB / 0.9341 GB, free: 15.96 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005491/0.9826, allocations: 321.8 kB / 0.9344 GB, free: 15.64 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005914/0.9832, allocations: 422.5 kB / 0.9348 GB, free: 15.2 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001172/0.9843, allocations: 0.7846 MB / 0.9356 GB, free: 14.39 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.9844, allocations: 0 / 0.9356 GB, free: 14.39 MB / 0.6544 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001631/0.986, allocations: 0.9541 MB / 0.9365 GB, free: 13.43 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.35e-05/0.986, allocations: 7.938 kB / 0.9365 GB, free: 13.42 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/0.986, allocations: 4 kB / 0.9365 GB, free: 13.41 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003108/0.9864, allocations: 56.83 kB / 0.9366 GB, free: 13.36 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006799/0.987, allocations: 151.8 kB / 0.9367 GB, free: 13.21 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005881/0.9876, allocations: 0.6149 MB / 0.9373 GB, free: 12.57 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001155/0.9888, allocations: 107.7 kB / 0.9374 GB, free: 12.46 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.078e-05/0.9889, allocations: 24 kB / 0.9374 GB, free: 12.44 MB / 0.6544 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.0005455/0.9894, allocations: 310.2 kB / 0.9377 GB, free: 12.12 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001871/0.9896, allocations: 90.91 kB / 0.9378 GB, free: 12.04 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001619/0.9912, allocations: 0.9246 MB / 0.9387 GB, free: 11.1 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.686e-06/0.9913, allocations: 8 kB / 0.9387 GB, free: 11.09 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.9913, allocations: 0 / 0.9387 GB, free: 11.09 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001232/0.9925, allocations: 0.931 MB / 0.9396 GB, free: 10.11 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003458/0.996, allocations: 2.119 MB / 0.9417 GB, free: 7.938 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.996, allocations: 0 / 0.9417 GB, free: 7.938 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008959/0.9969, allocations: 183.8 kB / 0.9419 GB, free: 7.758 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.012e-05/0.9969, allocations: 4 kB / 0.9419 GB, free: 7.754 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.619e-05/0.997, allocations: 23.98 kB / 0.9419 GB, free: 7.73 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.04e-06/0.997, allocations: 7.875 kB / 0.9419 GB, free: 7.723 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.997, allocations: 4 kB / 0.9419 GB, free: 7.719 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002003/0.999, allocations: 1.395 MB / 0.9433 GB, free: 6.309 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004766/0.9995, allocations: 244 kB / 0.9435 GB, free: 6.051 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001265/0.9996, allocations: 27.92 kB / 0.9435 GB, free: 6.023 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000795/1, allocations: 83.78 kB / 0.9436 GB, free: 5.941 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001243/1.001, allocations: 52.92 kB / 0.9437 GB, free: 5.891 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.589e-05/1.001, allocations: 27.98 kB / 0.9437 GB, free: 5.863 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0005631/1.001, allocations: 455 kB / 0.9441 GB, free: 5.422 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/1.001, allocations: 0 / 0.9441 GB, free: 5.422 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0009043/1.002, allocations: 323.9 kB / 0.9444 GB, free: 5.105 MB / 0.6544 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.0003666/1.003, allocations: 222.8 kB / 0.9447 GB, free: 4.883 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001389/1.004, allocations: 0.809 MB / 0.9455 GB, free: 4.074 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/1.004, allocations: 0 / 0.9455 GB, free: 4.074 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0006282/1.005, allocations: 441.5 kB / 0.9459 GB, free: 3.641 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002684/1.007, allocations: 0.5627 MB / 0.9464 GB, free: 3.09 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004168/1.011, allocations: 2.893 MB / 0.9492 GB, free: 172 kB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008163/1.012, allocations: 1.124 MB / 0.9503 GB, free: 15.01 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.00115/1.013, allocations: 259.8 kB / 0.9506 GB, free: 14.75 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002405/1.014, allocations: 75.44 kB / 0.9507 GB, free: 14.68 MB / 0.67 GB Notification: Performance of SimCode: time 6.52e-07/1.014, allocations: 4 kB / 0.9507 GB, free: 14.68 MB / 0.67 GB Notification: Performance of Templates: time 0.0325/1.046, allocations: 19.42 MB / 0.9696 GB, free: 11.53 MB / 0.6856 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneRoom.pipe 2>&1)