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.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.001731/0.001731, 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.00194/0.00194, allocations: 215.2 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.447/1.447, allocations: 230.6 MB / 256.8 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002537/0.002537, allocations: 294.5 kB / 313.5 MB, free: 2.789 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.18/1.18, allocations: 180.6 MB / 0.5377 GB, free: 12.99 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 master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(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: NcDataReader2 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: BuildingSystems 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.002895/0.002895, allocations: 105.7 kB / 0.7408 GB, free: 27.95 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1563/0.1592, allocations: 95.38 MB / 0.8339 GB, free: 8.18 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Lines.Examples.RCModel): time 0.006584/0.1657, allocations: 4.53 MB / 0.8384 GB, free: 3.629 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003176/0.1689, allocations: 1.948 MB / 0.8403 GB, free: 1.672 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001956/0.1691, allocations: 11.94 kB / 0.8403 GB, free: 1.66 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001745/0.1709, allocations: 0.6238 MB / 0.8409 GB, free: 1.035 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0005775/0.1714, allocations: 258.6 kB / 0.8411 GB, free: 0.7812 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006297/0.1721, allocations: 256.1 kB / 0.8414 GB, free: 0.5312 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0007447/0.1728, allocations: 0.6189 MB / 0.842 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005712/0.1734, allocations: 347.2 kB / 0.8423 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002973/0.1737, allocations: 255.1 kB / 0.8426 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000506/0.1742, allocations: 282.9 kB / 0.8428 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 6.302e-05/0.1743, allocations: 40 kB / 0.8429 GB, free: 15 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004738/0.1747, allocations: 263.4 kB / 0.8431 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001661/0.1749, allocations: 155.5 kB / 0.8433 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002243/0.1751, allocations: 215 kB / 0.8435 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0007502/0.1759, allocations: 0.6109 MB / 0.8441 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.221e-06/0.1759, allocations: 4 kB / 0.8441 GB, free: 13.76 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.102e-06/0.1759, allocations: 0 / 0.8441 GB, free: 13.76 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 7.634e-06/0.1759, allocations: 0 / 0.8441 GB, free: 13.76 MB / 0.5919 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.001248/0.1771, allocations: 0.661 MB / 0.8447 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.417e-05/0.1772, allocations: 9.344 kB / 0.8447 GB, free: 13.06 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009776/0.1781, allocations: 152.5 kB / 0.8449 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005142/0.1787, allocations: 280.8 kB / 0.8451 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.31e-05/0.1787, allocations: 25.38 kB / 0.8452 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.649e-05/0.1788, allocations: 36.36 kB / 0.8452 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008159/0.1796, allocations: 0.5318 MB / 0.8457 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.305e-05/0.1796, allocations: 0 / 0.8457 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.46e-05/0.1796, allocations: 19.92 kB / 0.8457 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.805e-05/0.1797, allocations: 32.64 kB / 0.8458 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006393/0.1803, allocations: 394.2 kB / 0.8461 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00282/0.1831, allocations: 2.36 MB / 0.8484 GB, free: 8.977 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005339/0.1837, allocations: 254.9 kB / 0.8487 GB, free: 8.719 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001634/0.1838, allocations: 97.48 kB / 0.8488 GB, free: 8.621 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 1.552e-05/0.1839, allocations: 4 kB / 0.8488 GB, free: 8.617 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.659e-05/0.1839, allocations: 34.56 kB / 0.8488 GB, free: 8.574 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=20): time 1.633e-06/0.1839, allocations: 0 / 0.8488 GB, free: 8.574 MB / 0.5919 GB Notification: Performance of matching and sorting (n=23): time 0.002143/0.186, allocations: 0.901 MB / 0.8497 GB, free: 7.633 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.954e-05/0.1861, allocations: 51.41 kB / 0.8497 GB, free: 7.57 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003426/0.1864, allocations: 316.3 kB / 0.85 GB, free: 7.254 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.58e-05/0.1865, allocations: 29.7 kB / 0.8501 GB, free: 7.219 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001658/0.1866, allocations: 232.2 kB / 0.8503 GB, free: 6.988 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 7.203e-05/0.1867, allocations: 83.31 kB / 0.8504 GB, free: 6.906 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001089/0.1868, allocations: 65.98 kB / 0.8504 GB, free: 6.832 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001631/0.187, allocations: 338.8 kB / 0.8508 GB, free: 6.492 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001728/0.1871, allocations: 100.6 kB / 0.8509 GB, free: 6.395 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002495/0.1874, allocations: 196.4 kB / 0.851 GB, free: 6.164 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004421/0.1878, allocations: 324.1 kB / 0.8514 GB, free: 5.812 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.1878, allocations: 0 / 0.8514 GB, free: 5.812 MB / 0.5919 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.000791/0.1886, allocations: 446 kB / 0.8518 GB, free: 5.363 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.041e-05/0.1886, allocations: 9.875 kB / 0.8518 GB, free: 5.355 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.306e-06/0.1886, allocations: 4 kB / 0.8518 GB, free: 5.352 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003672/0.189, allocations: 90.59 kB / 0.8519 GB, free: 5.254 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002886/0.1893, allocations: 67.91 kB / 0.8519 GB, free: 5.188 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003633/0.1929, allocations: 4.093 MB / 0.8559 GB, free: 0.75 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002408/0.1932, allocations: 12.02 kB / 0.856 GB, free: 0.7383 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.558e-05/0.1932, allocations: 16 kB / 0.856 GB, free: 0.7227 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.0002266/0.1934, allocations: 177.7 kB / 0.8561 GB, free: 0.5391 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.939e-05/0.1935, allocations: 35.75 kB / 0.8562 GB, free: 0.5039 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.314e-05/0.1936, allocations: 42.47 kB / 0.8562 GB, free: 468 kB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.1936, allocations: 4 kB / 0.8562 GB, free: 464 kB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.1936, allocations: 0 / 0.8562 GB, free: 464 kB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.1936, allocations: 0 / 0.8562 GB, free: 464 kB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004758/0.1941, allocations: 368.5 kB / 0.8566 GB, free: 52 kB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.225e-06/0.1941, allocations: 0 / 0.8566 GB, free: 52 kB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002142/0.1943, allocations: 43.84 kB / 0.8566 GB, free: 8 kB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003392/0.1946, allocations: 94.58 kB / 0.8567 GB, free: 15.9 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.99e-05/0.1946, allocations: 8 kB / 0.8567 GB, free: 15.89 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00347/0.1981, allocations: 4.074 MB / 0.8607 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1981, allocations: 0 / 0.8607 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008961/0.199, allocations: 0.5656 MB / 0.8612 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001308/0.1991, allocations: 47.81 kB / 0.8613 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.992e-05/0.1992, allocations: 4 kB / 0.8613 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002084/0.1994, allocations: 12 kB / 0.8613 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.898e-05/0.1994, allocations: 15.95 kB / 0.8613 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.61e-05/0.1995, allocations: 12.06 kB / 0.8613 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002277/0.1997, allocations: 207.1 kB / 0.8615 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1997, allocations: 0 / 0.8615 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004767/0.2002, allocations: 103.9 kB / 0.8616 GB, free: 10.49 MB / 0.6075 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.0001237/0.2003, allocations: 107.2 kB / 0.8617 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0008847/0.2012, allocations: 0.5896 MB / 0.8623 GB, free: 9.754 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.2012, allocations: 0 / 0.8623 GB, free: 9.754 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0005298/0.2017, allocations: 467.1 kB / 0.8627 GB, free: 9.262 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004871/0.2022, allocations: 90.44 kB / 0.8628 GB, free: 9.176 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001255/0.2034, allocations: 0.7693 MB / 0.8636 GB, free: 8.375 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004801/0.2039, allocations: 0.8272 MB / 0.8644 GB, free: 7.516 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.571e-05/0.204, allocations: 27.44 kB / 0.8644 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of SimCode: time 3.3e-07/0.204, allocations: 0 / 0.8644 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of Templates: time 0.01176/0.2158, allocations: 8.71 MB / 0.8729 GB, free: 14.8 MB / 0.6231 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.RCModel.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.810335136950016] Failed to read output from testmodel.py, exit status != 0: 0.2238779601175338 0.23894014600000002 0.059965484000000006 Calling exit ...