Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.DC.Lines.Examples.DCLine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001268/0.001268, allocations: 108.8 kB / 17.08 MB, free: 5.82 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00139/0.00139, allocations: 193.2 kB / 20.03 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.461/1.461, allocations: 222.9 MB / 245.7 MB, free: 4.219 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.695/2.695, allocations: 437.1 MB / 0.7178 GB, free: 4.555 MB / 0.5606 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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.Electrical.DC.Lines.Examples.DCLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|line1.R|line.R|line2.R|load1.i.1.|load2.i.1.|load3.i.1.|E.S.1.",fileNamePrefix="Buildings_10_Buildings.Electrical.DC.Lines.Examples.DCLine") translateModel(Buildings.Electrical.DC.Lines.Examples.DCLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|line1.R|line.R|line2.R|load1.i.1.|load2.i.1.|load3.i.1.|E.S.1.",fileNamePrefix="Buildings_10_Buildings.Electrical.DC.Lines.Examples.DCLine") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002134/0.002134, allocations: 63.89 kB / 1.028 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2774/0.2796, allocations: 151.6 MB / 1.176 GB, free: 5.949 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLine): time 0.008923/0.2885, allocations: 6.3 MB / 1.182 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.008275/0.2968, allocations: 4.542 MB / 1.186 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005034/0.2974, allocations: 23.88 kB / 1.186 GB, free: 11.03 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.002495/0.2999, allocations: 0.9181 MB / 1.187 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001922/0.3018, allocations: 0.7655 MB / 1.188 GB, free: 9.34 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007354/0.3026, allocations: 335.4 kB / 1.188 GB, free: 9.012 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001419/0.304, allocations: 1.144 MB / 1.19 GB, free: 7.863 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009266/0.3049, allocations: 0.681 MB / 1.19 GB, free: 7.176 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000612/0.3056, allocations: 478.4 kB / 1.191 GB, free: 6.707 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007344/0.3063, allocations: 0.4903 MB / 1.191 GB, free: 6.215 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001214/0.3064, allocations: 72 kB / 1.191 GB, free: 6.145 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005482/0.307, allocations: 283.5 kB / 1.191 GB, free: 5.867 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0002614/0.3073, allocations: 259.1 kB / 1.192 GB, free: 5.613 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0004443/0.3077, allocations: 406 kB / 1.192 GB, free: 5.215 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001296/0.309, allocations: 1.082 MB / 1.193 GB, free: 4.129 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.309, allocations: 4 kB / 1.193 GB, free: 4.125 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.833e-06/0.309, allocations: 4 kB / 1.193 GB, free: 4.121 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.056e-05/0.3091, allocations: 0 / 1.193 GB, free: 4.121 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.002051/0.3111, allocations: 1.132 MB / 1.194 GB, free: 2.938 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/0.3112, allocations: 8.031 kB / 1.194 GB, free: 2.93 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003289/0.3145, allocations: 0.6363 MB / 1.195 GB, free: 2.293 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009161/0.3154, allocations: 0.5741 MB / 1.195 GB, free: 1.68 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.789e-05/0.3154, allocations: 45.61 kB / 1.195 GB, free: 1.633 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.674e-05/0.3155, allocations: 56.11 kB / 1.196 GB, free: 1.578 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002072/0.3176, allocations: 1.026 MB / 1.197 GB, free: 0.5117 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.815e-05/0.3176, allocations: 0 / 1.197 GB, free: 0.5117 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.424e-05/0.3177, allocations: 24 kB / 1.197 GB, free: 500 kB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-05/0.3178, allocations: 53.28 kB / 1.197 GB, free: 448 kB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002467/0.3203, allocations: 0.9964 MB / 1.198 GB, free: 15.44 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004442/0.3247, allocations: 3.533 MB / 1.201 GB, free: 11.6 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001645/0.3264, allocations: 0.4906 MB / 1.202 GB, free: 11.1 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005786/0.327, allocations: 224.7 kB / 1.202 GB, free: 10.88 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 3.376e-05/0.327, allocations: 11.92 kB / 1.202 GB, free: 10.87 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.006e-05/0.3271, allocations: 38.56 kB / 1.202 GB, free: 10.82 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=31): time 2.154e-06/0.3271, allocations: 0 / 1.202 GB, free: 10.82 MB / 0.9512 GB Notification: Performance of matching and sorting (n=43): time 0.007532/0.3346, allocations: 2.105 MB / 1.204 GB, free: 8.672 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.35e-05/0.3347, allocations: 55.41 kB / 1.204 GB, free: 8.605 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007146/0.3354, allocations: 0.5704 MB / 1.204 GB, free: 8.023 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 4.465e-05/0.3354, allocations: 33.7 kB / 1.204 GB, free: 7.984 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002749/0.3357, allocations: 356.9 kB / 1.205 GB, free: 7.633 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001522/0.3359, allocations: 162.6 kB / 1.205 GB, free: 7.473 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001749/0.3361, allocations: 94.2 kB / 1.205 GB, free: 7.375 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001964/0.3363, allocations: 374.7 kB / 1.205 GB, free: 7 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007285/0.337, allocations: 266.9 kB / 1.206 GB, free: 6.734 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007972/0.3378, allocations: 373.8 kB / 1.206 GB, free: 6.324 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001518/0.3393, allocations: 0.6382 MB / 1.207 GB, free: 5.645 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.3394, allocations: 3.938 kB / 1.207 GB, free: 5.641 MB / 0.9512 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.002764/0.3421, allocations: 0.9942 MB / 1.208 GB, free: 4.621 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.039e-05/0.3422, allocations: 10.03 kB / 1.208 GB, free: 4.613 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.154e-06/0.3422, allocations: 4 kB / 1.208 GB, free: 4.609 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001448/0.3436, allocations: 328.8 kB / 1.208 GB, free: 4.27 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006084/0.3442, allocations: 119.8 kB / 1.208 GB, free: 4.152 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008919/0.3532, allocations: 9.29 MB / 1.217 GB, free: 10.03 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006584/0.3539, allocations: 39.95 kB / 1.217 GB, free: 9.992 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.593e-05/0.3539, allocations: 19.94 kB / 1.217 GB, free: 9.973 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001018/0.355, allocations: 457 kB / 1.218 GB, free: 9.523 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007855/0.3558, allocations: 361.4 kB / 1.218 GB, free: 9.129 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001503/0.3573, allocations: 0.6403 MB / 1.219 GB, free: 8.445 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.003e-06/0.3573, allocations: 0 / 1.219 GB, free: 8.445 MB / 0.9669 GB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.00265/0.3599, allocations: 0.9539 MB / 1.22 GB, free: 7.465 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.234e-05/0.36, allocations: 8 kB / 1.22 GB, free: 7.457 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.36, allocations: 4 kB / 1.22 GB, free: 7.453 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001192/0.3612, allocations: 293.1 kB / 1.22 GB, free: 7.148 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005886/0.3618, allocations: 115.8 kB / 1.22 GB, free: 7.035 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008199/0.37, allocations: 9.164 MB / 1.229 GB, free: 13.03 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006625/0.3707, allocations: 39.95 kB / 1.229 GB, free: 12.99 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.871e-05/0.3707, allocations: 23.94 kB / 1.229 GB, free: 12.96 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (47): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,2), (1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0002291/0.371, allocations: 216.1 kB / 1.229 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001118/0.3711, allocations: 71.52 kB / 1.229 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001916/0.3713, allocations: 86.38 kB / 1.229 GB, free: 12.59 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.162e-06/0.3713, allocations: 4 kB / 1.229 GB, free: 12.59 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.756e-06/0.3713, allocations: 0 / 1.229 GB, free: 12.59 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.885e-06/0.3713, allocations: 7.938 kB / 1.229 GB, free: 12.58 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008582/0.3722, allocations: 0.6572 MB / 1.23 GB, free: 11.87 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.3722, allocations: 0 / 1.23 GB, free: 11.87 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005004/0.3727, allocations: 91.86 kB / 1.23 GB, free: 11.78 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001184/0.3739, allocations: 288.9 kB / 1.23 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.995e-05/0.3739, allocations: 11.98 kB / 1.23 GB, free: 11.47 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008225/0.3822, allocations: 9.168 MB / 1.239 GB, free: 1.461 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.3822, allocations: 0 / 1.239 GB, free: 1.461 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002619/0.3848, allocations: 0.9525 MB / 1.24 GB, free: 484 kB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002706/0.3851, allocations: 188.6 kB / 1.24 GB, free: 276 kB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.168e-05/0.3852, allocations: 12 kB / 1.24 GB, free: 264 kB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000507/0.3857, allocations: 39.89 kB / 1.24 GB, free: 224 kB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001335/0.3859, allocations: 47.89 kB / 1.24 GB, free: 176 kB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.511e-05/0.3859, allocations: 8 kB / 1.241 GB, free: 168 kB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0005348/0.3864, allocations: 403 kB / 1.241 GB, free: 15.78 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3864, allocations: 0 / 1.241 GB, free: 15.78 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001053/0.3875, allocations: 312 kB / 1.241 GB, free: 15.47 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (31): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,2), (1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001484/0.3877, allocations: 119.2 kB / 1.241 GB, free: 15.35 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.004092/0.3918, allocations: 2.399 MB / 1.244 GB, free: 12.79 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.085e-06/0.3918, allocations: 0 / 1.244 GB, free: 12.79 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001492/0.3933, allocations: 1.012 MB / 1.245 GB, free: 11.7 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001001/0.3943, allocations: 240.6 kB / 1.245 GB, free: 11.48 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002674/0.397, allocations: 1.374 MB / 1.246 GB, free: 10.07 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007201/0.3977, allocations: 0.9898 MB / 1.247 GB, free: 9.051 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001964/0.3979, allocations: 47.42 kB / 1.247 GB, free: 9.004 MB / 0.9981 GB Notification: Performance of SimCode: time 5.21e-07/0.3979, allocations: 0 / 1.247 GB, free: 9.004 MB / 0.9981 GB Notification: Performance of Templates: time 0.5346/0.9325, allocations: 27.18 MB / 1.274 GB, free: 74.47 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Electrical.DC.Lines.Examples.DCLine.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe ; mkfifo Buildings_10_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe >> ../files/Buildings_10_Buildings.Electrical.DC.Lines.Examples.DCLine.sim & ./Buildings_10_Buildings.Electrical.DC.Lines.Examples.DCLine -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe 2>&1) [Timeout 400] [Calling os._exit(0), Time elapsed: 14.722323014982976] Failed to read output from testmodel.py, exit status != 0: 0.9396887290058658 0.949806803 0.638409852 Calling exit ...