Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.RCModel.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.001546/0.001546, allocations: 109.4 kB / 19.58 MB, free: 2.324 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.001769/0.001769, allocations: 190.4 kB / 22.85 MB, free: 5.648 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.382/1.382, allocations: 225.6 MB / 251.5 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002445/0.002445, allocations: 279.6 kB / 307 MB, free: 8.375 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.175/1.175, allocations: 180.8 MB / 0.5304 GB, free: 14.42 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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(BuildingSystems.Electrical.DC.Lines.Examples.RCModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.RCModel") translateModel(BuildingSystems.Electrical.DC.Lines.Examples.RCModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.RCModel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002794/0.002794, allocations: 104.4 kB / 0.7311 GB, free: 38.67 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1561/0.1589, allocations: 94.2 MB / 0.8231 GB, free: 1.902 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Lines.Examples.RCModel): time 0.006607/0.1655, allocations: 4.49 MB / 0.8275 GB, free: 13.39 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003339/0.1689, allocations: 1.905 MB / 0.8293 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001864/0.169, allocations: 11.94 kB / 0.8293 GB, free: 11.46 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001767/0.1708, allocations: 0.6294 MB / 0.83 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0006242/0.1714, allocations: 254.6 kB / 0.8302 GB, free: 10.59 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006752/0.1721, allocations: 251.4 kB / 0.8304 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0007517/0.1729, allocations: 0.6149 MB / 0.831 GB, free: 9.723 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005707/0.1734, allocations: 355.1 kB / 0.8314 GB, free: 9.371 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002967/0.1737, allocations: 251.2 kB / 0.8316 GB, free: 9.125 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004974/0.1742, allocations: 286.9 kB / 0.8319 GB, free: 8.844 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 6.73e-05/0.1743, allocations: 36 kB / 0.8319 GB, free: 8.809 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003906/0.1747, allocations: 227.5 kB / 0.8321 GB, free: 8.586 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001605/0.1748, allocations: 163.5 kB / 0.8323 GB, free: 8.426 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002289/0.1751, allocations: 222.9 kB / 0.8325 GB, free: 8.207 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0007603/0.1758, allocations: 0.6148 MB / 0.8331 GB, free: 7.59 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.1758, allocations: 0 / 0.8331 GB, free: 7.59 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.373e-06/0.1758, allocations: 0 / 0.8331 GB, free: 7.59 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.193e-05/0.1758, allocations: 0 / 0.8331 GB, free: 7.59 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.001298/0.1771, allocations: 0.6571 MB / 0.8337 GB, free: 6.902 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.658e-05/0.1772, allocations: 12.03 kB / 0.8338 GB, free: 6.891 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001019/0.1782, allocations: 148.5 kB / 0.8339 GB, free: 6.746 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004785/0.1787, allocations: 284.8 kB / 0.8342 GB, free: 6.441 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.883e-05/0.1787, allocations: 25.38 kB / 0.8342 GB, free: 6.418 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.788e-05/0.1788, allocations: 36.36 kB / 0.8342 GB, free: 6.383 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009505/0.1797, allocations: 0.6862 MB / 0.8349 GB, free: 5.617 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.338e-05/0.1797, allocations: 0 / 0.8349 GB, free: 5.617 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.546e-05/0.1798, allocations: 16 kB / 0.8349 GB, free: 5.602 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.032e-05/0.1798, allocations: 28.64 kB / 0.8349 GB, free: 5.574 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000636/0.1805, allocations: 390.2 kB / 0.8353 GB, free: 5.195 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002812/0.1833, allocations: 2.36 MB / 0.8376 GB, free: 2.621 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005303/0.1838, allocations: 238.5 kB / 0.8378 GB, free: 2.379 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001779/0.184, allocations: 104.8 kB / 0.8379 GB, free: 2.273 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.619e-05/0.184, allocations: 4 kB / 0.838 GB, free: 2.27 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.038e-05/0.184, allocations: 34.56 kB / 0.838 GB, free: 2.227 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=20): time 1.283e-06/0.184, allocations: 0 / 0.838 GB, free: 2.227 MB / 0.5762 GB Notification: Performance of matching and sorting (n=23): time 0.002198/0.1862, allocations: 0.9027 MB / 0.8389 GB, free: 1.281 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.658e-05/0.1863, allocations: 59.34 kB / 0.8389 GB, free: 1.211 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000356/0.1866, allocations: 308.4 kB / 0.8392 GB, free: 0.8984 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.697e-05/0.1867, allocations: 29.7 kB / 0.8392 GB, free: 0.8633 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001765/0.1868, allocations: 244.1 kB / 0.8395 GB, free: 0.6211 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 6.822e-05/0.1869, allocations: 79.33 kB / 0.8396 GB, free: 0.543 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001167/0.187, allocations: 61.98 kB / 0.8396 GB, free: 484 kB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001608/0.1872, allocations: 338.8 kB / 0.8399 GB, free: 136 kB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001751/0.1874, allocations: 104.6 kB / 0.84 GB, free: 32 kB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002639/0.1876, allocations: 189 kB / 0.8402 GB, free: 15.81 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004504/0.1881, allocations: 317.8 kB / 0.8405 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.1881, allocations: 0 / 0.8405 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0008154/0.1889, allocations: 443 kB / 0.8409 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/0.1889, allocations: 8.344 kB / 0.841 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.255e-06/0.1889, allocations: 8 kB / 0.841 GB, free: 15 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003708/0.1893, allocations: 90.5 kB / 0.841 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002965/0.1896, allocations: 63.91 kB / 0.8411 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00366/0.1933, allocations: 4.09 MB / 0.8451 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000238/0.1935, allocations: 16.16 kB / 0.8451 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.325e-05/0.1935, allocations: 12 kB / 0.8451 GB, free: 10.38 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (34): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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,1,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002258/0.1937, allocations: 181.6 kB / 0.8453 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.78e-05/0.1938, allocations: 35.89 kB / 0.8453 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.225e-05/0.1939, allocations: 46.39 kB / 0.8454 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.988e-06/0.1939, allocations: 4 kB / 0.8454 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.69e-06/0.1939, allocations: 4 kB / 0.8454 GB, free: 10.1 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.1939, allocations: 3.984 kB / 0.8454 GB, free: 10.1 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004786/0.1944, allocations: 372.5 kB / 0.8457 GB, free: 9.691 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.1944, allocations: 0 / 0.8457 GB, free: 9.691 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002117/0.1946, allocations: 43.86 kB / 0.8458 GB, free: 9.648 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003167/0.1949, allocations: 90.5 kB / 0.8459 GB, free: 9.551 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.653e-05/0.1949, allocations: 4 kB / 0.8459 GB, free: 9.547 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003531/0.1985, allocations: 4.074 MB / 0.8499 GB, free: 5.129 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1985, allocations: 0 / 0.8499 GB, free: 5.129 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009196/0.1994, allocations: 0.5691 MB / 0.8504 GB, free: 4.535 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001317/0.1995, allocations: 51.78 kB / 0.8505 GB, free: 4.484 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.359e-05/0.1996, allocations: 0 / 0.8505 GB, free: 4.484 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002094/0.1998, allocations: 12 kB / 0.8505 GB, free: 4.473 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.075e-05/0.1998, allocations: 23.95 kB / 0.8505 GB, free: 4.449 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.55e-05/0.1998, allocations: 4 kB / 0.8505 GB, free: 4.445 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002383/0.2001, allocations: 215.1 kB / 0.8507 GB, free: 4.234 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1e-07/0.2001, allocations: 4.062 kB / 0.8507 GB, free: 4.23 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004759/0.2005, allocations: 99.94 kB / 0.8508 GB, free: 4.133 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (RC_dyn.Vc) * 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 (18): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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,1,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001188/0.2007, allocations: 103.3 kB / 0.8509 GB, free: 4.023 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0008835/0.2015, allocations: 0.5861 MB / 0.8515 GB, free: 3.402 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.2016, allocations: 0 / 0.8515 GB, free: 3.402 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0005481/0.2021, allocations: 463.9 kB / 0.8519 GB, free: 2.91 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004913/0.2026, allocations: 85.47 kB / 0.852 GB, free: 2.832 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001198/0.2038, allocations: 0.7348 MB / 0.8527 GB, free: 2.074 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004922/0.2043, allocations: 0.835 MB / 0.8535 GB, free: 1.211 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001766/0.2045, allocations: 58.92 kB / 0.8536 GB, free: 1.152 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.013e-05/0.2045, allocations: 23.44 kB / 0.8536 GB, free: 1.129 MB / 0.5919 GB Notification: Performance of SimCode: time 4.21e-07/0.2045, allocations: 0 / 0.8536 GB, free: 1.129 MB / 0.5919 GB Notification: Performance of Templates: time 0.00972/0.2142, allocations: 4.703 MB / 0.8582 GB, free: 12.48 MB / 0.6075 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.RCModel.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.RCModel.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.RCModel.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.RCModel.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.RCModel.sim & ./BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.RCModel -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.RCModel.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.998574435012415] Failed to read output from testmodel.py, exit status != 0: 0.22163720289245248 0.236498551 0.057583583 Calling exit ...