Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0007747/0.0007747, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007801/0.0007801, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 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 0.8637/0.8637, allocations: 177.1 MB / 203.5 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.75/1.75, allocations: 389 MB / 0.6338 GB, free: 12.69 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Electrical.DC.Lines.Examples.DCLine") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.343e-06/1.343e-06, allocations: 0 / 1.001 GB, free: 13.01 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.517e-05/1.651e-05, allocations: 2.281 kB / 1.001 GB, free: 13.01 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLine): time 0.004995/0.005012, allocations: 5.985 MB / 1.007 GB, free: 7 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.004025/0.009036, allocations: 4.311 MB / 1.011 GB, free: 2.676 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002744/0.009311, allocations: 35.75 kB / 1.011 GB, free: 2.641 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.001187/0.0105, allocations: 0.9179 MB / 1.012 GB, free: 1.719 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.00116/0.01166, allocations: 0.8104 MB / 1.013 GB, free: 0.9062 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003881/0.01205, allocations: 323.4 kB / 1.013 GB, free: 0.5898 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0008235/0.01287, allocations: 1.191 MB / 1.014 GB, free: 15.39 MB / 0.9792 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005386/0.01341, allocations: 0.5756 MB / 1.015 GB, free: 14.81 MB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005363/0.01394, allocations: 0.7171 MB / 1.015 GB, free: 14.09 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003893/0.01433, allocations: 406.8 kB / 1.016 GB, free: 13.7 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 6.514e-05/0.0144, allocations: 72 kB / 1.016 GB, free: 13.62 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002644/0.01466, allocations: 255.4 kB / 1.016 GB, free: 13.38 MB / 0.9792 GB Notification: Performance of NFScalarize.scalarize: time 0.0001554/0.01482, allocations: 279.1 kB / 1.016 GB, free: 13.1 MB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 0.0001871/0.01501, allocations: 279.3 kB / 1.017 GB, free: 12.83 MB / 0.9792 GB Notification: Performance of NFConvertDAE.convert: time 0.0007563/0.01576, allocations: 1.09 MB / 1.018 GB, free: 11.73 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.01576, allocations: 3.984 kB / 1.018 GB, free: 11.73 MB / 0.9792 GB Notification: Performance of FrontEnd: time 7.81e-07/0.01577, allocations: 0 / 1.018 GB, free: 11.73 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 8.095e-06/0.01577, allocations: 0 / 1.018 GB, free: 11.73 MB / 0.9792 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.001162/0.01694, allocations: 1.049 MB / 1.019 GB, free: 10.64 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 3.427e-05/0.01697, allocations: 9.344 kB / 1.019 GB, free: 10.64 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001566/0.01854, allocations: 0.6324 MB / 1.019 GB, free: 10 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006532/0.01919, allocations: 0.5155 MB / 1.02 GB, free: 9.457 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.601e-05/0.01922, allocations: 41.62 kB / 1.02 GB, free: 9.418 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.022e-05/0.01928, allocations: 44.38 kB / 1.02 GB, free: 9.375 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001172/0.02045, allocations: 1.17 MB / 1.021 GB, free: 8.137 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.487e-05/0.02046, allocations: 3.938 kB / 1.021 GB, free: 8.133 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.556e-05/0.02051, allocations: 23.94 kB / 1.021 GB, free: 8.109 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.446e-05/0.02055, allocations: 49.28 kB / 1.021 GB, free: 8.059 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00127/0.02182, allocations: 1 MB / 1.022 GB, free: 7.059 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002117/0.02394, allocations: 2.272 MB / 1.024 GB, free: 4.727 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008718/0.02481, allocations: 478.1 kB / 1.025 GB, free: 4.254 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002995/0.02511, allocations: 212.7 kB / 1.025 GB, free: 4.043 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 2.34e-05/0.02513, allocations: 4 kB / 1.025 GB, free: 4.039 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.944e-05/0.02515, allocations: 38.56 kB / 1.025 GB, free: 3.992 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=31): time 1.844e-06/0.02516, allocations: 0 / 1.025 GB, free: 3.992 MB / 0.9792 GB Notification: Performance of matching and sorting (n=43): time 0.003789/0.02894, allocations: 2.014 MB / 1.027 GB, free: 1.953 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.84e-05/0.02897, allocations: 55.41 kB / 1.027 GB, free: 1.887 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003488/0.02932, allocations: 0.491 MB / 1.028 GB, free: 1.387 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 2.965e-05/0.02935, allocations: 33.64 kB / 1.028 GB, free: 1.348 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001584/0.02951, allocations: 376.5 kB / 1.028 GB, free: 0.9727 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 8.162e-05/0.02959, allocations: 154.7 kB / 1.028 GB, free: 0.8203 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001065/0.0297, allocations: 86.14 kB / 1.028 GB, free: 0.7305 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 9.979e-05/0.0298, allocations: 366.8 kB / 1.029 GB, free: 372 kB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003826/0.03018, allocations: 270.6 kB / 1.029 GB, free: 96 kB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004249/0.03061, allocations: 377.2 kB / 1.029 GB, free: 15.68 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008056/0.03141, allocations: 0.6382 MB / 1.03 GB, free: 15 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.03141, allocations: 0 / 1.03 GB, free: 15 MB / 0.9948 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001403/0.03282, allocations: 0.9823 MB / 1.031 GB, free: 13.99 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.03283, allocations: 8 kB / 1.031 GB, free: 13.98 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.03284, allocations: 8 kB / 1.031 GB, free: 13.98 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006881/0.03353, allocations: 329.1 kB / 1.031 GB, free: 13.64 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002905/0.03382, allocations: 119.8 kB / 1.031 GB, free: 13.52 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004485/0.0383, allocations: 8.482 MB / 1.039 GB, free: 4.438 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002595/0.03856, allocations: 52.02 kB / 1.039 GB, free: 4.387 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.724e-05/0.03859, allocations: 15.98 kB / 1.039 GB, free: 4.371 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005315/0.03912, allocations: 444.9 kB / 1.04 GB, free: 3.93 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004761/0.0396, allocations: 372.7 kB / 1.04 GB, free: 3.527 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007838/0.04038, allocations: 0.6363 MB / 1.041 GB, free: 2.848 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.522e-06/0.04038, allocations: 0 / 1.041 GB, free: 2.848 MB / 0.9948 GB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.001329/0.04171, allocations: 0.9422 MB / 1.042 GB, free: 1.879 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 8.045e-06/0.04172, allocations: 8 kB / 1.042 GB, free: 1.871 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.896e-06/0.04172, allocations: 0 / 1.042 GB, free: 1.871 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005455/0.04227, allocations: 297 kB / 1.042 GB, free: 1.562 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002729/0.04254, allocations: 115.8 kB / 1.042 GB, free: 1.449 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003973/0.04651, allocations: 8.383 MB / 1.05 GB, free: 8.453 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000257/0.04677, allocations: 48.14 kB / 1.05 GB, free: 8.406 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.551e-05/0.04679, allocations: 19.98 kB / 1.05 GB, free: 8.387 MB / 1.01 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.0001174/0.04691, allocations: 200.2 kB / 1.051 GB, free: 8.184 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.294e-05/0.04698, allocations: 71.5 kB / 1.051 GB, free: 8.113 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.927e-05/0.04704, allocations: 77.62 kB / 1.051 GB, free: 8.039 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.04705, allocations: 4 kB / 1.051 GB, free: 8.035 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.625e-06/0.04705, allocations: 4 kB / 1.051 GB, free: 8.031 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.04706, allocations: 0 / 1.051 GB, free: 8.031 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004224/0.04748, allocations: 484.8 kB / 1.051 GB, free: 7.527 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.04748, allocations: 0 / 1.051 GB, free: 7.527 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002229/0.04771, allocations: 95.78 kB / 1.051 GB, free: 7.434 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005482/0.04825, allocations: 296.8 kB / 1.052 GB, free: 7.125 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.309e-05/0.04828, allocations: 8 kB / 1.052 GB, free: 7.117 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4213/0.4696, allocations: 8.381 MB / 1.06 GB, free: 91.85 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.4696, allocations: 0 / 1.06 GB, free: 91.85 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001307/0.4709, allocations: 0.9339 MB / 1.061 GB, free: 91.68 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001642/0.4711, allocations: 100.1 kB / 1.061 GB, free: 91.68 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.902e-05/0.4711, allocations: 14.38 kB / 1.061 GB, free: 91.68 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002452/0.4714, allocations: 36.84 kB / 1.061 GB, free: 91.68 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001008/0.4715, allocations: 47.55 kB / 1.061 GB, free: 91.68 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.175e-05/0.4715, allocations: 12.03 kB / 1.061 GB, free: 91.68 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0002398/0.4717, allocations: 329.6 kB / 1.061 GB, free: 91.59 MB / 1.01 GB Notification: Performance of sort global known variables: time 7e-08/0.4717, allocations: 0 / 1.061 GB, free: 91.59 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0007191/0.4724, allocations: 309.1 kB / 1.062 GB, free: 91.59 MB / 1.01 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.0001053/0.4725, allocations: 114.8 kB / 1.062 GB, free: 91.5 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.001746/0.4743, allocations: 2.338 MB / 1.064 GB, free: 90.2 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.4743, allocations: 3.219 kB / 1.064 GB, free: 90.2 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.00055/0.4748, allocations: 0.9948 MB / 1.065 GB, free: 89.53 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005362/0.4754, allocations: 211.4 kB / 1.065 GB, free: 89.53 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001314/0.4767, allocations: 1.351 MB / 1.066 GB, free: 89.01 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001993/0.4769, allocations: 387.5 kB / 1.067 GB, free: 88.9 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001121/0.477, allocations: 47.56 kB / 1.067 GB, free: 88.89 MB / 1.01 GB Notification: Performance of SimCode: time 7.02e-07/0.477, allocations: 0 / 1.067 GB, free: 88.89 MB / 1.01 GB Notification: Performance of Templates: time 0.01888/0.4959, allocations: 27 MB / 1.093 GB, free: 87.1 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLine.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe ; mkfifo Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe >> ../files/Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLine.sim & ./Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLine -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe 2>&1) [Timeout 800] [Calling os._exit(0), Time elapsed: 8.89902445860207] Failed to read output from testmodel.py, exit status != 0: 0.5010600378736854 0.5096309419999999 0.49197018 Calling exit ...