Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.DHC.Networks.Connections.Examples.Connection2PipeExample.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.Connection2PipeExample,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.Connection2PipeExample") translateModel(Buildings.DHC.Networks.Connections.Examples.Connection2PipeExample,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.Connection2PipeExample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001299/0.001299, allocations: 112.6 kB / 16.42 MB, free: 6.445 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.001312/0.001312, allocations: 189.4 kB / 17.35 MB, free: 5.703 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.318/1.318, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.561/2.561, allocations: 461.9 MB / 0.7355 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001338/0.001338, allocations: 64.12 kB / 1.055 GB, free: 7.73 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.081/1.083, allocations: 157.4 MB / 1.208 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Networks.Connections.Examples.Connection2PipeExample): time 1.338/2.421, allocations: 380.3 MB / 1.58 GB, free: 49.78 MB / 1.279 GB Notification: Performance of NFInst.instExpressions: time 0.1478/2.569, allocations: 92.11 MB / 1.67 GB, free: 48.63 MB / 1.279 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.02647/2.596, allocations: 430.7 kB / 1.67 GB, free: 48.63 MB / 1.279 GB Notification: Performance of NFTyping.typeComponents: time 0.02282/2.618, allocations: 5.984 MB / 1.676 GB, free: 48.52 MB / 1.279 GB Notification: Performance of NFTyping.typeBindings: time 0.05495/2.673, allocations: 13.84 MB / 1.69 GB, free: 47.98 MB / 1.279 GB Notification: Performance of NFTyping.typeClassSections: time 0.03858/2.712, allocations: 9.616 MB / 1.699 GB, free: 44.79 MB / 1.279 GB Notification: Performance of NFFlatten.flatten: time 0.08196/2.794, allocations: 49.81 MB / 1.748 GB, free: 18.58 MB / 1.279 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02371/2.818, allocations: 9.769 MB / 1.757 GB, free: 8.828 MB / 1.279 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03818/2.856, allocations: 11.43 MB / 1.768 GB, free: 14.07 MB / 1.295 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02295/2.879, allocations: 7.843 MB / 1.776 GB, free: 6.828 MB / 1.295 GB Notification: Performance of NFPackage.collectConstants: time 0.007457/2.887, allocations: 1.117 MB / 1.777 GB, free: 5.711 MB / 1.295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02768/2.914, allocations: 6.28 MB / 1.783 GB, free: 15.76 MB / 1.311 GB Notification: Performance of NFScalarize.scalarize: time 0.009169/2.923, allocations: 3.453 MB / 1.786 GB, free: 12.36 MB / 1.311 GB Notification: Performance of NFVerifyModel.verify: time 0.02299/2.947, allocations: 6.394 MB / 1.793 GB, free: 5.988 MB / 1.311 GB Notification: Performance of NFConvertDAE.convert: time 0.05269/2.999, allocations: 20.03 MB / 1.812 GB, free: 2.547 MB / 1.326 GB Notification: Performance of FrontEnd - DAE generated: time 1.107e-05/2.999, allocations: 0 / 1.812 GB, free: 2.547 MB / 1.326 GB Notification: Performance of FrontEnd: time 4.118e-06/2.999, allocations: 0 / 1.812 GB, free: 2.547 MB / 1.326 GB Notification: Performance of Transformations before backend: time 0.0008725/3, allocations: 0 / 1.812 GB, free: 2.547 MB / 1.326 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1291 * Number of variables: 1291 Notification: Performance of Generate backend data structure: time 0.04662/3.047, allocations: 12.5 MB / 1.824 GB, free: 6.004 MB / 1.342 GB Notification: Performance of prepare preOptimizeDAE: time 7.458e-05/3.047, allocations: 12.02 kB / 1.825 GB, free: 5.992 MB / 1.342 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01553/3.062, allocations: 2.203 MB / 1.827 GB, free: 3.773 MB / 1.342 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04326/3.106, allocations: 13.36 MB / 1.84 GB, free: 6.621 MB / 1.357 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008065/3.107, allocations: 421 kB / 1.84 GB, free: 6.211 MB / 1.357 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003249/3.11, allocations: 0.5584 MB / 1.841 GB, free: 5.652 MB / 1.357 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02663/3.137, allocations: 6.94 MB / 1.847 GB, free: 14.4 MB / 1.373 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002924/3.137, allocations: 19.86 kB / 1.847 GB, free: 14.38 MB / 1.373 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001709/3.139, allocations: 218 kB / 1.848 GB, free: 14.17 MB / 1.373 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001931/3.139, allocations: 143.9 kB / 1.848 GB, free: 14.03 MB / 1.373 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01812/3.157, allocations: 5.333 MB / 1.853 GB, free: 8.684 MB / 1.373 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.09251/3.25, allocations: 41.24 MB / 1.893 GB, free: 12.87 MB / 1.42 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0131/3.263, allocations: 3.67 MB / 1.897 GB, free: 9.184 MB / 1.42 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004479/3.267, allocations: 1.614 MB / 1.898 GB, free: 7.57 MB / 1.42 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04043/3.308, allocations: 13.14 MB / 1.911 GB, free: 9.727 MB / 1.436 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001003/3.308, allocations: 72.48 kB / 1.911 GB, free: 9.648 MB / 1.436 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005575/3.313, allocations: 320.1 kB / 1.912 GB, free: 9.332 MB / 1.436 GB Notification: Performance of pre-optimization done (n=212): time 1.706e-05/3.314, allocations: 0 / 1.912 GB, free: 9.332 MB / 1.436 GB Notification: Performance of matching and sorting (n=212): time 0.01987/3.333, allocations: 5.196 MB / 1.917 GB, free: 4.09 MB / 1.436 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.508e-05/3.334, allocations: 81.34 kB / 1.917 GB, free: 3.996 MB / 1.436 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03464/3.368, allocations: 9.436 MB / 1.926 GB, free: 10.61 MB / 1.451 GB Notification: Performance of collectPreVariables (initialization): time 0.001824/3.37, allocations: 97.7 kB / 1.926 GB, free: 10.51 MB / 1.451 GB Notification: Performance of collectInitialEqns (initialization): time 0.0089/3.379, allocations: 4.676 MB / 1.931 GB, free: 5.844 MB / 1.451 GB Notification: Performance of collectInitialBindings (initialization): time 0.002546/3.382, allocations: 0.7919 MB / 1.931 GB, free: 5.059 MB / 1.451 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.007133/3.389, allocations: 1.475 MB / 1.933 GB, free: 3.574 MB / 1.451 GB Notification: Performance of setup shared object (initialization): time 0.0001342/3.389, allocations: 301.1 kB / 1.933 GB, free: 3.277 MB / 1.451 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009123/3.398, allocations: 3.74 MB / 1.937 GB, free: 15.54 MB / 1.467 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01117/3.409, allocations: 5.827 MB / 1.943 GB, free: 8.781 MB / 1.467 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01715/3.427, allocations: 8.721 MB / 1.951 GB, free: 15.21 MB / 1.482 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.445e-05/3.427, allocations: 19.94 kB / 1.951 GB, free: 15.19 MB / 1.482 GB Notification: Performance of matching and sorting (n=841) (initialization): time 0.03285/3.46, allocations: 10.63 MB / 1.961 GB, free: 4.484 MB / 1.482 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001549/3.46, allocations: 34.66 kB / 1.961 GB, free: 4.453 MB / 1.482 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002409/3.46, allocations: 60 kB / 1.962 GB, free: 4.395 MB / 1.482 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001786/3.462, allocations: 352.8 kB / 1.962 GB, free: 4.047 MB / 1.482 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01351/3.475, allocations: 2.137 MB / 1.964 GB, free: 1.906 MB / 1.482 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005965/3.481, allocations: 5.376 MB / 1.969 GB, free: 12.34 MB / 1.498 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01289/3.494, allocations: 0.6355 MB / 1.97 GB, free: 11.7 MB / 1.498 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002093/3.496, allocations: 359.8 kB / 1.97 GB, free: 11.35 MB / 1.498 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01629/3.513, allocations: 5.295 MB / 1.975 GB, free: 6.047 MB / 1.498 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0136/3.526, allocations: 5.45 MB / 1.981 GB, free: 15.66 MB / 1.514 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01724/3.544, allocations: 7.949 MB / 1.988 GB, free: 6.852 MB / 1.514 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001027/3.544, allocations: 16 kB / 1.988 GB, free: 6.836 MB / 1.514 GB Notification: Performance of matching and sorting (n=841) (initialization_lambda0): time 0.03106/3.575, allocations: 9.843 MB / 1.998 GB, free: 12.91 MB / 1.529 GB Notification: Performance of prepare postOptimizeDAE: time 9.442e-05/3.575, allocations: 28 kB / 1.998 GB, free: 12.88 MB / 1.529 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001886/3.575, allocations: 64.89 kB / 1.998 GB, free: 12.82 MB / 1.529 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00155/3.577, allocations: 353.5 kB / 1.998 GB, free: 12.47 MB / 1.529 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01301/3.59, allocations: 2.126 MB / 2.001 GB, free: 10.34 MB / 1.529 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002565/3.593, allocations: 2.624 MB / 2.003 GB, free: 7.617 MB / 1.529 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01321/3.606, allocations: 0.6612 MB / 2.004 GB, free: 6.957 MB / 1.529 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002136/3.608, allocations: 330.6 kB / 2.004 GB, free: 6.637 MB / 1.529 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 256 * 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 (687): * Single equations (assignments): 667 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 2 * 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): 6 systems {1, 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): 2 systems {(1,5), (1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.003613/3.612, allocations: 0.522 MB / 2.005 GB, free: 6.105 MB / 1.529 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006064/3.618, allocations: 0.8637 MB / 2.005 GB, free: 5.23 MB / 1.529 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01802/3.636, allocations: 4.812 MB / 2.01 GB, free: 432 kB / 1.529 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009017/3.645, allocations: 3.229 MB / 2.013 GB, free: 13.14 MB / 1.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-05/3.645, allocations: 4 kB / 2.013 GB, free: 13.13 MB / 1.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006878/3.652, allocations: 1.419 MB / 2.015 GB, free: 11.68 MB / 1.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004529/3.656, allocations: 56 kB / 2.015 GB, free: 11.63 MB / 1.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008402/3.665, allocations: 309.6 kB / 2.015 GB, free: 11.33 MB / 1.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008503/3.666, allocations: 185.8 kB / 2.015 GB, free: 11.14 MB / 1.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01371/3.679, allocations: 4.127 MB / 2.019 GB, free: 6.996 MB / 1.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01728/3.697, allocations: 6.348 MB / 2.025 GB, free: 0.5586 MB / 1.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004254/3.701, allocations: 1.668 MB / 2.027 GB, free: 14.88 MB / 1.561 GB Notification: Performance of sorting global known variables: time 0.02043/3.722, allocations: 6.237 MB / 2.033 GB, free: 8.684 MB / 1.561 GB Notification: Performance of Backend: time 1.813e-06/3.722, allocations: 3.938 kB / 2.033 GB, free: 8.68 MB / 1.561 GB Notification: Performance of simCode: created initialization part: time 0.06024/3.782, allocations: 14.56 MB / 2.047 GB, free: 10.28 MB / 1.576 GB Notification: Performance of SimCode: time 0.06772/3.85, allocations: 20.44 MB / 2.067 GB, free: 6.035 MB / 1.592 GB Notification: Performance of Templates: time 1.499/5.349, allocations: 206.9 MB / 2.269 GB, free: 0.705 GB / 1.717 GB make -j1 -f Buildings_latest_Buildings.DHC.Networks.Connections.Examples.Connection2PipeExample.makefile (rm -f Buildings_latest_Buildings.DHC.Networks.Connections.Examples.Connection2PipeExample.pipe ; mkfifo Buildings_latest_Buildings.DHC.Networks.Connections.Examples.Connection2PipeExample.pipe ; head -c 1048576 < Buildings_latest_Buildings.DHC.Networks.Connections.Examples.Connection2PipeExample.pipe >> ../files/Buildings_latest_Buildings.DHC.Networks.Connections.Examples.Connection2PipeExample.sim & ./Buildings_latest_Buildings.DHC.Networks.Connections.Examples.Connection2PipeExample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.DHC.Networks.Connections.Examples.Connection2PipeExample.pipe 2>&1)