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.0009492/0.0009492, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001346/0.002295, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.001092/0.001092, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001445/0.002537, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.04/1.04, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08234/1.123, allocations: 53.65 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] 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.002055/0.002055, allocations: 240.8 kB / 244.2 MB, free: 14.63 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001639/0.003694, allocations: 467.6 kB / 244.7 MB, free: 14.17 MB / 250.7 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 0.697/0.697, allocations: 138.7 MB / 384.1 MB, free: 500 kB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06749/0.7645, allocations: 42.39 MB / 426.5 MB, free: 5.953 MB / 410.7 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.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: Performance of FrontEnd - loaded program: time 1.152e-06/1.152e-06, allocations: 0 / 427.8 MB, free: 4.656 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.866e-05/1.981e-05, allocations: 2.312 kB / 427.8 MB, free: 4.652 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Lines.Examples.RCModel): time 0.003196/0.003216, allocations: 3.398 MB / 431.2 MB, free: 1.234 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.1929/0.1961, allocations: 1.278 MB / 432.4 MB, free: 1.16 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003928/0.1965, allocations: 13.5 kB / 432.5 MB, free: 1.16 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005966/0.1971, allocations: 146.6 kB / 432.6 MB, free: 1.16 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005173/0.1976, allocations: 283.4 kB / 432.9 MB, free: 1.16 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004598/0.1981, allocations: 194.5 kB / 433.1 MB, free: 1.16 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007764/0.1988, allocations: 0.6928 MB / 433.8 MB, free: 1.035 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004375/0.1993, allocations: 329.2 kB / 434.1 MB, free: 1.012 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000468/0.1998, allocations: 392.6 kB / 434.5 MB, free: 0.9805 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004914/0.2002, allocations: 272.8 kB / 434.7 MB, free: 0.957 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 6.587e-05/0.2003, allocations: 35.59 kB / 434.8 MB, free: 0.957 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002751/0.2006, allocations: 110.5 kB / 434.9 MB, free: 0.9492 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001234/0.2007, allocations: 137.4 kB / 435 MB, free: 0.9297 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001281/0.2008, allocations: 127.9 kB / 435.1 MB, free: 0.9141 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004961/0.2013, allocations: 373.2 kB / 435.5 MB, free: 0.8555 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.699e-05/0.2013, allocations: 0 / 435.5 MB, free: 0.8555 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.2013, allocations: 0 / 435.5 MB, free: 0.8555 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.872e-05/0.2014, allocations: 0 / 435.5 MB, free: 0.8555 MB / 410.7 MB 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.001219/0.2026, allocations: 0.7011 MB / 436.2 MB, free: 16.49 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/0.2026, allocations: 10.69 kB / 436.2 MB, free: 16.49 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007569/0.2034, allocations: 280.5 kB / 436.5 MB, free: 16.39 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003636/0.2038, allocations: 257.9 kB / 436.7 MB, free: 16.22 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.317e-05/0.2038, allocations: 27.22 kB / 436.8 MB, free: 16.22 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.693e-05/0.2038, allocations: 35.94 kB / 436.8 MB, free: 16.22 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004461/0.2043, allocations: 498.4 kB / 437.3 MB, free: 15.92 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.483e-05/0.2043, allocations: 6.219 kB / 437.3 MB, free: 15.92 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.809e-05/0.2043, allocations: 14.59 kB / 437.3 MB, free: 15.92 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.169e-05/0.2044, allocations: 35.45 kB / 437.3 MB, free: 15.91 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001935/0.2046, allocations: 113.7 kB / 437.4 MB, free: 15.91 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001343/0.2059, allocations: 1.438 MB / 438.9 MB, free: 14.95 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002786/0.2062, allocations: 160 kB / 439 MB, free: 14.91 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.379e-05/0.2062, allocations: 45.06 kB / 439.1 MB, free: 14.9 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.38e-05/0.2063, allocations: 6.031 kB / 439.1 MB, free: 14.9 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.71e-05/0.2063, allocations: 40.58 kB / 439.1 MB, free: 14.86 MB / 426.7 MB Notification: Performance of pre-optimization done (n=20): time 2.725e-06/0.2063, allocations: 0 / 439.1 MB, free: 14.86 MB / 426.7 MB Notification: Performance of matching and sorting (n=20): time 0.0005892/0.2069, allocations: 259.4 kB / 439.4 MB, free: 14.81 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.465e-05/0.2069, allocations: 58.28 kB / 439.4 MB, free: 14.75 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001814/0.2071, allocations: 256.3 kB / 439.7 MB, free: 14.63 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.777e-05/0.2071, allocations: 32.23 kB / 439.7 MB, free: 14.6 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001069/0.2072, allocations: 221.3 kB / 439.9 MB, free: 14.43 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.962e-05/0.2073, allocations: 77.09 kB / 440 MB, free: 14.39 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.223e-05/0.2073, allocations: 56.16 kB / 440.1 MB, free: 14.37 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001004/0.2074, allocations: 337.2 kB / 440.4 MB, free: 14.05 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.584e-05/0.2075, allocations: 30.17 kB / 440.4 MB, free: 14.05 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.825e-05/0.2076, allocations: 114.1 kB / 440.5 MB, free: 13.96 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001682/0.2077, allocations: 167.8 kB / 440.7 MB, free: 13.86 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.2077, allocations: 0.625 kB / 440.7 MB, free: 13.86 MB / 426.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0002999/0.208, allocations: 221.2 kB / 440.9 MB, free: 13.81 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.208, allocations: 6.719 kB / 440.9 MB, free: 13.81 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.2081, allocations: 4.312 kB / 440.9 MB, free: 13.81 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000262/0.2083, allocations: 73.34 kB / 441 MB, free: 13.8 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001965/0.2085, allocations: 74.44 kB / 441.1 MB, free: 13.8 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001292/0.2098, allocations: 2.422 MB / 443.5 MB, free: 11.46 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001188/0.2099, allocations: 23.86 kB / 443.5 MB, free: 11.45 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.324e-05/0.2099, allocations: 12.81 kB / 443.5 MB, free: 11.45 MB / 426.7 MB 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 (33): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 9.847e-05/0.21, allocations: 131.3 kB / 443.7 MB, free: 11.33 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.974e-05/0.2101, allocations: 23.75 kB / 443.7 MB, free: 11.33 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.707e-05/0.2101, allocations: 35.67 kB / 443.7 MB, free: 11.32 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.2101, allocations: 6.125 kB / 443.7 MB, free: 11.32 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.694e-06/0.2101, allocations: 6.656 kB / 443.7 MB, free: 11.32 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.2101, allocations: 2.188 kB / 443.7 MB, free: 11.32 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002163/0.2103, allocations: 173.2 kB / 443.9 MB, free: 11.23 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.2103, allocations: 4.109 kB / 443.9 MB, free: 11.23 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001359/0.2105, allocations: 46 kB / 444 MB, free: 11.23 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.989e-05/0.2105, allocations: 37.02 kB / 444 MB, free: 11.22 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001822/0.2107, allocations: 68.12 kB / 444.1 MB, free: 11.2 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.145e-05/0.2107, allocations: 5.578 kB / 444.1 MB, free: 11.2 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001145/0.2119, allocations: 2.406 MB / 446.5 MB, free: 8.879 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/0.2119, allocations: 1.25 kB / 446.5 MB, free: 8.879 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000292/0.2122, allocations: 291.8 kB / 446.8 MB, free: 8.715 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.615e-05/0.2122, allocations: 8.625 kB / 446.8 MB, free: 8.715 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.769e-05/0.2123, allocations: 10.56 kB / 446.8 MB, free: 8.715 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.22e-05/0.2123, allocations: 18.55 kB / 446.8 MB, free: 8.711 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.688e-06/0.2123, allocations: 7.906 kB / 446.8 MB, free: 8.711 MB / 426.7 MB Notification: Performance of sorting global known variables: time 7.96e-05/0.2124, allocations: 83.17 kB / 446.9 MB, free: 8.703 MB / 426.7 MB Notification: Performance of sort global known variables: time 3e-08/0.2124, allocations: 0 / 446.9 MB, free: 8.703 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003127/0.2127, allocations: 106.7 kB / 447 MB, free: 8.688 MB / 426.7 MB 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 (17): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,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.000108/0.2128, allocations: 89.02 kB / 447.1 MB, free: 8.621 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003905/0.2132, allocations: 371.3 kB / 447.4 MB, free: 8.379 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.436e-05/0.2132, allocations: 5.812 kB / 447.4 MB, free: 8.379 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001731/0.2134, allocations: 292.1 kB / 447.7 MB, free: 8.148 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003011/0.2137, allocations: 87.66 kB / 447.8 MB, free: 8.133 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002811/0.2165, allocations: 0.6417 MB / 448.5 MB, free: 7.754 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001129/0.2166, allocations: 127.3 kB / 448.6 MB, free: 7.676 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001459/0.2168, allocations: 33.56 kB / 448.6 MB, free: 7.668 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001753/0.217, allocations: 108.5 kB / 448.7 MB, free: 7.621 MB / 426.7 MB Notification: Performance of SimCode: time 1.253e-06/0.217, allocations: 0.5625 kB / 448.7 MB, free: 7.621 MB / 426.7 MB Notification: Performance of Templates: time 0.007317/0.2243, allocations: 4.241 MB / 453 MB, free: 6.254 MB / 426.7 MB " [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=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.RCModel.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 3.439505129121244]