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.0008223/0.0008223, allocations: 76.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.0008377/0.0008377, allocations: 173.9 kB / 23.21 MB, free: 1.352 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.8975/0.8975, allocations: 177.1 MB / 203.5 MB, free: 5.418 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.71/1.71, allocations: 377.9 MB / 0.6229 GB, free: 8.676 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 0.9822 GB, free: 2.133 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.284e-05/2.437e-05, allocations: 2.281 kB / 0.9822 GB, free: 2.129 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLine): time 0.005308/0.005332, allocations: 6.007 MB / 0.988 GB, free: 12.1 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.003835/0.009168, allocations: 4.315 MB / 0.9922 GB, free: 7.77 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002576/0.009425, allocations: 35.75 kB / 0.9923 GB, free: 7.734 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.001196/0.01062, allocations: 0.914 MB / 0.9932 GB, free: 6.816 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.001198/0.01182, allocations: 0.8024 MB / 0.994 GB, free: 6.012 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003929/0.01221, allocations: 322.5 kB / 0.9943 GB, free: 5.699 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0008983/0.01311, allocations: 1.187 MB / 0.9954 GB, free: 4.508 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000573/0.01368, allocations: 0.5795 MB / 0.996 GB, free: 3.922 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005549/0.01424, allocations: 0.7171 MB / 0.9967 GB, free: 3.203 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000405/0.01464, allocations: 410.8 kB / 0.9971 GB, free: 2.801 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 6.561e-05/0.01471, allocations: 68 kB / 0.9971 GB, free: 2.734 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002878/0.015, allocations: 271.4 kB / 0.9974 GB, free: 2.469 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001539/0.01515, allocations: 271 kB / 0.9977 GB, free: 2.203 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001886/0.01534, allocations: 275.3 kB / 0.9979 GB, free: 1.934 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0007812/0.01612, allocations: 1.09 MB / 0.999 GB, free: 0.8398 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.01613, allocations: 0 / 0.999 GB, free: 0.8398 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.533e-06/0.01613, allocations: 0 / 0.999 GB, free: 0.8398 MB / 0.948 GB Notification: Performance of Transformations before backend: time 9.517e-06/0.01614, allocations: 0 / 0.999 GB, free: 0.8398 MB / 0.948 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.001216/0.01735, allocations: 1.047 MB / 1 GB, free: 15.76 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.649e-05/0.01739, allocations: 8.031 kB / 1 GB, free: 15.75 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001701/0.01909, allocations: 0.644 MB / 1.001 GB, free: 15.11 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005857/0.01968, allocations: 0.5 MB / 1.001 GB, free: 14.58 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.754e-05/0.0197, allocations: 41.67 kB / 1.001 GB, free: 14.54 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.02e-05/0.01976, allocations: 56.38 kB / 1.001 GB, free: 14.48 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001191/0.02095, allocations: 1.154 MB / 1.002 GB, free: 13.25 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.558e-05/0.02097, allocations: 3.938 kB / 1.002 GB, free: 13.25 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.788e-05/0.02102, allocations: 27.98 kB / 1.002 GB, free: 13.22 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.572e-05/0.02106, allocations: 45.28 kB / 1.002 GB, free: 13.18 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001275/0.02234, allocations: 1.008 MB / 1.003 GB, free: 12.17 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002187/0.02453, allocations: 2.279 MB / 1.006 GB, free: 9.824 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008661/0.02539, allocations: 484.9 kB / 1.006 GB, free: 9.344 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002958/0.02569, allocations: 208.7 kB / 1.006 GB, free: 9.137 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.613e-05/0.02571, allocations: 8 kB / 1.006 GB, free: 9.129 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.141e-05/0.02573, allocations: 38.5 kB / 1.006 GB, free: 9.082 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=31): time 1.553e-06/0.02574, allocations: 0 / 1.006 GB, free: 9.082 MB / 0.9636 GB Notification: Performance of matching and sorting (n=43): time 0.003877/0.02961, allocations: 2.015 MB / 1.008 GB, free: 7.043 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.271e-05/0.02965, allocations: 55.41 kB / 1.008 GB, free: 6.977 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000356/0.03, allocations: 490.8 kB / 1.009 GB, free: 6.488 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 3.136e-05/0.03003, allocations: 33.7 kB / 1.009 GB, free: 6.449 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001675/0.0302, allocations: 368.6 kB / 1.009 GB, free: 6.082 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 8.74e-05/0.03029, allocations: 162.6 kB / 1.009 GB, free: 5.922 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001099/0.0304, allocations: 94.14 kB / 1.009 GB, free: 5.824 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 9.701e-05/0.03049, allocations: 366.8 kB / 1.01 GB, free: 5.457 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003782/0.03087, allocations: 270.7 kB / 1.01 GB, free: 5.191 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004151/0.03129, allocations: 373.1 kB / 1.01 GB, free: 4.781 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007808/0.03207, allocations: 0.642 MB / 1.011 GB, free: 4.098 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.03207, allocations: 4 kB / 1.011 GB, free: 4.094 MB / 0.9636 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001394/0.03347, allocations: 0.9821 MB / 1.012 GB, free: 3.086 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.885e-05/0.03348, allocations: 10.66 kB / 1.012 GB, free: 3.078 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.218e-06/0.03349, allocations: 11.92 kB / 1.012 GB, free: 3.066 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007086/0.0342, allocations: 325.2 kB / 1.012 GB, free: 2.73 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002922/0.03449, allocations: 119.8 kB / 1.012 GB, free: 2.613 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004753/0.03925, allocations: 8.486 MB / 1.021 GB, free: 9.52 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002884/0.03954, allocations: 44.08 kB / 1.021 GB, free: 9.477 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.14e-05/0.03957, allocations: 23.98 kB / 1.021 GB, free: 9.453 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00069/0.04026, allocations: 440.9 kB / 1.021 GB, free: 9.02 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004052/0.04066, allocations: 368.8 kB / 1.022 GB, free: 8.621 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007651/0.04143, allocations: 0.6324 MB / 1.022 GB, free: 7.945 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.394e-06/0.04143, allocations: 7.938 kB / 1.022 GB, free: 7.938 MB / 0.9792 GB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.001296/0.04273, allocations: 0.9423 MB / 1.023 GB, free: 6.969 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.064e-05/0.04274, allocations: 8 kB / 1.023 GB, free: 6.961 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.027e-06/0.04274, allocations: 4 kB / 1.023 GB, free: 6.957 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005513/0.04329, allocations: 297 kB / 1.023 GB, free: 6.648 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002707/0.04356, allocations: 119.8 kB / 1.024 GB, free: 6.531 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004054/0.04762, allocations: 8.359 MB / 1.032 GB, free: 13.56 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002599/0.04788, allocations: 56.16 kB / 1.032 GB, free: 13.5 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.344e-05/0.0479, allocations: 16 kB / 1.032 GB, free: 13.49 MB / 0.9948 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.0001494/0.04805, allocations: 216.1 kB / 1.032 GB, free: 13.27 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.02e-05/0.04811, allocations: 63.56 kB / 1.032 GB, free: 13.21 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.634e-05/0.04819, allocations: 81.62 kB / 1.032 GB, free: 13.12 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.04819, allocations: 4 kB / 1.032 GB, free: 13.12 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.296e-06/0.0482, allocations: 0 / 1.032 GB, free: 13.12 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.0482, allocations: 3.984 kB / 1.032 GB, free: 13.12 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000449/0.04865, allocations: 480.7 kB / 1.033 GB, free: 12.62 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.04865, allocations: 4 kB / 1.033 GB, free: 12.62 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002186/0.04887, allocations: 87.84 kB / 1.033 GB, free: 12.53 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005448/0.04942, allocations: 292.9 kB / 1.033 GB, free: 12.23 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.527e-05/0.04944, allocations: 12 kB / 1.033 GB, free: 12.21 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00397/0.05341, allocations: 8.386 MB / 1.041 GB, free: 3.215 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.05341, allocations: 0 / 1.041 GB, free: 3.215 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001377/0.05479, allocations: 0.933 MB / 1.042 GB, free: 2.246 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001472/0.05494, allocations: 107.5 kB / 1.042 GB, free: 2.141 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.875e-05/0.05498, allocations: 15.94 kB / 1.042 GB, free: 2.125 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000228/0.0552, allocations: 39.95 kB / 1.042 GB, free: 2.086 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.611e-05/0.0553, allocations: 43.92 kB / 1.042 GB, free: 2.043 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.07e-05/0.05532, allocations: 11.98 kB / 1.042 GB, free: 2.031 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0002497/0.05557, allocations: 326.9 kB / 1.043 GB, free: 1.715 MB / 0.9948 GB Notification: Performance of sort global known variables: time 7.1e-08/0.05557, allocations: 4 kB / 1.043 GB, free: 1.711 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0007499/0.05632, allocations: 308 kB / 1.043 GB, free: 1.41 MB / 0.9948 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.0001214/0.05644, allocations: 115.2 kB / 1.043 GB, free: 1.289 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.002004/0.05845, allocations: 2.345 MB / 1.045 GB, free: 14.79 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.05845, allocations: 0 / 1.045 GB, free: 14.79 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0006824/0.05913, allocations: 0.9881 MB / 1.046 GB, free: 13.72 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005575/0.05969, allocations: 212.4 kB / 1.046 GB, free: 13.52 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001551/0.06124, allocations: 1.344 MB / 1.048 GB, free: 12.13 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000269/0.06151, allocations: 395.2 kB / 1.048 GB, free: 11.72 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001215/0.06163, allocations: 44.48 kB / 1.048 GB, free: 11.68 MB / 1.01 GB Notification: Performance of SimCode: time 8.31e-07/0.06163, allocations: 4 kB / 1.048 GB, free: 11.68 MB / 1.01 GB Notification: Performance of Templates: time 0.4036/0.4652, allocations: 26.99 MB / 1.075 GB, free: 112.2 MB / 1.01 GB " [Timeout remaining time 300] 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: 9.402972418814898] Failed to read output from testmodel.py, exit status != 0: 0.4709179634228349 0.47847107200000005 0.46050937500000005 Calling exit ...