Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.DHC.Networks.Examples.Distribution1PipeExample.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.00211/0.00211, allocations: 95.92 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.002755/0.002755, allocations: 211.7 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.624/1.624, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.331/3.331, allocations: 0.49 GB / 0.7959 GB, free: 35.5 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.Examples.Distribution1PipeExample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|terAutoSize.1..TLoaODE.TAir|minTSet.y|terAutoSize.1..QReqHea_flow|terAutoSize.1..QActHea_flow|terAutoSize.1..mReqHeaWat_flow|terAutoSize.1..port_aHeaWat.m_flow|terPlugFlow.1..TLoaODE.TAir|terPlugFlow.1..QReqHea_flow|terPlugFlow.1..QActHea_flow|terPlugFlow.1..mReqHeaWat_flow|terPlugFlow.1..port_aHeaWat.m_flow",fileNamePrefix="Buildings_12_Buildings.DHC.Networks.Examples.Distribution1PipeExample") translateModel(Buildings.DHC.Networks.Examples.Distribution1PipeExample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|terAutoSize.1..TLoaODE.TAir|minTSet.y|terAutoSize.1..QReqHea_flow|terAutoSize.1..QActHea_flow|terAutoSize.1..mReqHeaWat_flow|terAutoSize.1..port_aHeaWat.m_flow|terPlugFlow.1..TLoaODE.TAir|terPlugFlow.1..QReqHea_flow|terPlugFlow.1..QActHea_flow|terPlugFlow.1..mReqHeaWat_flow|terPlugFlow.1..port_aHeaWat.m_flow",fileNamePrefix="Buildings_12_Buildings.DHC.Networks.Examples.Distribution1PipeExample") [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.002596/0.002596, allocations: 69.2 kB / 1.155 GB, free: 25.21 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4106/0.4132, allocations: 176.1 MB / 1.327 GB, free: 0.9766 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Networks.Examples.Distribution1PipeExample): time 2.087/2.5, allocations: 0.8673 GB / 2.194 GB, free: 160 kB / 1.686 GB Notification: Performance of NFInst.instExpressions: time 1.508/4.008, allocations: 144.4 MB / 2.335 GB, free: 120.6 MB / 1.779 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.03611/4.044, allocations: 0.8708 MB / 2.336 GB, free: 120.6 MB / 1.779 GB Notification: Performance of NFTyping.typeComponents: time 0.03232/4.076, allocations: 9.282 MB / 2.345 GB, free: 120.6 MB / 1.779 GB Notification: Performance of NFTyping.typeBindings: time 0.0765/4.153, allocations: 24.85 MB / 2.37 GB, free: 119.9 MB / 1.779 GB Notification: Performance of NFTyping.typeClassSections: time 0.04493/4.198, allocations: 16.22 MB / 2.385 GB, free: 119.5 MB / 1.779 GB Notification: Performance of NFFlatten.flatten: time 0.4027/4.6, allocations: 254.5 MB / 2.634 GB, free: 29.06 MB / 1.779 GB Notification: Performance of NFFlatten.resolveConnections: time 0.1384/4.739, allocations: 52.02 MB / 2.685 GB, free: 9.648 MB / 1.811 GB Notification: Performance of NFEvalConstants.evaluate: time 0.1825/4.921, allocations: 66.22 MB / 2.749 GB, free: 10.36 MB / 1.873 GB Notification: Performance of NFSimplifyModel.simplify: time 0.1173/5.039, allocations: 49.6 MB / 2.798 GB, free: 12.08 MB / 1.92 GB Notification: Performance of NFPackage.collectConstants: time 0.03214/5.071, allocations: 7.023 MB / 2.805 GB, free: 5.059 MB / 1.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.07824/5.149, allocations: 16.3 MB / 2.821 GB, free: 5.492 MB / 1.936 GB Notification: Performance of NFScalarize.scalarize: time 0.05023/5.199, allocations: 22.63 MB / 2.843 GB, free: 15.16 MB / 1.967 GB Notification: Performance of NFVerifyModel.verify: time 0.1047/5.304, allocations: 32.05 MB / 2.874 GB, free: 15.26 MB / 1.998 GB Notification: Performance of NFConvertDAE.convert: time 0.2449/5.549, allocations: 128.2 MB / 2.999 GB, free: 1.836 MB / 2.107 GB Notification: Performance of FrontEnd - DAE generated: time 6.553e-06/5.549, allocations: 0 / 2.999 GB, free: 1.836 MB / 2.107 GB Notification: Performance of FrontEnd: time 1.933e-06/5.549, allocations: 0 / 2.999 GB, free: 1.836 MB / 2.107 GB Notification: Performance of Transformations before backend: time 0.004781/5.554, allocations: 3.938 kB / 2.999 GB, free: 1.832 MB / 2.107 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8856 * Number of variables: 8856 Notification: Performance of Generate backend data structure: time 2.265/7.819, allocations: 116.3 MB / 3.113 GB, free: 1.012 GB / 2.186 GB Notification: Performance of prepare preOptimizeDAE: time 7.939e-05/7.819, allocations: 10.42 kB / 3.113 GB, free: 1.012 GB / 2.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1152/7.934, allocations: 20.89 MB / 3.133 GB, free: 1.007 GB / 2.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2364/8.171, allocations: 101.5 MB / 3.232 GB, free: 0.9135 GB / 2.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003363/8.174, allocations: 2.83 MB / 3.235 GB, free: 0.9107 GB / 2.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01732/8.191, allocations: 3.693 MB / 3.239 GB, free: 0.9071 GB / 2.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.182/8.373, allocations: 66.2 MB / 3.303 GB, free: 0.8388 GB / 2.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.002449/8.376, allocations: 148.3 kB / 3.303 GB, free: 0.8387 GB / 2.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01805/8.394, allocations: 1.466 MB / 3.305 GB, free: 0.8373 GB / 2.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001409/8.395, allocations: 1.307 MB / 3.306 GB, free: 0.836 GB / 2.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1406/8.536, allocations: 52.12 MB / 3.357 GB, free: 0.7853 GB / 2.186 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.48/9.016, allocations: 222.7 MB / 3.574 GB, free: 0.5659 GB / 2.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06521/9.081, allocations: 31.23 MB / 3.605 GB, free: 0.5357 GB / 2.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.03439/9.116, allocations: 15.97 MB / 3.621 GB, free: 0.5201 GB / 2.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1636/9.279, allocations: 49.35 MB / 3.669 GB, free: 483.5 MB / 2.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.04474/9.324, allocations: 23.6 MB / 3.692 GB, free: 458.6 MB / 2.186 GB Notification: Performance of pre-optimization done (n=1487): time 3.557e-05/9.324, allocations: 4 kB / 3.692 GB, free: 458.6 MB / 2.186 GB Notification: Performance of matching and sorting (n=1487): time 0.265/9.589, allocations: 81.76 MB / 3.772 GB, free: 376.8 MB / 2.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002908/9.589, allocations: 0.7288 MB / 3.772 GB, free: 375.9 MB / 2.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1548/9.744, allocations: 72.2 MB / 3.843 GB, free: 304.1 MB / 2.186 GB Notification: Performance of collectPreVariables (initialization): time 0.006925/9.751, allocations: 484.3 kB / 3.843 GB, free: 303.7 MB / 2.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.04213/9.793, allocations: 32.86 MB / 3.875 GB, free: 270.9 MB / 2.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.01108/9.804, allocations: 5.779 MB / 3.881 GB, free: 265.2 MB / 2.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.03867/9.843, allocations: 9.209 MB / 3.89 GB, free: 256 MB / 2.186 GB Notification: Performance of setup shared object (initialization): time 5.347e-05/9.843, allocations: 301.1 kB / 3.89 GB, free: 255.7 MB / 2.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.05276/9.896, allocations: 26.47 MB / 3.916 GB, free: 229.2 MB / 2.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.06681/9.962, allocations: 47.91 MB / 3.963 GB, free: 173.8 MB / 2.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.106/10.07, allocations: 59.91 MB / 4.021 GB, free: 109.1 MB / 2.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0008371/10.07, allocations: 96 kB / 4.022 GB, free: 109 MB / 2.186 GB Notification: Performance of matching and sorting (n=5023) (initialization): time 0.1781/10.25, allocations: 76.18 MB / 4.096 GB, free: 32.67 MB / 2.186 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004949/10.25, allocations: 155.9 kB / 4.096 GB, free: 32.52 MB / 2.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000811/10.25, allocations: 348 kB / 4.096 GB, free: 32.18 MB / 2.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03023/10.28, allocations: 10.92 MB / 4.107 GB, free: 21.22 MB / 2.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.05299/10.33, allocations: 11.77 MB / 4.119 GB, free: 9.426 MB / 2.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.048/11.38, allocations: 34.65 MB / 4.152 GB, free: 0.9008 GB / 2.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0657/11.45, allocations: 6.321 MB / 4.159 GB, free: 0.9008 GB / 2.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.01075/11.46, allocations: 1.847 MB / 4.16 GB, free: 0.9008 GB / 2.186 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.09323/11.55, allocations: 48.67 MB / 4.208 GB, free: 0.8954 GB / 2.186 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.06838/11.62, allocations: 46.13 MB / 4.253 GB, free: 0.8633 GB / 2.186 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.1125/11.73, allocations: 56.54 MB / 4.308 GB, free: 0.8359 GB / 2.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.00082/11.73, allocations: 95.53 kB / 4.308 GB, free: 0.8359 GB / 2.186 GB Notification: Performance of matching and sorting (n=5023) (initialization_lambda0): time 0.1789/11.91, allocations: 71.21 MB / 4.378 GB, free: 0.7776 GB / 2.186 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008152/11.91, allocations: 151.9 kB / 4.378 GB, free: 0.7775 GB / 2.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001046/11.91, allocations: 352 kB / 4.378 GB, free: 0.7771 GB / 2.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02317/11.93, allocations: 8.611 MB / 4.387 GB, free: 0.7689 GB / 2.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.05328/11.99, allocations: 11.79 MB / 4.398 GB, free: 0.7575 GB / 2.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0269/12.01, allocations: 25.05 MB / 4.423 GB, free: 0.7327 GB / 2.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.06832/12.08, allocations: 5.529 MB / 4.428 GB, free: 0.7286 GB / 2.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.01011/12.09, allocations: 1.752 MB / 4.43 GB, free: 0.7269 GB / 2.186 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1530 * Number of states: 0 () * Number of discrete variables: 25 ($PRE.loa.nextTimeEvent,$whenCondition1,terPlugFlow[5].con.con1.y,terPlugFlow[4].con.con1.y,terPlugFlow[3].con.con1.y,terPlugFlow[2].con.con1.y,terPlugFlow[1].con.con1.y,terAutoSize[5].con.con1.y,terAutoSize[4].con.con1.y,terAutoSize[3].con.con1.y,terAutoSize[2].con.con1.y,terAutoSize[1].con.con1.y,terPlugFlow[5].hex.flowRegime_nominal,terPlugFlow[4].hex.flowRegime_nominal,terPlugFlow[3].hex.flowRegime_nominal,terPlugFlow[2].hex.flowRegime_nominal,terPlugFlow[1].hex.flowRegime_nominal,terAutoSize[5].hex.flowRegime_nominal,terAutoSize[4].hex.flowRegime_nominal,terAutoSize[3].hex.flowRegime_nominal,terAutoSize[2].hex.flowRegime_nominal,terAutoSize[1].hex.flowRegime_nominal,loa.nextTimeEventScaled,$PRE.loa.nextTimeEventScaled,loa.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3903): * Single equations (assignments): 3815 * Array equations: 22 * Algorithm blocks: 0 * Record equations: 34 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 16 * Torn equation systems: 16 * 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): 16 systems {1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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): 16 systems {(1,26), (1,26), (1,26), (1,26), (4,59), (1,5), (1,5), (1,5), (1,26), (1,5), (1,26), (1,5), (1,26), (1,5), (1,26), (4,59)} Notification: Performance of prepare postOptimizeDAE: time 0.01996/12.11, allocations: 2.267 MB / 4.432 GB, free: 0.7249 GB / 2.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0282/12.14, allocations: 5.638 MB / 4.438 GB, free: 0.7217 GB / 2.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1226/12.26, allocations: 42.82 MB / 4.479 GB, free: 0.6805 GB / 2.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.08856/12.35, allocations: 33.35 MB / 4.512 GB, free: 0.6478 GB / 2.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0003107/12.35, allocations: 23.98 kB / 4.512 GB, free: 0.6478 GB / 2.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.04691/12.4, allocations: 10.89 MB / 4.523 GB, free: 0.6373 GB / 2.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.02562/12.43, allocations: 363.9 kB / 4.523 GB, free: 0.6369 GB / 2.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.05199/12.48, allocations: 2.723 MB / 4.526 GB, free: 0.6343 GB / 2.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00721/12.48, allocations: 1.158 MB / 4.527 GB, free: 0.6332 GB / 2.186 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.1184/12.6, allocations: 45.09 MB / 4.571 GB, free: 0.5893 GB / 2.186 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.131/12.73, allocations: 54.96 MB / 4.624 GB, free: 0.5355 GB / 2.186 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.03138/12.77, allocations: 15.39 MB / 4.639 GB, free: 0.5204 GB / 2.186 GB Notification: Performance of sorting global known variables: time 0.1146/12.88, allocations: 49.92 MB / 4.688 GB, free: 483.3 MB / 2.186 GB Notification: Performance of Backend: time 1.092e-06/12.88, allocations: 0 / 4.688 GB, free: 483.3 MB / 2.186 GB Notification: Performance of simCode: created initialization part: time 0.3014/13.18, allocations: 88.08 MB / 4.774 GB, free: 396.2 MB / 2.186 GB Notification: Performance of SimCode: time 0.4237/13.61, allocations: 158.6 MB / 4.929 GB, free: 238 MB / 2.186 GB Notification: Performance of Templates: time 6.302/19.91, allocations: 1.384 GB / 6.313 GB, free: 0.7409 GB / 2.186 GB " [Timeout remaining time 280] make -j1 -f Buildings_12_Buildings.DHC.Networks.Examples.Distribution1PipeExample.makefile [Timeout 300] (rm -f Buildings_12_Buildings.DHC.Networks.Examples.Distribution1PipeExample.pipe ; mkfifo Buildings_12_Buildings.DHC.Networks.Examples.Distribution1PipeExample.pipe ; head -c 1048576 < Buildings_12_Buildings.DHC.Networks.Examples.Distribution1PipeExample.pipe >> ../files/Buildings_12_Buildings.DHC.Networks.Examples.Distribution1PipeExample.sim & ./Buildings_12_Buildings.DHC.Networks.Examples.Distribution1PipeExample -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.DHC.Networks.Examples.Distribution1PipeExample.pipe 2>&1) [Timeout 400] [Calling os._exit(0), Time elapsed: 66.01257443398936] Failed to read output from testmodel.py, exit status != 0: 19.92020039795898 19.93033261 14.378150621 Calling exit ...