Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001485/0.001485, allocations: 121.7 kB / 17.13 MB, free: 5.93 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.001504/0.001504, allocations: 213.8 kB / 20.1 MB, free: 2.98 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.567/1.567, allocations: 230.6 MB / 253.5 MB, free: 15.12 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 2.984/2.984, allocations: 0.49 GB / 0.7923 GB, free: 1.297 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.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_12_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_12_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.002015/0.002015, allocations: 59.91 kB / 1.15 GB, free: 14.91 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.106/1.108, allocations: 176.1 MB / 1.322 GB, free: 25.09 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLine): time 0.006613/1.115, allocations: 6.395 MB / 1.328 GB, free: 20.73 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.006234/1.121, allocations: 4.616 MB / 1.333 GB, free: 17.55 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006864/1.122, allocations: 37.78 kB / 1.333 GB, free: 17.53 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.002374/1.124, allocations: 0.9239 MB / 1.334 GB, free: 16.98 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.002412/1.126, allocations: 0.7806 MB / 1.334 GB, free: 16.52 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008768/1.127, allocations: 328.8 kB / 1.335 GB, free: 16.36 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.001655/1.129, allocations: 1.152 MB / 1.336 GB, free: 15.82 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007991/1.13, allocations: 0.5523 MB / 1.336 GB, free: 15.55 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0011/1.131, allocations: 0.546 MB / 1.337 GB, free: 15.33 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007977/1.132, allocations: 489.3 kB / 1.337 GB, free: 15.12 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0001197/1.132, allocations: 73.69 kB / 1.337 GB, free: 15.12 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005967/1.132, allocations: 290.6 kB / 1.338 GB, free: 15.04 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0002359/1.133, allocations: 253.5 kB / 1.338 GB, free: 14.92 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0003655/1.133, allocations: 410.2 kB / 1.338 GB, free: 14.67 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001332/1.134, allocations: 1.081 MB / 1.339 GB, free: 14.27 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/1.134, allocations: 0 / 1.339 GB, free: 14.27 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.914e-06/1.134, allocations: 4 kB / 1.339 GB, free: 14.27 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.683e-05/1.134, allocations: 0 / 1.339 GB, free: 14.27 MB / 1.061 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.001933/1.136, allocations: 1.12 MB / 1.34 GB, free: 13.49 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/1.136, allocations: 12.73 kB / 1.341 GB, free: 13.48 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003427/1.14, allocations: 0.6365 MB / 1.341 GB, free: 13.4 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009735/1.141, allocations: 0.5787 MB / 1.342 GB, free: 13 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.71e-05/1.141, allocations: 42.73 kB / 1.342 GB, free: 12.98 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.757e-05/1.141, allocations: 52.78 kB / 1.342 GB, free: 12.96 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002081/1.143, allocations: 1.005 MB / 1.343 GB, free: 12.56 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.733e-05/1.143, allocations: 1.406 kB / 1.343 GB, free: 12.56 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.444e-05/1.143, allocations: 26.27 kB / 1.343 GB, free: 12.54 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.881e-05/1.143, allocations: 47.14 kB / 1.343 GB, free: 12.54 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002421/1.146, allocations: 1.004 MB / 1.344 GB, free: 12.23 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004023/1.15, allocations: 3.51 MB / 1.347 GB, free: 9.457 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001643/1.151, allocations: 488.4 kB / 1.348 GB, free: 9.309 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000568/1.152, allocations: 208 kB / 1.348 GB, free: 9.246 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.486e-05/1.152, allocations: 8.719 kB / 1.348 GB, free: 9.242 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.251e-05/1.152, allocations: 36.59 kB / 1.348 GB, free: 9.199 MB / 1.061 GB Notification: Performance of pre-optimization done (n=31): time 2.033e-06/1.152, allocations: 4 kB / 1.348 GB, free: 9.195 MB / 1.061 GB Notification: Performance of matching and sorting (n=43): time 0.008011/1.16, allocations: 2.097 MB / 1.35 GB, free: 8.457 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.17e-05/1.16, allocations: 56.94 kB / 1.35 GB, free: 8.395 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00078/1.161, allocations: 0.5656 MB / 1.351 GB, free: 8.133 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 4.436e-05/1.161, allocations: 35.95 kB / 1.351 GB, free: 8.094 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002079/1.161, allocations: 359.1 kB / 1.351 GB, free: 7.809 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001123/1.161, allocations: 157.9 kB / 1.351 GB, free: 7.684 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001735/1.161, allocations: 91.98 kB / 1.351 GB, free: 7.633 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001027/1.161, allocations: 377.5 kB / 1.352 GB, free: 7.289 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007437/1.162, allocations: 270.1 kB / 1.352 GB, free: 7.203 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007783/1.163, allocations: 372.7 kB / 1.352 GB, free: 7 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001449/1.164, allocations: 0.6437 MB / 1.353 GB, free: 6.684 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/1.164, allocations: 5.094 kB / 1.353 GB, free: 6.68 MB / 1.061 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.002854/1.167, allocations: 0.9879 MB / 1.354 GB, free: 6.301 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.422e-05/1.167, allocations: 7.812 kB / 1.354 GB, free: 6.301 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.968e-06/1.167, allocations: 2.656 kB / 1.354 GB, free: 6.301 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001545/1.169, allocations: 330.4 kB / 1.354 GB, free: 6.199 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006822/1.169, allocations: 116.1 kB / 1.354 GB, free: 6.191 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008365/1.178, allocations: 9.278 MB / 1.363 GB, free: 13.36 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009579/1.179, allocations: 43.64 kB / 1.363 GB, free: 13.35 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.897e-05/1.179, allocations: 19.09 kB / 1.363 GB, free: 13.34 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001252/1.18, allocations: 452.5 kB / 1.364 GB, free: 13.14 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008459/1.181, allocations: 373.1 kB / 1.364 GB, free: 12.94 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001545/1.182, allocations: 0.6319 MB / 1.365 GB, free: 12.62 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.096e-06/1.182, allocations: 1.312 kB / 1.365 GB, free: 12.62 MB / 1.076 GB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.002853/1.185, allocations: 0.9515 MB / 1.366 GB, free: 12.25 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/1.185, allocations: 11.34 kB / 1.366 GB, free: 12.25 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.219e-06/1.185, allocations: 2.625 kB / 1.366 GB, free: 12.25 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00129/1.187, allocations: 299.8 kB / 1.366 GB, free: 12.15 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006255/1.187, allocations: 112.3 kB / 1.366 GB, free: 12.14 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008691/1.196, allocations: 9.161 MB / 1.375 GB, free: 3.328 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000847/1.197, allocations: 47.7 kB / 1.375 GB, free: 3.316 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.785e-05/1.197, allocations: 22.83 kB / 1.375 GB, free: 3.309 MB / 1.076 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.0002807/1.197, allocations: 208.5 kB / 1.375 GB, free: 3.105 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001308/1.197, allocations: 73.81 kB / 1.375 GB, free: 3.066 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002353/1.197, allocations: 87.81 kB / 1.375 GB, free: 3.004 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.062e-06/1.197, allocations: 6.078 kB / 1.375 GB, free: 3.004 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.457e-05/1.197, allocations: 1.594 kB / 1.375 GB, free: 3.004 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.828e-05/1.197, allocations: 6.094 kB / 1.375 GB, free: 3 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001074/1.199, allocations: 0.6545 MB / 1.376 GB, free: 2.637 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/1.199, allocations: 0 / 1.376 GB, free: 2.637 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005171/1.199, allocations: 86.03 kB / 1.376 GB, free: 2.633 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001257/1.2, allocations: 296.2 kB / 1.376 GB, free: 2.535 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.358e-05/1.2, allocations: 10.42 kB / 1.376 GB, free: 2.527 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00862/1.209, allocations: 9.171 MB / 1.385 GB, free: 9.715 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/1.209, allocations: 5.094 kB / 1.385 GB, free: 9.711 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00286/1.212, allocations: 0.9534 MB / 1.386 GB, free: 9.273 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003803/1.212, allocations: 186.3 kB / 1.387 GB, free: 9.121 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.424e-05/1.212, allocations: 10.59 kB / 1.387 GB, free: 9.113 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005399/1.213, allocations: 40.03 kB / 1.387 GB, free: 9.105 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001796/1.213, allocations: 43.08 kB / 1.387 GB, free: 9.094 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.029e-05/1.213, allocations: 12.48 kB / 1.387 GB, free: 9.09 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0005979/1.214, allocations: 404.2 kB / 1.387 GB, free: 8.91 MB / 1.092 GB Notification: Performance of sort global known variables: time 9e-08/1.214, allocations: 0 / 1.387 GB, free: 8.91 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.001303/1.215, allocations: 307.1 kB / 1.387 GB, free: 8.887 MB / 1.092 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.0001758/1.215, allocations: 116.5 kB / 1.387 GB, free: 8.785 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.004432/1.22, allocations: 2.356 MB / 1.39 GB, free: 7.105 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/1.22, allocations: 0 / 1.39 GB, free: 7.105 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.001601/1.221, allocations: 0.9953 MB / 1.391 GB, free: 6.324 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001156/1.222, allocations: 224.8 kB / 1.391 GB, free: 6.246 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002893/1.225, allocations: 1.373 MB / 1.392 GB, free: 5.527 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007435/1.226, allocations: 0.9798 MB / 1.393 GB, free: 4.797 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002097/1.226, allocations: 51.73 kB / 1.393 GB, free: 4.785 MB / 1.092 GB Notification: Performance of SimCode: time 8.42e-07/1.226, allocations: 0 / 1.393 GB, free: 4.785 MB / 1.092 GB Notification: Performance of Templates: time 0.03632/1.263, allocations: 27.22 MB / 1.42 GB, free: 10.58 MB / 1.107 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Electrical.DC.Lines.Examples.DCLine.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe ; mkfifo Buildings_12_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe >> ../files/Buildings_12_Buildings.Electrical.DC.Lines.Examples.DCLine.sim & ./Buildings_12_Buildings.Electrical.DC.Lines.Examples.DCLine -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe 2>&1) [Timeout 400] [Calling os._exit(0), Time elapsed: 16.611154337006155] Failed to read output from testmodel.py, exit status != 0: 1.2713852940069046 1.284148776 0.146809153 Calling exit ...