Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.DHC.Networks.Connections.Examples.Connection2PipeExample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001378/0.001378, allocations: 109.1 kB / 19.71 MB, free: 2.145 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001614/0.001614, allocations: 213.6 kB / 23 MB, free: 4.965 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.493/1.493, allocations: 230.6 MB / 256.8 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.378/3.378, allocations: 0.49 GB / 0.7959 GB, free: 35.58 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.DHC.Networks.Connections.Examples.Connection2PipeExample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_12_Buildings.DHC.Networks.Connections.Examples.Connection2PipeExample") translateModel(Buildings.DHC.Networks.Connections.Examples.Connection2PipeExample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_12_Buildings.DHC.Networks.Connections.Examples.Connection2PipeExample") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002278/0.002278, allocations: 65.39 kB / 1.155 GB, free: 25.19 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4325/0.4348, allocations: 176.1 MB / 1.327 GB, free: 1.016 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Networks.Connections.Examples.Connection2PipeExample): time 1.557/1.992, allocations: 350.4 MB / 1.669 GB, free: 48.25 MB / 1.295 GB Notification: Performance of NFInst.instExpressions: time 0.143/2.135, allocations: 86.31 MB / 1.754 GB, free: 38.32 MB / 1.295 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.02694/2.162, allocations: 0.5723 MB / 1.754 GB, free: 38.32 MB / 1.295 GB Notification: Performance of NFTyping.typeComponents: time 0.02284/2.184, allocations: 6.027 MB / 1.76 GB, free: 36.92 MB / 1.295 GB Notification: Performance of NFTyping.typeBindings: time 0.05125/2.236, allocations: 14.83 MB / 1.775 GB, free: 28.69 MB / 1.295 GB Notification: Performance of NFTyping.typeClassSections: time 0.02792/2.264, allocations: 10.04 MB / 1.784 GB, free: 22.18 MB / 1.295 GB Notification: Performance of NFFlatten.flatten: time 0.07651/2.34, allocations: 51.52 MB / 1.835 GB, free: 100 kB / 1.311 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01956/2.36, allocations: 7.572 MB / 1.842 GB, free: 8.555 MB / 1.326 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03884/2.399, allocations: 12.51 MB / 1.854 GB, free: 12.39 MB / 1.342 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02269/2.421, allocations: 8.027 MB / 1.862 GB, free: 4.324 MB / 1.342 GB Notification: Performance of NFPackage.collectConstants: time 0.005816/2.427, allocations: 1.035 MB / 1.863 GB, free: 3.289 MB / 1.342 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02212/2.449, allocations: 5.269 MB / 1.868 GB, free: 14.01 MB / 1.357 GB Notification: Performance of NFScalarize.scalarize: time 0.008094/2.457, allocations: 3.441 MB / 1.872 GB, free: 10.56 MB / 1.357 GB Notification: Performance of NFVerifyModel.verify: time 0.0166/2.474, allocations: 4.938 MB / 1.876 GB, free: 5.598 MB / 1.357 GB Notification: Performance of NFConvertDAE.convert: time 0.05057/2.524, allocations: 19.79 MB / 1.896 GB, free: 1.742 MB / 1.373 GB Notification: Performance of FrontEnd - DAE generated: time 8.155e-06/2.524, allocations: 0 / 1.896 GB, free: 1.742 MB / 1.373 GB Notification: Performance of FrontEnd: time 2.334e-06/2.524, allocations: 4 kB / 1.896 GB, free: 1.738 MB / 1.373 GB Notification: Performance of Transformations before backend: time 0.0007636/2.525, allocations: 0 / 1.896 GB, free: 1.738 MB / 1.373 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.04517/2.57, allocations: 12.63 MB / 1.908 GB, free: 5.02 MB / 1.389 GB Notification: Performance of prepare preOptimizeDAE: time 7.013e-05/2.57, allocations: 8.031 kB / 1.908 GB, free: 5.012 MB / 1.389 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01878/2.589, allocations: 2.756 MB / 1.911 GB, free: 2.246 MB / 1.389 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03825/2.628, allocations: 12.74 MB / 1.923 GB, free: 5.371 MB / 1.404 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006279/2.628, allocations: 418.1 kB / 1.924 GB, free: 4.961 MB / 1.404 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002774/2.631, allocations: 0.5507 MB / 1.924 GB, free: 4.41 MB / 1.404 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0218/2.653, allocations: 7.776 MB / 1.932 GB, free: 12.12 MB / 1.42 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001889/2.653, allocations: 19.86 kB / 1.932 GB, free: 12.11 MB / 1.42 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001231/2.654, allocations: 212 kB / 1.932 GB, free: 11.9 MB / 1.42 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001891/2.654, allocations: 147.9 kB / 1.932 GB, free: 11.75 MB / 1.42 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01627/2.671, allocations: 5.335 MB / 1.937 GB, free: 6.41 MB / 1.42 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.0725/2.743, allocations: 28.92 MB / 1.966 GB, free: 8.797 MB / 1.451 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01046/2.754, allocations: 3.446 MB / 1.969 GB, free: 5.348 MB / 1.451 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003634/2.757, allocations: 1.512 MB / 1.97 GB, free: 3.84 MB / 1.451 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03012/2.787, allocations: 8.731 MB / 1.979 GB, free: 11.08 MB / 1.467 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.237e-05/2.787, allocations: 60.56 kB / 1.979 GB, free: 11.01 MB / 1.467 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.006033/2.793, allocations: 329.3 kB / 1.979 GB, free: 10.69 MB / 1.467 GB Notification: Performance of pre-optimization done (n=212): time 1.526e-05/2.793, allocations: 4 kB / 1.979 GB, free: 10.68 MB / 1.467 GB Notification: Performance of matching and sorting (n=212): time 0.01786/2.811, allocations: 5.099 MB / 1.984 GB, free: 5.57 MB / 1.467 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.948e-05/2.811, allocations: 77.39 kB / 1.984 GB, free: 5.48 MB / 1.467 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02263/2.834, allocations: 9.427 MB / 1.994 GB, free: 12.1 MB / 1.482 GB Notification: Performance of collectPreVariables (initialization): time 0.001252/2.835, allocations: 89.7 kB / 1.994 GB, free: 12.01 MB / 1.482 GB Notification: Performance of collectInitialEqns (initialization): time 0.007129/2.842, allocations: 4.783 MB / 1.998 GB, free: 7.199 MB / 1.482 GB Notification: Performance of collectInitialBindings (initialization): time 0.001967/2.844, allocations: 0.8408 MB / 1.999 GB, free: 6.352 MB / 1.482 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003589/2.848, allocations: 1.464 MB / 2.001 GB, free: 4.875 MB / 1.482 GB Notification: Performance of setup shared object (initialization): time 0.0002565/2.848, allocations: 305.1 kB / 2.001 GB, free: 4.574 MB / 1.482 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008007/2.856, allocations: 3.805 MB / 2.005 GB, free: 0.7539 MB / 1.482 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01212/2.868, allocations: 6.835 MB / 2.011 GB, free: 8.766 MB / 1.498 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01763/2.886, allocations: 8.835 MB / 2.02 GB, free: 15.08 MB / 1.514 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.711e-05/2.886, allocations: 16 kB / 2.02 GB, free: 15.07 MB / 1.514 GB Notification: Performance of matching and sorting (n=842) (initialization): time 0.02711/2.913, allocations: 10.78 MB / 2.03 GB, free: 4.203 MB / 1.514 GB Notification: Performance of prepare postOptimizeDAE: time 6.651e-05/2.913, allocations: 28 kB / 2.03 GB, free: 4.176 MB / 1.514 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001287/2.913, allocations: 60 kB / 2.031 GB, free: 4.117 MB / 1.514 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001447/2.915, allocations: 349.9 kB / 2.031 GB, free: 3.77 MB / 1.514 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01399/2.929, allocations: 2.258 MB / 2.033 GB, free: 1.508 MB / 1.514 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005977/2.935, allocations: 5.389 MB / 2.038 GB, free: 11.93 MB / 1.529 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01157/2.946, allocations: 0.5739 MB / 2.039 GB, free: 11.35 MB / 1.529 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002082/2.948, allocations: 359.9 kB / 2.039 GB, free: 11 MB / 1.529 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01462/2.963, allocations: 5.337 MB / 2.044 GB, free: 5.652 MB / 1.529 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01171/2.975, allocations: 6.451 MB / 2.051 GB, free: 14.04 MB / 1.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0166/2.991, allocations: 8.036 MB / 2.059 GB, free: 5.145 MB / 1.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.189e-05/2.991, allocations: 16 kB / 2.059 GB, free: 5.129 MB / 1.545 GB Notification: Performance of matching and sorting (n=842) (initialization_lambda0): time 0.03418/3.026, allocations: 9.958 MB / 2.068 GB, free: 11.09 MB / 1.561 GB Notification: Performance of prepare postOptimizeDAE: time 8.96e-05/3.026, allocations: 28 kB / 2.068 GB, free: 11.06 MB / 1.561 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002203/3.026, allocations: 71.92 kB / 2.068 GB, free: 10.99 MB / 1.561 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001867/3.028, allocations: 337.9 kB / 2.069 GB, free: 10.66 MB / 1.561 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01852/3.046, allocations: 2.247 MB / 2.071 GB, free: 8.406 MB / 1.561 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003803/3.05, allocations: 2.628 MB / 2.074 GB, free: 5.68 MB / 1.561 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01601/3.066, allocations: 0.5859 MB / 2.074 GB, free: 5.094 MB / 1.561 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002278/3.068, allocations: 331.8 kB / 2.074 GB, free: 4.77 MB / 1.561 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 257 * 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 (688): * Single equations (assignments): 668 * 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.002679/3.071, allocations: 0.5261 MB / 2.075 GB, free: 4.234 MB / 1.561 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00451/3.076, allocations: 0.9041 MB / 2.076 GB, free: 3.324 MB / 1.561 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01804/3.094, allocations: 4.866 MB / 2.081 GB, free: 14.46 MB / 1.576 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008424/3.102, allocations: 3.262 MB / 2.084 GB, free: 11.14 MB / 1.576 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.286e-05/3.102, allocations: 4 kB / 2.084 GB, free: 11.14 MB / 1.576 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006652/3.109, allocations: 1.374 MB / 2.085 GB, free: 9.758 MB / 1.576 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003084/3.112, allocations: 59.98 kB / 2.085 GB, free: 9.699 MB / 1.576 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00627/3.118, allocations: 259.6 kB / 2.085 GB, free: 9.445 MB / 1.576 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006352/3.119, allocations: 201.6 kB / 2.086 GB, free: 9.246 MB / 1.576 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01137/3.13, allocations: 4.157 MB / 2.09 GB, free: 5.02 MB / 1.576 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01466/3.145, allocations: 6.471 MB / 2.096 GB, free: 14.46 MB / 1.592 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00344/3.148, allocations: 1.581 MB / 2.097 GB, free: 12.87 MB / 1.592 GB Notification: Performance of sorting global known variables: time 0.01547/3.164, allocations: 6.162 MB / 2.104 GB, free: 6.75 MB / 1.592 GB Notification: Performance of Backend: time 5.91e-07/3.164, allocations: 0 / 2.104 GB, free: 6.75 MB / 1.592 GB Notification: Performance of simCode: created initialization part: time 0.05597/3.22, allocations: 14.15 MB / 2.117 GB, free: 8.594 MB / 1.607 GB Notification: Performance of SimCode: time 0.05418/3.274, allocations: 20.78 MB / 2.138 GB, free: 3.906 MB / 1.623 GB Notification: Performance of Templates: time 1.846/5.12, allocations: 230.2 MB / 2.362 GB, free: 0.6274 GB / 1.748 GB " [Timeout remaining time 295] make -j1 -f Buildings_12_Buildings.DHC.Networks.Connections.Examples.Connection2PipeExample.makefile [Timeout 300] (rm -f Buildings_12_Buildings.DHC.Networks.Connections.Examples.Connection2PipeExample.pipe ; mkfifo Buildings_12_Buildings.DHC.Networks.Connections.Examples.Connection2PipeExample.pipe ; head -c 1048576 < Buildings_12_Buildings.DHC.Networks.Connections.Examples.Connection2PipeExample.pipe >> ../files/Buildings_12_Buildings.DHC.Networks.Connections.Examples.Connection2PipeExample.sim & ./Buildings_12_Buildings.DHC.Networks.Connections.Examples.Connection2PipeExample -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.DHC.Networks.Connections.Examples.Connection2PipeExample.pipe 2>&1) [Timeout 400] [Calling os._exit(0), Time elapsed: 21.661530461002258] Failed to read output from testmodel.py, exit status != 0: 5.130700631998479 5.140203801 2.6127640469999998 Calling exit ...