Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.DHC.Networks.Connections.Examples.Connection1PipeExample.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.001365/0.001365, allocations: 97.11 kB / 19.7 MB, free: 2.129 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.001438/0.001438, allocations: 209.8 kB / 23 MB, free: 4.934 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.46/1.46, allocations: 230.6 MB / 256.8 MB, free: 7.781 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.348/3.348, allocations: 0.49 GB / 0.7959 GB, free: 35.43 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.Connection1PipeExample,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.Connection1PipeExample") translateModel(Buildings.DHC.Networks.Connections.Examples.Connection1PipeExample,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.Connection1PipeExample") [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.003283/0.003283, allocations: 70.39 kB / 1.155 GB, free: 25.25 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4378/0.4411, allocations: 176.1 MB / 1.327 GB, free: 0.9688 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Networks.Connections.Examples.Connection1PipeExample): time 1.38/1.821, allocations: 302.6 MB / 1.623 GB, free: 44.71 MB / 1.295 GB Notification: Performance of NFInst.instExpressions: time 0.1258/1.947, allocations: 72.7 MB / 1.694 GB, free: 43.83 MB / 1.295 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.03144/1.978, allocations: 0.5155 MB / 1.694 GB, free: 43.83 MB / 1.295 GB Notification: Performance of NFTyping.typeComponents: time 0.02073/1.999, allocations: 5.26 MB / 1.699 GB, free: 43.74 MB / 1.295 GB Notification: Performance of NFTyping.typeBindings: time 0.04991/2.049, allocations: 12.53 MB / 1.711 GB, free: 42.98 MB / 1.295 GB Notification: Performance of NFTyping.typeClassSections: time 0.027/2.076, allocations: 8.8 MB / 1.72 GB, free: 39.36 MB / 1.295 GB Notification: Performance of NFFlatten.flatten: time 0.07157/2.147, allocations: 46.57 MB / 1.766 GB, free: 20.48 MB / 1.295 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01414/2.161, allocations: 6.228 MB / 1.772 GB, free: 15.98 MB / 1.295 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02949/2.191, allocations: 10.45 MB / 1.782 GB, free: 10.15 MB / 1.295 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01588/2.207, allocations: 6.679 MB / 1.788 GB, free: 4.367 MB / 1.295 GB Notification: Performance of NFPackage.collectConstants: time 0.004293/2.211, allocations: 0.8242 MB / 1.789 GB, free: 3.543 MB / 1.295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01949/2.231, allocations: 4.466 MB / 1.793 GB, free: 15.29 MB / 1.311 GB Notification: Performance of NFScalarize.scalarize: time 0.007587/2.238, allocations: 2.935 MB / 1.796 GB, free: 12.39 MB / 1.311 GB Notification: Performance of NFVerifyModel.verify: time 0.01534/2.253, allocations: 4.12 MB / 1.8 GB, free: 8.285 MB / 1.311 GB Notification: Performance of NFConvertDAE.convert: time 0.04274/2.296, allocations: 16.42 MB / 1.816 GB, free: 8.379 MB / 1.326 GB Notification: Performance of FrontEnd - DAE generated: time 7.454e-06/2.296, allocations: 0 / 1.816 GB, free: 8.379 MB / 1.326 GB Notification: Performance of FrontEnd: time 2.044e-06/2.296, allocations: 0 / 1.816 GB, free: 8.379 MB / 1.326 GB Notification: Performance of Transformations before backend: time 0.0006475/2.297, allocations: 0 / 1.816 GB, free: 8.379 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: 1058 * Number of variables: 1058 Notification: Performance of Generate backend data structure: time 0.03492/2.332, allocations: 10.7 MB / 1.827 GB, free: 13.73 MB / 1.342 GB Notification: Performance of prepare preOptimizeDAE: time 6.996e-05/2.332, allocations: 12.03 kB / 1.827 GB, free: 13.71 MB / 1.342 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01513/2.347, allocations: 2.327 MB / 1.829 GB, free: 11.38 MB / 1.342 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03332/2.38, allocations: 11.17 MB / 1.84 GB, free: 384 kB / 1.342 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005321/2.381, allocations: 336.3 kB / 1.84 GB, free: 44 kB / 1.342 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002136/2.383, allocations: 459.7 kB / 1.841 GB, free: 15.6 MB / 1.357 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01453/2.398, allocations: 6.523 MB / 1.847 GB, free: 8.637 MB / 1.357 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001076/2.398, allocations: 11.88 kB / 1.847 GB, free: 8.625 MB / 1.357 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005883/2.398, allocations: 187.9 kB / 1.847 GB, free: 8.441 MB / 1.357 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001495/2.398, allocations: 124 kB / 1.847 GB, free: 8.32 MB / 1.357 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01159/2.41, allocations: 4.498 MB / 1.852 GB, free: 3.82 MB / 1.357 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.05742/2.467, allocations: 23.78 MB / 1.875 GB, free: 11.72 MB / 1.389 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008502/2.476, allocations: 2.643 MB / 1.878 GB, free: 9.078 MB / 1.389 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002849/2.479, allocations: 1.229 MB / 1.879 GB, free: 7.855 MB / 1.389 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02113/2.5, allocations: 6.645 MB / 1.885 GB, free: 1.25 MB / 1.389 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.531e-05/2.5, allocations: 51.88 kB / 1.885 GB, free: 1.191 MB / 1.389 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003992/2.504, allocations: 260.8 kB / 1.886 GB, free: 0.9375 MB / 1.389 GB Notification: Performance of pre-optimization done (n=152): time 1.231e-05/2.504, allocations: 0 / 1.886 GB, free: 0.9375 MB / 1.389 GB Notification: Performance of matching and sorting (n=152): time 0.01186/2.516, allocations: 3.984 MB / 1.89 GB, free: 12.98 MB / 1.404 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.019e-05/2.516, allocations: 64.72 kB / 1.89 GB, free: 12.9 MB / 1.404 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01881/2.535, allocations: 8.375 MB / 1.898 GB, free: 4.59 MB / 1.404 GB Notification: Performance of collectPreVariables (initialization): time 0.001067/2.536, allocations: 73.7 kB / 1.898 GB, free: 4.512 MB / 1.404 GB Notification: Performance of collectInitialEqns (initialization): time 0.00564/2.541, allocations: 4.152 MB / 1.902 GB, free: 392 kB / 1.404 GB Notification: Performance of collectInitialBindings (initialization): time 0.0018/2.543, allocations: 0.6035 MB / 1.903 GB, free: 15.78 MB / 1.42 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002752/2.546, allocations: 1.246 MB / 1.904 GB, free: 14.53 MB / 1.42 GB Notification: Performance of setup shared object (initialization): time 0.0001714/2.546, allocations: 309.1 kB / 1.904 GB, free: 14.22 MB / 1.42 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005597/2.552, allocations: 3.235 MB / 1.907 GB, free: 10.98 MB / 1.42 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008009/2.56, allocations: 5.879 MB / 1.913 GB, free: 4.098 MB / 1.42 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01258/2.572, allocations: 7.675 MB / 1.92 GB, free: 11.73 MB / 1.436 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.485e-05/2.572, allocations: 19.75 kB / 1.92 GB, free: 11.71 MB / 1.436 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.02134/2.594, allocations: 9.124 MB / 1.929 GB, free: 2.566 MB / 1.436 GB Notification: Performance of prepare postOptimizeDAE: time 6.286e-05/2.594, allocations: 28 kB / 1.929 GB, free: 2.539 MB / 1.436 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001106/2.594, allocations: 60.03 kB / 1.929 GB, free: 2.48 MB / 1.436 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008282/2.595, allocations: 204.7 kB / 1.93 GB, free: 2.277 MB / 1.436 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009568/2.604, allocations: 1.599 MB / 1.931 GB, free: 0.6758 MB / 1.436 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004592/2.609, allocations: 4.112 MB / 1.935 GB, free: 12.42 MB / 1.451 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009048/2.618, allocations: 427.9 kB / 1.936 GB, free: 12 MB / 1.451 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001399/2.619, allocations: 310.4 kB / 1.936 GB, free: 11.7 MB / 1.451 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01074/2.63, allocations: 4.527 MB / 1.94 GB, free: 7.164 MB / 1.451 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.008459/2.638, allocations: 5.482 MB / 1.946 GB, free: 0.6523 MB / 1.451 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01225/2.651, allocations: 6.89 MB / 1.952 GB, free: 9.055 MB / 1.467 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.755e-05/2.651, allocations: 16 kB / 1.952 GB, free: 9.039 MB / 1.467 GB Notification: Performance of matching and sorting (n=713) (initialization_lambda0): time 0.01911/2.67, allocations: 8.317 MB / 1.961 GB, free: 0.6992 MB / 1.467 GB Notification: Performance of prepare postOptimizeDAE: time 5.136e-05/2.67, allocations: 24.97 kB / 1.961 GB, free: 0.6758 MB / 1.467 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.892e-05/2.67, allocations: 56 kB / 1.961 GB, free: 0.6211 MB / 1.467 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007008/2.671, allocations: 212.8 kB / 1.961 GB, free: 420 kB / 1.467 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007967/2.679, allocations: 1.576 MB / 1.962 GB, free: 14.83 MB / 1.482 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001351/2.68, allocations: 1.353 MB / 1.964 GB, free: 13.43 MB / 1.482 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008702/2.689, allocations: 436 kB / 1.964 GB, free: 13 MB / 1.482 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001303/2.69, allocations: 279.9 kB / 1.964 GB, free: 12.73 MB / 1.482 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 229 * 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 (566): * Single equations (assignments): 550 * 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.001449/2.692, allocations: 470.5 kB / 1.965 GB, free: 12.26 MB / 1.482 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003095/2.695, allocations: 0.7877 MB / 1.966 GB, free: 11.47 MB / 1.482 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009938/2.705, allocations: 3.769 MB / 1.969 GB, free: 7.738 MB / 1.482 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005673/2.71, allocations: 2.784 MB / 1.972 GB, free: 4.863 MB / 1.482 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.286e-05/2.71, allocations: 7.984 kB / 1.972 GB, free: 4.855 MB / 1.482 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005523/2.716, allocations: 1.129 MB / 1.973 GB, free: 3.727 MB / 1.482 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002679/2.718, allocations: 43.98 kB / 1.973 GB, free: 3.684 MB / 1.482 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005381/2.724, allocations: 187.8 kB / 1.973 GB, free: 3.5 MB / 1.482 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004498/2.724, allocations: 137.7 kB / 1.973 GB, free: 3.363 MB / 1.482 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.008129/2.732, allocations: 3.14 MB / 1.977 GB, free: 248 kB / 1.482 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0119/2.744, allocations: 5.09 MB / 1.981 GB, free: 11.14 MB / 1.498 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002833/2.747, allocations: 1.198 MB / 1.983 GB, free: 9.938 MB / 1.498 GB Notification: Performance of sorting global known variables: time 0.01403/2.761, allocations: 5.473 MB / 1.988 GB, free: 4.516 MB / 1.498 GB Notification: Performance of Backend: time 8.11e-07/2.761, allocations: 0 / 1.988 GB, free: 4.516 MB / 1.498 GB Notification: Performance of simCode: created initialization part: time 0.03958/2.801, allocations: 10.91 MB / 1.999 GB, free: 9.746 MB / 1.514 GB Notification: Performance of SimCode: time 0.04803/2.849, allocations: 17.69 MB / 2.016 GB, free: 8.16 MB / 1.529 GB Notification: Performance of Templates: time 0.3376/3.186, allocations: 192.1 MB / 2.203 GB, free: 9.898 MB / 1.717 GB " [Timeout remaining time 297] make -j1 -f Buildings_12_Buildings.DHC.Networks.Connections.Examples.Connection1PipeExample.makefile [Timeout 300] (rm -f Buildings_12_Buildings.DHC.Networks.Connections.Examples.Connection1PipeExample.pipe ; mkfifo Buildings_12_Buildings.DHC.Networks.Connections.Examples.Connection1PipeExample.pipe ; head -c 1048576 < Buildings_12_Buildings.DHC.Networks.Connections.Examples.Connection1PipeExample.pipe >> ../files/Buildings_12_Buildings.DHC.Networks.Connections.Examples.Connection1PipeExample.sim & ./Buildings_12_Buildings.DHC.Networks.Connections.Examples.Connection1PipeExample -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.DHC.Networks.Connections.Examples.Connection1PipeExample.pipe 2>&1) [Timeout 400] [Calling os._exit(0), Time elapsed: 17.61844467800256] Failed to read output from testmodel.py, exit status != 0: 3.198695247003343 3.211964061 0.911831953 Calling exit ...