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.001999/0.001999, allocations: 103.4 kB / 15.34 MB, free: 0.5039 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.001767/0.001767, allocations: 195.6 kB / 16.25 MB, free: 6.633 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.536/1.536, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002848/0.002847, allocations: 294.7 kB / 290.4 MB, free: 2.129 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.086/1.086, allocations: 178.6 MB / 0.507 GB, free: 4.711 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002852/0.002852, allocations: 98.97 kB / 0.6059 GB, free: 25.16 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1757/0.1785, allocations: 89.15 MB / 0.693 GB, free: 4.703 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.OneRoom): time 0.6035/0.7821, allocations: 211 MB / 0.899 GB, free: 8.969 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01613/0.7983, allocations: 10.13 MB / 0.9089 GB, free: 14.81 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002327/0.8007, allocations: 31.81 kB / 0.9089 GB, free: 14.78 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.00267/0.8034, allocations: 0.7583 MB / 0.9096 GB, free: 14.02 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.009279/0.8127, allocations: 2.72 MB / 0.9123 GB, free: 11.29 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.004255/0.817, allocations: 1.294 MB / 0.9136 GB, free: 9.992 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.005469/0.8225, allocations: 3.174 MB / 0.9167 GB, free: 6.812 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0018/0.8243, allocations: 1.012 MB / 0.9176 GB, free: 5.785 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002615/0.8269, allocations: 1.152 MB / 0.9188 GB, free: 4.629 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00299/0.83, allocations: 1.136 MB / 0.9199 GB, free: 3.496 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0002692/0.8302, allocations: 127.9 kB / 0.92 GB, free: 3.371 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006431/0.8367, allocations: 2.86 MB / 0.9228 GB, free: 0.5039 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0008798/0.8376, allocations: 0.4909 MB / 0.9233 GB, free: 12 kB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001366/0.839, allocations: 0.7235 MB / 0.924 GB, free: 15.28 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.006366/0.8454, allocations: 2.988 MB / 0.9269 GB, free: 12.29 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 9.328e-06/0.8454, allocations: 0 / 0.9269 GB, free: 12.29 MB / 0.6544 GB Notification: Performance of FrontEnd: time 3.837e-06/0.8454, allocations: 3.938 kB / 0.9269 GB, free: 12.29 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.515e-05/0.8454, allocations: 3.938 kB / 0.9269 GB, free: 12.28 MB / 0.6544 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.004464/0.8499, allocations: 1.788 MB / 0.9287 GB, free: 10.44 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.992e-05/0.85, allocations: 8.031 kB / 0.9287 GB, free: 10.43 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003054/0.853, allocations: 433.9 kB / 0.9291 GB, free: 10.01 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001525/0.8546, allocations: 0.8473 MB / 0.9299 GB, free: 9.117 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.918e-05/0.8547, allocations: 77.98 kB / 0.93 GB, free: 9.039 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001662/0.8548, allocations: 99.91 kB / 0.9301 GB, free: 8.941 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00219/0.857, allocations: 1.202 MB / 0.9312 GB, free: 7.707 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.003e-05/0.8571, allocations: 0 / 0.9312 GB, free: 7.707 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001028/0.8572, allocations: 36 kB / 0.9313 GB, free: 7.672 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.117e-05/0.8573, allocations: 61.92 kB / 0.9313 GB, free: 7.609 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001984/0.8593, allocations: 1.07 MB / 0.9324 GB, free: 6.543 MB / 0.6544 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.006251/0.8655, allocations: 4.727 MB / 0.937 GB, free: 1.418 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001604/0.8671, allocations: 0.9841 MB / 0.938 GB, free: 404 kB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00105/0.8682, allocations: 0.5759 MB / 0.9385 GB, free: 15.82 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000781/0.869, allocations: 0.6772 MB / 0.9392 GB, free: 14.99 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.241e-05/0.8691, allocations: 43.22 kB / 0.9392 GB, free: 14.94 MB / 0.67 GB Notification: Performance of pre-optimization done (n=82): time 3.507e-06/0.8691, allocations: 0 / 0.9392 GB, free: 14.94 MB / 0.67 GB Notification: Performance of matching and sorting (n=83): time 0.004833/0.8739, allocations: 2.296 MB / 0.9415 GB, free: 12.59 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.659e-05/0.874, allocations: 64.41 kB / 0.9415 GB, free: 12.52 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009084/0.8749, allocations: 0.6372 MB / 0.9422 GB, free: 11.87 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 6.614e-05/0.875, allocations: 41.7 kB / 0.9422 GB, free: 11.82 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003785/0.8753, allocations: 464 kB / 0.9426 GB, free: 11.36 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002806/0.8756, allocations: 295.6 kB / 0.9429 GB, free: 11.07 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002539/0.8759, allocations: 134.7 kB / 0.943 GB, free: 10.93 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0002501/0.8762, allocations: 390.7 kB / 0.9434 GB, free: 10.54 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005553/0.8767, allocations: 325.8 kB / 0.9437 GB, free: 10.22 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006265/0.8773, allocations: 426.5 kB / 0.9441 GB, free: 9.781 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001248/0.8786, allocations: 0.7868 MB / 0.9449 GB, free: 8.973 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.8786, allocations: 0 / 0.9449 GB, free: 8.973 MB / 0.67 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.00164/0.8803, allocations: 0.9503 MB / 0.9458 GB, free: 8.008 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.012e-05/0.8803, allocations: 4 kB / 0.9458 GB, free: 8.004 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.072e-05/0.8803, allocations: 4 kB / 0.9458 GB, free: 8 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002814/0.8806, allocations: 52.83 kB / 0.9459 GB, free: 7.945 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007109/0.8813, allocations: 163.7 kB / 0.946 GB, free: 7.785 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006197/0.8819, allocations: 0.6072 MB / 0.9466 GB, free: 7.152 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001059/0.883, allocations: 103.7 kB / 0.9467 GB, free: 7.051 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.095e-05/0.8831, allocations: 31.98 kB / 0.9468 GB, free: 7.02 MB / 0.67 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.000536/0.8836, allocations: 303 kB / 0.9471 GB, free: 6.715 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001754/0.8838, allocations: 90.91 kB / 0.9471 GB, free: 6.625 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001663/0.8855, allocations: 0.9236 MB / 0.948 GB, free: 5.691 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.827e-06/0.8855, allocations: 12 kB / 0.9481 GB, free: 5.68 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.8855, allocations: 0 / 0.9481 GB, free: 5.68 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00133/0.8869, allocations: 0.9309 MB / 0.949 GB, free: 4.703 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003568/0.8904, allocations: 2.124 MB / 0.951 GB, free: 2.523 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.94e-06/0.8905, allocations: 0 / 0.951 GB, free: 2.523 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009831/0.8914, allocations: 191.8 kB / 0.9512 GB, free: 2.336 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.016e-05/0.8915, allocations: 3.984 kB / 0.9512 GB, free: 2.332 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.499e-05/0.8915, allocations: 20 kB / 0.9512 GB, free: 2.312 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.11e-05/0.8916, allocations: 15.92 kB / 0.9513 GB, free: 2.297 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.8916, allocations: 3.938 kB / 0.9513 GB, free: 2.293 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002159/0.8937, allocations: 1.38 MB / 0.9526 GB, free: 0.8945 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000527/0.8943, allocations: 248 kB / 0.9529 GB, free: 0.6328 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001247/0.8944, allocations: 19.94 kB / 0.9529 GB, free: 0.6133 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000845/0.8953, allocations: 91.77 kB / 0.953 GB, free: 0.5234 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001435/0.8954, allocations: 48.92 kB / 0.953 GB, free: 488 kB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.748e-05/0.8955, allocations: 27.94 kB / 0.953 GB, free: 460 kB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0006105/0.8961, allocations: 463 kB / 0.9535 GB, free: 4 kB / 0.67 GB Notification: Performance of sort global known variables: time 3.51e-07/0.8961, allocations: 0 / 0.9535 GB, free: 4 kB / 0.67 GB Notification: Performance of remove unused functions: time 0.00097/0.8971, allocations: 316.1 kB / 0.9538 GB, free: 15.69 MB / 0.6856 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.0004177/0.8975, allocations: 214.7 kB / 0.954 GB, free: 15.48 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.002115/0.8996, allocations: 1 MB / 0.955 GB, free: 14.48 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.8996, allocations: 0 / 0.955 GB, free: 14.48 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0006588/0.9003, allocations: 438.1 kB / 0.9554 GB, free: 14.06 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002492/0.9028, allocations: 0.5972 MB / 0.956 GB, free: 13.48 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00436/0.9072, allocations: 2.754 MB / 0.9586 GB, free: 10.7 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008216/0.908, allocations: 1.12 MB / 0.9597 GB, free: 9.547 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001123/0.9091, allocations: 251.8 kB / 0.96 GB, free: 9.297 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002633/0.9094, allocations: 83.42 kB / 0.9601 GB, free: 9.215 MB / 0.6856 GB Notification: Performance of SimCode: time 9.81e-07/0.9094, allocations: 0 / 0.9601 GB, free: 9.215 MB / 0.6856 GB Notification: Performance of Templates: time 0.03894/0.9484, allocations: 20.33 MB / 0.9799 GB, free: 5.184 MB / 0.7012 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)