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.001745/0.001745, allocations: 118.5 kB / 17.13 MB, free: 5.781 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.001921/0.001921, allocations: 193.2 kB / 20.08 MB, free: 2.871 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.473/1.473, allocations: 225.6 MB / 248.5 MB, free: 3.602 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.676/2.676, allocations: 443.5 MB / 0.7293 GB, free: 14.48 MB / 0.5762 GB " [Timeout remaining time 176] 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.001957/0.001957, allocations: 67.89 kB / 1.057 GB, free: 1.969 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3089/0.3109, allocations: 160.8 MB / 1.214 GB, free: 0.9258 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLine): time 0.008693/0.3196, allocations: 6.366 MB / 1.22 GB, free: 10.52 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.007074/0.3266, allocations: 4.592 MB / 1.225 GB, free: 5.91 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005191/0.3272, allocations: 23.88 kB / 1.225 GB, free: 5.887 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.002553/0.3297, allocations: 0.9296 MB / 1.226 GB, free: 4.957 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002181/0.3319, allocations: 0.7769 MB / 1.226 GB, free: 4.176 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007533/0.3326, allocations: 327.3 kB / 1.227 GB, free: 3.855 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001585/0.3342, allocations: 1.148 MB / 1.228 GB, free: 2.707 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008263/0.3351, allocations: 0.5483 MB / 1.228 GB, free: 2.152 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006734/0.3357, allocations: 494.3 kB / 1.229 GB, free: 1.668 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008113/0.3365, allocations: 0.5137 MB / 1.229 GB, free: 1.152 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001257/0.3367, allocations: 72 kB / 1.229 GB, free: 1.082 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005924/0.3373, allocations: 287.5 kB / 1.23 GB, free: 0.8008 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0002632/0.3375, allocations: 255.1 kB / 1.23 GB, free: 0.5508 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0004399/0.338, allocations: 417.9 kB / 1.23 GB, free: 144 kB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.00132/0.3393, allocations: 1.09 MB / 1.231 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.3393, allocations: 0 / 1.231 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.593e-06/0.3393, allocations: 0 / 1.231 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.175e-05/0.3393, allocations: 0 / 1.231 GB, free: 15.05 MB / 0.9825 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.002085/0.3414, allocations: 1.125 MB / 1.233 GB, free: 13.87 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.293e-05/0.3414, allocations: 8.031 kB / 1.233 GB, free: 13.86 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0033/0.3447, allocations: 0.6363 MB / 1.233 GB, free: 13.23 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009651/0.3457, allocations: 0.5741 MB / 1.234 GB, free: 12.61 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.111e-05/0.3457, allocations: 41.62 kB / 1.234 GB, free: 12.57 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001072/0.3458, allocations: 56.11 kB / 1.234 GB, free: 12.52 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002151/0.348, allocations: 1.022 MB / 1.235 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.375e-05/0.348, allocations: 11.94 kB / 1.235 GB, free: 11.44 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.629e-05/0.3481, allocations: 20 kB / 1.235 GB, free: 11.42 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.911e-05/0.3482, allocations: 49.28 kB / 1.235 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002542/0.3507, allocations: 1.008 MB / 1.236 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0048/0.3555, allocations: 3.506 MB / 1.239 GB, free: 6.555 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001706/0.3572, allocations: 494.3 kB / 1.24 GB, free: 6.062 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005891/0.3578, allocations: 208.7 kB / 1.24 GB, free: 5.855 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.582e-05/0.3578, allocations: 4 kB / 1.24 GB, free: 5.852 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.341e-05/0.3579, allocations: 38.56 kB / 1.24 GB, free: 5.805 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=31): time 1.853e-06/0.3579, allocations: 0 / 1.24 GB, free: 5.805 MB / 0.9825 GB Notification: Performance of matching and sorting (n=43): time 0.007963/0.3659, allocations: 2.101 MB / 1.242 GB, free: 3.66 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.707e-05/0.3659, allocations: 55.41 kB / 1.242 GB, free: 3.594 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007875/0.3667, allocations: 0.5743 MB / 1.243 GB, free: 3.008 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.991e-05/0.3667, allocations: 29.7 kB / 1.243 GB, free: 2.973 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002989/0.367, allocations: 360.9 kB / 1.243 GB, free: 2.617 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001489/0.3672, allocations: 158.6 kB / 1.243 GB, free: 2.461 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001941/0.3674, allocations: 90.2 kB / 1.243 GB, free: 2.367 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002103/0.3676, allocations: 374.7 kB / 1.244 GB, free: 1.992 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007432/0.3683, allocations: 270.9 kB / 1.244 GB, free: 1.723 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008228/0.3692, allocations: 381.7 kB / 1.244 GB, free: 1.305 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001548/0.3707, allocations: 0.6421 MB / 1.245 GB, free: 0.6211 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.519e-06/0.3707, allocations: 4 kB / 1.245 GB, free: 0.6172 MB / 0.9825 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.00292/0.3736, allocations: 0.9861 MB / 1.246 GB, free: 15.6 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.096e-05/0.3737, allocations: 10.03 kB / 1.246 GB, free: 15.59 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.043e-05/0.3737, allocations: 4 kB / 1.246 GB, free: 15.59 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001524/0.3752, allocations: 321.1 kB / 1.246 GB, free: 15.26 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006422/0.3758, allocations: 123.8 kB / 1.246 GB, free: 15.14 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00935/0.3852, allocations: 9.281 MB / 1.255 GB, free: 5.027 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007594/0.3859, allocations: 40.09 kB / 1.255 GB, free: 4.988 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.117e-05/0.386, allocations: 20 kB / 1.255 GB, free: 4.969 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001024/0.387, allocations: 453 kB / 1.256 GB, free: 4.523 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007907/0.3878, allocations: 365.4 kB / 1.256 GB, free: 4.125 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001504/0.3893, allocations: 0.6324 MB / 1.257 GB, free: 3.449 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.465e-06/0.3893, allocations: 0 / 1.257 GB, free: 3.449 MB / 0.9981 GB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.002769/0.3921, allocations: 0.9539 MB / 1.258 GB, free: 2.469 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.3921, allocations: 8 kB / 1.258 GB, free: 2.461 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.3921, allocations: 0 / 1.258 GB, free: 2.461 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00124/0.3933, allocations: 297.2 kB / 1.258 GB, free: 2.152 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000638/0.394, allocations: 119.8 kB / 1.258 GB, free: 2.035 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5952/0.9892, allocations: 9.155 MB / 1.267 GB, free: 40.86 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007245/0.9899, allocations: 42.89 kB / 1.267 GB, free: 40.86 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.826e-05/0.99, allocations: 23.11 kB / 1.267 GB, free: 40.86 MB / 0.9981 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.0001793/0.9901, allocations: 214 kB / 1.267 GB, free: 40.68 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001057/0.9902, allocations: 76.66 kB / 1.267 GB, free: 40.68 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000201/0.9904, allocations: 87.11 kB / 1.268 GB, free: 40.66 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.9904, allocations: 2.906 kB / 1.268 GB, free: 40.66 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.017e-05/0.9905, allocations: 2.938 kB / 1.268 GB, free: 40.66 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.9905, allocations: 0 / 1.268 GB, free: 40.66 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006592/0.9911, allocations: 0.6603 MB / 1.268 GB, free: 40.47 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.9911, allocations: 0 / 1.268 GB, free: 40.47 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004706/0.9916, allocations: 87.89 kB / 1.268 GB, free: 40.47 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001094/0.9927, allocations: 295.3 kB / 1.269 GB, free: 40.42 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.566e-05/0.9927, allocations: 11.75 kB / 1.269 GB, free: 40.42 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005289/0.998, allocations: 9.165 MB / 1.277 GB, free: 32.39 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.998, allocations: 0 / 1.277 GB, free: 32.39 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002423/1, allocations: 0.9471 MB / 1.278 GB, free: 32.2 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002492/1.001, allocations: 193.3 kB / 1.279 GB, free: 32.06 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.406e-05/1.001, allocations: 7.156 kB / 1.279 GB, free: 32.06 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005132/1.001, allocations: 43.73 kB / 1.279 GB, free: 32.06 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001516/1.001, allocations: 41.89 kB / 1.279 GB, free: 32.06 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.215e-05/1.001, allocations: 9.938 kB / 1.279 GB, free: 32.06 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0004615/1.002, allocations: 404 kB / 1.279 GB, free: 31.96 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/1.002, allocations: 0 / 1.279 GB, free: 31.96 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001057/1.003, allocations: 314.3 kB / 1.279 GB, free: 31.96 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.0001311/1.003, allocations: 114.2 kB / 1.279 GB, free: 31.88 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003657/1.007, allocations: 2.352 MB / 1.282 GB, free: 30.55 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/1.007, allocations: 0 / 1.282 GB, free: 30.55 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001352/1.008, allocations: 0.9966 MB / 1.283 GB, free: 29.88 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00108/1.009, allocations: 229 kB / 1.283 GB, free: 29.87 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002722/1.012, allocations: 1.369 MB / 1.284 GB, free: 29.32 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005879/1.013, allocations: 0.991 MB / 1.285 GB, free: 28.61 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002067/1.013, allocations: 51.64 kB / 1.285 GB, free: 28.61 MB / 0.9981 GB Notification: Performance of SimCode: time 1.032e-06/1.013, allocations: 0 / 1.285 GB, free: 28.61 MB / 0.9981 GB Notification: Performance of Templates: time 0.03899/1.052, allocations: 27.24 MB / 1.312 GB, free: 22.58 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: 15.559793884167448] Failed to read output from testmodel.py, exit status != 0: 1.0600817780941725 1.0701173 0.7284051069999999 Calling exit ...