Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal.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.001949/0.001949, 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.002282/0.002282, allocations: 210.5 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.469/1.469, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.229/3.229, allocations: 0.49 GB / 0.7959 GB, free: 35.48 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.Fluid.Examples.ResistanceVolumeFlowReversal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|res.1..m_flow|res.2..m_flow|senTem.1..T|senTem.2..T",fileNamePrefix="Buildings_12_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal") translateModel(Buildings.Fluid.Examples.ResistanceVolumeFlowReversal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|res.1..m_flow|res.2..m_flow|senTem.1..T|senTem.2..T",fileNamePrefix="Buildings_12_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal") [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.002018/0.002018, allocations: 64.41 kB / 1.155 GB, free: 25.18 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3164/0.3184, allocations: 176.1 MB / 1.327 GB, free: 1.039 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.ResistanceVolumeFlowReversal): time 0.08898/0.4074, allocations: 77.32 MB / 1.403 GB, free: 3.453 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.03253/0.4399, allocations: 19.9 MB / 1.422 GB, free: 15.51 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004241/0.4442, allocations: 146.8 kB / 1.422 GB, free: 15.37 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.005835/0.45, allocations: 2.018 MB / 1.424 GB, free: 13.34 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.008304/0.4583, allocations: 3.142 MB / 1.427 GB, free: 10.18 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.006379/0.4647, allocations: 2.705 MB / 1.43 GB, free: 7.492 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.02365/0.4883, allocations: 20.41 MB / 1.45 GB, free: 3.023 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008698/0.497, allocations: 5.618 MB / 1.455 GB, free: 13.3 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01544/0.5125, allocations: 7.259 MB / 1.462 GB, free: 6.055 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01039/0.5229, allocations: 5.895 MB / 1.468 GB, free: 140 kB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.002071/0.5249, allocations: 0.6016 MB / 1.469 GB, free: 15.53 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00614/0.5311, allocations: 1.951 MB / 1.471 GB, free: 13.58 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.002967/0.534, allocations: 1.973 MB / 1.473 GB, free: 11.6 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.006548/0.5406, allocations: 3.205 MB / 1.476 GB, free: 8.383 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.01488/0.5555, allocations: 10.6 MB / 1.486 GB, free: 13.74 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.5555, allocations: 0 / 1.486 GB, free: 13.74 MB / 1.186 GB Notification: Performance of FrontEnd: time 3.737e-06/0.5555, allocations: 4 kB / 1.486 GB, free: 13.74 MB / 1.186 GB Notification: Performance of Transformations before backend: time 0.0002747/0.5558, allocations: 0 / 1.486 GB, free: 13.74 MB / 1.186 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 955 * Number of variables: 955 Notification: Performance of Generate backend data structure: time 0.01867/0.5744, allocations: 7.726 MB / 1.494 GB, free: 5.926 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.556e-05/0.5745, allocations: 8.75 kB / 1.494 GB, free: 5.918 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005058/0.5795, allocations: 1.065 MB / 1.495 GB, free: 4.848 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01612/0.5956, allocations: 6.863 MB / 1.501 GB, free: 13.89 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002911/0.5959, allocations: 291.5 kB / 1.502 GB, free: 13.61 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001101/0.597, allocations: 400 kB / 1.502 GB, free: 13.22 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01252/0.6096, allocations: 7.159 MB / 1.509 GB, free: 5.605 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.301e-05/0.6096, allocations: 11.88 kB / 1.509 GB, free: 5.594 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005217/0.6102, allocations: 164 kB / 1.509 GB, free: 5.434 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.959e-05/0.6102, allocations: 99.94 kB / 1.509 GB, free: 5.336 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01104/0.6213, allocations: 5.995 MB / 1.515 GB, free: 15.33 MB / 1.217 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.03865/0.6599, allocations: 20.65 MB / 1.535 GB, free: 10.25 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006309/0.6662, allocations: 3.161 MB / 1.538 GB, free: 7.09 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003455/0.6697, allocations: 1.923 MB / 1.54 GB, free: 5.164 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01476/0.6845, allocations: 6.171 MB / 1.546 GB, free: 14.96 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004425/0.6889, allocations: 2.893 MB / 1.549 GB, free: 11.89 MB / 1.248 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005565/0.6944, allocations: 1.356 MB / 1.55 GB, free: 10.53 MB / 1.248 GB Notification: Performance of pre-optimization done (n=222): time 9.007e-06/0.6945, allocations: 4 kB / 1.55 GB, free: 10.53 MB / 1.248 GB Notification: Performance of matching and sorting (n=222): time 0.03468/0.7291, allocations: 9.835 MB / 1.56 GB, free: 0.668 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.035e-05/0.7292, allocations: 77.41 kB / 1.56 GB, free: 0.582 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009181/0.7384, allocations: 5.742 MB / 1.566 GB, free: 10.82 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 0.0007057/0.7391, allocations: 81.64 kB / 1.566 GB, free: 10.73 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.002971/0.7421, allocations: 2.896 MB / 1.569 GB, free: 7.824 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.001308/0.7434, allocations: 0.8289 MB / 1.569 GB, free: 6.988 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001462/0.7448, allocations: 0.8753 MB / 1.57 GB, free: 6.105 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 0.0001271/0.745, allocations: 305.1 kB / 1.571 GB, free: 5.805 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003785/0.7487, allocations: 2.136 MB / 1.573 GB, free: 3.656 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005367/0.7541, allocations: 4.148 MB / 1.577 GB, free: 14.77 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009022/0.7631, allocations: 5.528 MB / 1.582 GB, free: 8.727 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.639e-05/0.7632, allocations: 8 kB / 1.582 GB, free: 8.719 MB / 1.279 GB Notification: Performance of matching and sorting (n=479) (initialization): time 0.04352/0.8067, allocations: 10.84 MB / 1.593 GB, free: 13.79 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 8.862e-05/0.8068, allocations: 47.42 kB / 1.593 GB, free: 13.74 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.885e-05/0.8068, allocations: 39.98 kB / 1.593 GB, free: 13.7 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.8456/1.652, allocations: 20.79 MB / 1.613 GB, free: 261.9 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004344/1.657, allocations: 0.9024 MB / 1.614 GB, free: 261.9 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009378/1.666, allocations: 5.31 MB / 1.619 GB, free: 260.3 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005582/1.672, allocations: 271.1 kB / 1.619 GB, free: 260.3 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008391/1.673, allocations: 231.5 kB / 1.62 GB, free: 260.3 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.007449/1.68, allocations: 3.674 MB / 1.623 GB, free: 259.6 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004803/1.685, allocations: 4.11 MB / 1.627 GB, free: 256.4 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0082/1.693, allocations: 5.428 MB / 1.632 GB, free: 253.3 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.097e-05/1.693, allocations: 9.031 kB / 1.632 GB, free: 253.3 MB / 1.295 GB Notification: Performance of matching and sorting (n=479) (initialization_lambda0): time 0.02195/1.715, allocations: 8.047 MB / 1.64 GB, free: 250.9 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 7.069e-05/1.715, allocations: 53.45 kB / 1.64 GB, free: 250.8 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.917e-05/1.715, allocations: 33.34 kB / 1.64 GB, free: 250.8 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1175/1.833, allocations: 20.58 MB / 1.661 GB, free: 238.1 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003784/1.836, allocations: 0.8931 MB / 1.661 GB, free: 237.2 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009385/1.846, allocations: 8.364 MB / 1.67 GB, free: 228.7 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006004/1.852, allocations: 272.1 kB / 1.67 GB, free: 228.5 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009147/1.853, allocations: 223.8 kB / 1.67 GB, free: 228.2 MB / 1.295 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 154 * Number of states: 0 () * Number of discrete variables: 7 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,nRes.y,allowFlowReversal.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (384): * Single equations (assignments): 378 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 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): 3 systems {(11,25), (10,11), (2,5)} Notification: Performance of prepare postOptimizeDAE: time 0.001635/1.854, allocations: 407.4 kB / 1.67 GB, free: 227.9 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002388/1.857, allocations: 0.5491 MB / 1.671 GB, free: 227.6 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01269/1.87, allocations: 6.109 MB / 1.677 GB, free: 221.5 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007917/1.877, allocations: 5.335 MB / 1.682 GB, free: 215.9 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.269e-05/1.877, allocations: 0.6875 kB / 1.682 GB, free: 215.9 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003565/1.881, allocations: 1.029 MB / 1.683 GB, free: 215 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001696/1.883, allocations: 52 kB / 1.683 GB, free: 214.9 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003729/1.886, allocations: 174.2 kB / 1.683 GB, free: 214.7 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003955/1.887, allocations: 197.6 kB / 1.684 GB, free: 214.5 MB / 1.295 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01188/1.899, allocations: 5.31 MB / 1.689 GB, free: 209.2 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.009692/1.908, allocations: 6.341 MB / 1.695 GB, free: 202.8 MB / 1.295 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002367/1.911, allocations: 1.714 MB / 1.697 GB, free: 201.1 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.00632/1.917, allocations: 3.866 MB / 1.7 GB, free: 197.2 MB / 1.295 GB Notification: Performance of Backend: time 8.31e-07/1.917, allocations: 4 kB / 1.7 GB, free: 197.2 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.01751/1.935, allocations: 7.203 MB / 1.707 GB, free: 190.1 MB / 1.295 GB Notification: Performance of SimCode: time 0.02794/1.963, allocations: 14.49 MB / 1.722 GB, free: 175.7 MB / 1.295 GB Notification: Performance of Templates: time 0.1722/2.135, allocations: 148.3 MB / 1.866 GB, free: 29 MB / 1.295 GB " [Timeout remaining time 298] make -j1 -f Buildings_12_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal.pipe ; mkfifo Buildings_12_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal.pipe >> ../files/Buildings_12_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal.sim & ./Buildings_12_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal.pipe 2>&1) [Timeout 400] [Calling os._exit(0), Time elapsed: 26.030986559999292] Failed to read output from testmodel.py, exit status != 0: 2.1427342319948366 2.152299797 1.594373983 Calling exit ...