Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLine.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.001373/0.001373, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001498/0.001498, allocations: 215 kB / 23.01 MB, free: 4.566 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.574/1.574, allocations: 230.6 MB / 256.8 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 3.029/3.029, allocations: 476.7 MB / 0.7714 GB, free: 4.215 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.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_11_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_11_Buildings.Electrical.DC.Lines.Examples.DCLine") [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.002061/0.002061, allocations: 68.22 kB / 1.119 GB, free: 40.35 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3657/0.3678, allocations: 170 MB / 1.285 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLine): time 0.009476/0.3773, allocations: 6.559 MB / 1.291 GB, free: 4.648 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.008036/0.3853, allocations: 4.701 MB / 1.296 GB, free: 15.93 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009683/0.3863, allocations: 39.69 kB / 1.296 GB, free: 15.89 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002947/0.3892, allocations: 0.9454 MB / 1.297 GB, free: 14.95 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0028/0.392, allocations: 0.7994 MB / 1.297 GB, free: 14.14 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008997/0.3929, allocations: 311.5 kB / 1.298 GB, free: 13.84 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001895/0.3948, allocations: 1.156 MB / 1.299 GB, free: 12.68 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009227/0.3957, allocations: 0.5833 MB / 1.299 GB, free: 12.09 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009153/0.3967, allocations: 0.5452 MB / 1.3 GB, free: 11.54 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007607/0.3974, allocations: 490.1 kB / 1.3 GB, free: 11.06 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001074/0.3975, allocations: 72 kB / 1.3 GB, free: 10.99 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006335/0.3982, allocations: 295.4 kB / 1.301 GB, free: 10.7 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002655/0.3984, allocations: 255.1 kB / 1.301 GB, free: 10.45 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.000445/0.3989, allocations: 410 kB / 1.301 GB, free: 10.05 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001432/0.4003, allocations: 1.074 MB / 1.302 GB, free: 8.969 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.4003, allocations: 7.938 kB / 1.302 GB, free: 8.961 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.643e-06/0.4003, allocations: 0 / 1.302 GB, free: 8.961 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.652e-05/0.4003, allocations: 0 / 1.302 GB, free: 8.961 MB / 0.9981 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.002129/0.4024, allocations: 1.049 MB / 1.303 GB, free: 7.879 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.742e-05/0.4025, allocations: 16.02 kB / 1.303 GB, free: 7.863 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003132/0.4056, allocations: 0.6284 MB / 1.304 GB, free: 7.234 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001175/0.4068, allocations: 0.5124 MB / 1.305 GB, free: 6.699 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.796e-05/0.4069, allocations: 41.69 kB / 1.305 GB, free: 6.656 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001078/0.407, allocations: 56.11 kB / 1.305 GB, free: 6.602 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002072/0.409, allocations: 1.007 MB / 1.306 GB, free: 5.559 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.935e-05/0.409, allocations: 0 / 1.306 GB, free: 5.559 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.288e-05/0.4091, allocations: 20 kB / 1.306 GB, free: 5.539 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.778e-05/0.4092, allocations: 49.28 kB / 1.306 GB, free: 5.492 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002333/0.4115, allocations: 1.004 MB / 1.307 GB, free: 4.484 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004936/0.4165, allocations: 3.466 MB / 1.31 GB, free: 0.7148 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001559/0.418, allocations: 486.3 kB / 1.31 GB, free: 236 kB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000523/0.4186, allocations: 204.7 kB / 1.311 GB, free: 28 kB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.611e-05/0.4186, allocations: 4 kB / 1.311 GB, free: 24 kB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.423e-05/0.4186, allocations: 46.55 kB / 1.311 GB, free: 15.97 MB / 1.014 GB Notification: Performance of pre-optimization done (n=31): time 2.224e-06/0.4186, allocations: 0 / 1.311 GB, free: 15.97 MB / 1.014 GB Notification: Performance of matching and sorting (n=43): time 0.007511/0.4262, allocations: 2.023 MB / 1.313 GB, free: 13.92 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.822e-05/0.4262, allocations: 59.34 kB / 1.313 GB, free: 13.85 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007867/0.427, allocations: 0.5705 MB / 1.313 GB, free: 13.27 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.818e-05/0.427, allocations: 29.7 kB / 1.313 GB, free: 13.23 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003003/0.4273, allocations: 360.8 kB / 1.314 GB, free: 12.88 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.00016/0.4275, allocations: 162.6 kB / 1.314 GB, free: 12.72 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001926/0.4277, allocations: 90.14 kB / 1.314 GB, free: 12.62 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0002068/0.4279, allocations: 378.7 kB / 1.314 GB, free: 12.25 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006811/0.4286, allocations: 266.7 kB / 1.315 GB, free: 11.98 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007568/0.4293, allocations: 373.2 kB / 1.315 GB, free: 11.57 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001439/0.4308, allocations: 0.646 MB / 1.316 GB, free: 10.89 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.4308, allocations: 0 / 1.316 GB, free: 10.89 MB / 1.014 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.002754/0.4335, allocations: 0.9859 MB / 1.316 GB, free: 9.875 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.316e-05/0.4336, allocations: 10.53 kB / 1.317 GB, free: 9.867 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.098e-05/0.4336, allocations: 8 kB / 1.317 GB, free: 9.859 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001521/0.4351, allocations: 328.8 kB / 1.317 GB, free: 9.52 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006211/0.4357, allocations: 115.8 kB / 1.317 GB, free: 9.406 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008749/0.4445, allocations: 8.666 MB / 1.325 GB, free: 64 kB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007354/0.4452, allocations: 47.94 kB / 1.325 GB, free: 16 kB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.082e-05/0.4452, allocations: 12 kB / 1.325 GB, free: 4 kB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009922/0.4462, allocations: 452.9 kB / 1.326 GB, free: 15.56 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000735/0.447, allocations: 368.7 kB / 1.326 GB, free: 15.15 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001408/0.4484, allocations: 0.6364 MB / 1.327 GB, free: 14.47 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.054e-06/0.4484, allocations: 0 / 1.327 GB, free: 14.47 MB / 1.029 GB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.00257/0.451, allocations: 0.9463 MB / 1.328 GB, free: 13.5 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/0.451, allocations: 8 kB / 1.328 GB, free: 13.49 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.451, allocations: 7.938 kB / 1.328 GB, free: 13.48 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001205/0.4522, allocations: 293 kB / 1.328 GB, free: 13.18 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000589/0.4528, allocations: 115.8 kB / 1.328 GB, free: 13.07 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007886/0.4607, allocations: 8.553 MB / 1.337 GB, free: 3.824 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007229/0.4614, allocations: 48.02 kB / 1.337 GB, free: 3.777 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.175e-05/0.4614, allocations: 19.94 kB / 1.337 GB, free: 3.758 MB / 1.029 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.0002582/0.4617, allocations: 213.8 kB / 1.337 GB, free: 3.547 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001202/0.4618, allocations: 75.58 kB / 1.337 GB, free: 3.473 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000204/0.462, allocations: 86.31 kB / 1.337 GB, free: 3.383 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.538e-06/0.462, allocations: 4 kB / 1.337 GB, free: 3.379 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.154e-05/0.462, allocations: 0 / 1.337 GB, free: 3.379 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.594e-06/0.462, allocations: 7.938 kB / 1.337 GB, free: 3.371 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008849/0.4629, allocations: 0.6327 MB / 1.338 GB, free: 2.695 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.4629, allocations: 0 / 1.338 GB, free: 2.695 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005028/0.4634, allocations: 87.92 kB / 1.338 GB, free: 2.609 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001199/0.4646, allocations: 292.8 kB / 1.338 GB, free: 2.305 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.026e-05/0.4647, allocations: 12 kB / 1.338 GB, free: 2.293 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008068/0.4727, allocations: 8.559 MB / 1.346 GB, free: 9.051 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.4727, allocations: 0 / 1.346 GB, free: 9.051 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002545/0.4753, allocations: 0.9409 MB / 1.347 GB, free: 8.074 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000333/0.4756, allocations: 111.5 kB / 1.347 GB, free: 7.965 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.371e-05/0.4757, allocations: 16 kB / 1.347 GB, free: 7.949 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004998/0.4762, allocations: 43.81 kB / 1.347 GB, free: 7.906 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001631/0.4764, allocations: 51.81 kB / 1.347 GB, free: 7.855 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.106e-05/0.4764, allocations: 8 kB / 1.347 GB, free: 7.848 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0005309/0.4769, allocations: 407.1 kB / 1.348 GB, free: 7.457 MB / 1.045 GB Notification: Performance of sort global known variables: time 7.1e-08/0.4769, allocations: 0 / 1.348 GB, free: 7.457 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.001149/0.4781, allocations: 308 kB / 1.348 GB, free: 7.156 MB / 1.045 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.0001656/0.4782, allocations: 111.2 kB / 1.348 GB, free: 7.035 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.004077/0.4823, allocations: 2.353 MB / 1.351 GB, free: 4.527 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 5.831e-06/0.4823, allocations: 0 / 1.351 GB, free: 4.527 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.001479/0.4838, allocations: 0.9998 MB / 1.352 GB, free: 3.449 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001102/0.4849, allocations: 227.9 kB / 1.352 GB, free: 3.23 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002847/0.4877, allocations: 1.389 MB / 1.353 GB, free: 1.805 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007007/0.4884, allocations: 0.982 MB / 1.354 GB, free: 0.7969 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001891/0.4886, allocations: 55.42 kB / 1.354 GB, free: 0.7422 MB / 1.045 GB Notification: Performance of SimCode: time 9.41e-07/0.4886, allocations: 0 / 1.354 GB, free: 0.7422 MB / 1.045 GB Notification: Performance of Templates: time 0.03463/0.5233, allocations: 27.23 MB / 1.381 GB, free: 5.562 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLine.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe ; mkfifo Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe >> ../files/Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLine.sim & ./Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLine -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe 2>&1) [Timeout 400] [Calling os._exit(0), Time elapsed: 15.614908795017982] Failed to read output from testmodel.py, exit status != 0: 1.1371284179913346 0.5474342799999999 0.143884348 Calling exit ...