Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.DHC.Networks.Connections.Examples.Connection1PipeExample.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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.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(Buildings.DHC.Networks.Connections.Examples.Connection1PipeExample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pumDisPipe_R.m_flow_actual|pumDisPlugFlow.m_flow_actual|pumConPipe_R.m_flow_actual|pumConPlugFlow.m_flow_actual|pumDisPipe_R.port_a.p|pumDisPipe_R.port_b.p|pumDisPlugFlow.port_a.p|pumDisPlugFlow.port_b.p",fileNamePrefix="Buildings_latest_Buildings.DHC.Networks.Connections.Examples.Connection1PipeExample") translateModel(Buildings.DHC.Networks.Connections.Examples.Connection1PipeExample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pumDisPipe_R.m_flow_actual|pumDisPlugFlow.m_flow_actual|pumConPipe_R.m_flow_actual|pumConPlugFlow.m_flow_actual|pumDisPipe_R.port_a.p|pumDisPipe_R.port_b.p|pumDisPlugFlow.port_a.p|pumDisPlugFlow.port_b.p",fileNamePrefix="Buildings_latest_Buildings.DHC.Networks.Connections.Examples.Connection1PipeExample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001707/0.001707, allocations: 115.2 kB / 16.42 MB, free: 6.5 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.001859/0.001859, allocations: 187.9 kB / 17.35 MB, free: 5.762 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.346/1.346, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.576/2.576, allocations: 461.9 MB / 0.7355 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001513/0.001513, allocations: 63.89 kB / 1.055 GB, free: 7.727 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8821/0.8836, allocations: 157.4 MB / 1.208 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Networks.Connections.Examples.Connection1PipeExample): time 0.295/1.179, allocations: 328.3 MB / 1.529 GB, free: 4.199 MB / 1.248 GB Notification: Performance of NFInst.instExpressions: time 1.008/2.187, allocations: 77.53 MB / 1.605 GB, free: 45.71 MB / 1.279 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01937/2.206, allocations: 386.9 kB / 1.605 GB, free: 45.71 MB / 1.279 GB Notification: Performance of NFTyping.typeComponents: time 0.01629/2.223, allocations: 5.223 MB / 1.61 GB, free: 45.65 MB / 1.279 GB Notification: Performance of NFTyping.typeBindings: time 0.03341/2.256, allocations: 11.69 MB / 1.622 GB, free: 45.19 MB / 1.279 GB Notification: Performance of NFTyping.typeClassSections: time 0.02182/2.278, allocations: 8.4 MB / 1.63 GB, free: 44.97 MB / 1.279 GB Notification: Performance of NFFlatten.flatten: time 0.07505/2.353, allocations: 44.98 MB / 1.674 GB, free: 44.62 MB / 1.279 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02175/2.375, allocations: 7.866 MB / 1.681 GB, free: 43.66 MB / 1.279 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03054/2.406, allocations: 9.577 MB / 1.691 GB, free: 41.98 MB / 1.279 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01859/2.424, allocations: 6.481 MB / 1.697 GB, free: 38.76 MB / 1.279 GB Notification: Performance of NFPackage.collectConstants: time 0.005806/2.43, allocations: 0.9018 MB / 1.698 GB, free: 38.76 MB / 1.279 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02049/2.451, allocations: 5.31 MB / 1.703 GB, free: 35.64 MB / 1.279 GB Notification: Performance of NFScalarize.scalarize: time 0.0053/2.456, allocations: 2.946 MB / 1.706 GB, free: 32.78 MB / 1.279 GB Notification: Performance of NFVerifyModel.verify: time 0.0144/2.47, allocations: 5.365 MB / 1.711 GB, free: 27.5 MB / 1.279 GB Notification: Performance of NFConvertDAE.convert: time 0.02969/2.5, allocations: 16.65 MB / 1.728 GB, free: 11.43 MB / 1.279 GB Notification: Performance of FrontEnd - DAE generated: time 7.153e-06/2.5, allocations: 4 kB / 1.728 GB, free: 11.42 MB / 1.279 GB Notification: Performance of FrontEnd: time 1.763e-06/2.5, allocations: 0 / 1.728 GB, free: 11.42 MB / 1.279 GB Notification: Performance of Transformations before backend: time 0.0004832/2.501, allocations: 0 / 1.728 GB, free: 11.42 MB / 1.279 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1058 * Number of variables: 1058 Notification: Performance of Generate backend data structure: time 0.02349/2.524, allocations: 10.6 MB / 1.738 GB, free: 0.8398 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 5.016e-05/2.524, allocations: 8.031 kB / 1.738 GB, free: 0.832 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0103/2.534, allocations: 2.029 MB / 1.74 GB, free: 14.79 MB / 1.295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0246/2.559, allocations: 11.73 MB / 1.751 GB, free: 3.363 MB / 1.295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00037/2.559, allocations: 347.2 kB / 1.752 GB, free: 3.023 MB / 1.295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001555/2.561, allocations: 460 kB / 1.752 GB, free: 2.574 MB / 1.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01194/2.573, allocations: 5.835 MB / 1.758 GB, free: 12.48 MB / 1.311 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.576e-05/2.573, allocations: 14.09 kB / 1.758 GB, free: 12.47 MB / 1.311 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004885/2.574, allocations: 180.4 kB / 1.758 GB, free: 12.3 MB / 1.311 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001122/2.574, allocations: 124 kB / 1.758 GB, free: 12.18 MB / 1.311 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01017/2.584, allocations: 4.496 MB / 1.763 GB, free: 7.75 MB / 1.311 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.05828/2.642, allocations: 33.82 MB / 1.796 GB, free: 4.066 MB / 1.342 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008007/2.65, allocations: 2.747 MB / 1.798 GB, free: 1.328 MB / 1.342 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00307/2.653, allocations: 1.308 MB / 1.8 GB, free: 24 kB / 1.342 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0243/2.678, allocations: 9.817 MB / 1.809 GB, free: 5.707 MB / 1.357 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.325e-05/2.678, allocations: 67.67 kB / 1.809 GB, free: 5.633 MB / 1.357 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003977/2.682, allocations: 259.4 kB / 1.809 GB, free: 5.379 MB / 1.357 GB Notification: Performance of pre-optimization done (n=152): time 1.217e-05/2.682, allocations: 3.938 kB / 1.809 GB, free: 5.375 MB / 1.357 GB Notification: Performance of matching and sorting (n=152): time 0.01361/2.695, allocations: 3.982 MB / 1.813 GB, free: 1.383 MB / 1.357 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.608e-05/2.696, allocations: 72.72 kB / 1.813 GB, free: 1.297 MB / 1.357 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02379/2.719, allocations: 8.389 MB / 1.822 GB, free: 8.973 MB / 1.373 GB Notification: Performance of collectPreVariables (initialization): time 0.001147/2.721, allocations: 73.7 kB / 1.822 GB, free: 8.895 MB / 1.373 GB Notification: Performance of collectInitialEqns (initialization): time 0.006377/2.727, allocations: 4.065 MB / 1.826 GB, free: 4.848 MB / 1.373 GB Notification: Performance of collectInitialBindings (initialization): time 0.001467/2.728, allocations: 0.586 MB / 1.826 GB, free: 4.266 MB / 1.373 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004609/2.733, allocations: 1.25 MB / 1.827 GB, free: 3.008 MB / 1.373 GB Notification: Performance of setup shared object (initialization): time 0.0001291/2.733, allocations: 305.1 kB / 1.828 GB, free: 2.707 MB / 1.373 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005934/2.739, allocations: 3.173 MB / 1.831 GB, free: 15.53 MB / 1.389 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007699/2.747, allocations: 5.007 MB / 1.836 GB, free: 9.727 MB / 1.389 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01329/2.76, allocations: 7.553 MB / 1.843 GB, free: 1.695 MB / 1.389 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.469e-05/2.76, allocations: 16 kB / 1.843 GB, free: 1.68 MB / 1.389 GB Notification: Performance of matching and sorting (n=712) (initialization): time 0.02425/2.785, allocations: 8.99 MB / 1.852 GB, free: 8.973 MB / 1.404 GB Notification: Performance of prepare postOptimizeDAE: time 9.526e-05/2.785, allocations: 28 kB / 1.852 GB, free: 8.945 MB / 1.404 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001339/2.785, allocations: 55.98 kB / 1.852 GB, free: 8.891 MB / 1.404 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008996/2.786, allocations: 208.1 kB / 1.852 GB, free: 8.688 MB / 1.404 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01069/2.797, allocations: 1.524 MB / 1.854 GB, free: 7.219 MB / 1.404 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005823/2.802, allocations: 4.1 MB / 1.858 GB, free: 2.977 MB / 1.404 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01238/2.815, allocations: 463.9 kB / 1.858 GB, free: 2.523 MB / 1.404 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001786/2.817, allocations: 315.8 kB / 1.858 GB, free: 2.215 MB / 1.404 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0157/2.832, allocations: 4.475 MB / 1.863 GB, free: 13.73 MB / 1.42 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.009812/2.842, allocations: 4.639 MB / 1.867 GB, free: 8.25 MB / 1.42 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01613/2.858, allocations: 6.789 MB / 1.874 GB, free: 0.7539 MB / 1.42 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.864e-05/2.859, allocations: 12 kB / 1.874 GB, free: 0.7422 MB / 1.42 GB Notification: Performance of matching and sorting (n=712) (initialization_lambda0): time 0.02898/2.888, allocations: 8.197 MB / 1.882 GB, free: 8.516 MB / 1.436 GB Notification: Performance of prepare postOptimizeDAE: time 9.47e-05/2.888, allocations: 28 kB / 1.882 GB, free: 8.488 MB / 1.436 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001614/2.888, allocations: 52 kB / 1.882 GB, free: 8.438 MB / 1.436 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009243/2.889, allocations: 208.7 kB / 1.882 GB, free: 8.23 MB / 1.436 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00905/2.898, allocations: 1.52 MB / 1.884 GB, free: 6.711 MB / 1.436 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001419/2.899, allocations: 1.357 MB / 1.885 GB, free: 5.305 MB / 1.436 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009506/2.909, allocations: 472.5 kB / 1.885 GB, free: 4.844 MB / 1.436 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001496/2.91, allocations: 283.9 kB / 1.886 GB, free: 4.566 MB / 1.436 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 228 * 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 (565): * Single equations (assignments): 549 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 5 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 5 systems {1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems 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.00216/2.913, allocations: 470.6 kB / 1.886 GB, free: 4.098 MB / 1.436 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003221/2.916, allocations: 0.7519 MB / 1.887 GB, free: 3.336 MB / 1.436 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01109/2.927, allocations: 3.724 MB / 1.891 GB, free: 15.64 MB / 1.451 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005547/2.933, allocations: 2.746 MB / 1.893 GB, free: 12.81 MB / 1.451 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.559e-05/2.933, allocations: 4 kB / 1.893 GB, free: 12.81 MB / 1.451 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00486/2.938, allocations: 1.182 MB / 1.894 GB, free: 11.6 MB / 1.451 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003026/2.941, allocations: 35.98 kB / 1.894 GB, free: 11.56 MB / 1.451 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005999/2.947, allocations: 219.6 kB / 1.895 GB, free: 11.35 MB / 1.451 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000504/2.947, allocations: 125.8 kB / 1.895 GB, free: 11.23 MB / 1.451 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.008487/2.956, allocations: 3.118 MB / 1.898 GB, free: 8.113 MB / 1.451 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01126/2.967, allocations: 4.975 MB / 1.903 GB, free: 3.117 MB / 1.451 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002474/2.969, allocations: 1.257 MB / 1.904 GB, free: 1.859 MB / 1.451 GB Notification: Performance of sorting global known variables: time 0.01657/2.986, allocations: 5.54 MB / 1.909 GB, free: 12.37 MB / 1.467 GB Notification: Performance of Backend: time 1.733e-06/2.986, allocations: 0 / 1.909 GB, free: 12.37 MB / 1.467 GB Notification: Performance of simCode: created initialization part: time 0.0422/3.028, allocations: 11.39 MB / 1.92 GB, free: 1.133 MB / 1.467 GB Notification: Performance of SimCode: time 0.04706/3.075, allocations: 17.46 MB / 1.937 GB, free: 15.84 MB / 1.498 GB Notification: Performance of Templates: time 0.2952/3.371, allocations: 172.2 MB / 2.106 GB, free: 5.211 MB / 1.654 GB make -j1 -f Buildings_latest_Buildings.DHC.Networks.Connections.Examples.Connection1PipeExample.makefile (rm -f Buildings_latest_Buildings.DHC.Networks.Connections.Examples.Connection1PipeExample.pipe ; mkfifo Buildings_latest_Buildings.DHC.Networks.Connections.Examples.Connection1PipeExample.pipe ; head -c 1048576 < Buildings_latest_Buildings.DHC.Networks.Connections.Examples.Connection1PipeExample.pipe >> ../files/Buildings_latest_Buildings.DHC.Networks.Connections.Examples.Connection1PipeExample.sim & ./Buildings_latest_Buildings.DHC.Networks.Connections.Examples.Connection1PipeExample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.DHC.Networks.Connections.Examples.Connection1PipeExample.pipe 2>&1)