Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.Resistor.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.0008514/0.0008514, allocations: 77.11 kB / 9.98 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001396/0.002247, allocations: 448 kB / 10.42 MB, free: 276 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.001071/0.001071, allocations: 161.2 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001525/0.002596, allocations: 475.5 kB / 11.8 MB, free: 2.371 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 0.9941/0.9941, allocations: 177.2 MB / 189.7 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08912/1.083, allocations: 53.66 MB / 243.4 MB, free: 15.51 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.001258/0.001258, allocations: 226.1 kB / 244.4 MB, free: 14.55 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001103/0.002361, allocations: 483.6 kB / 244.8 MB, free: 14.08 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.663/0.663, allocations: 138.7 MB / 384.3 MB, free: 384 kB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06992/0.7329, allocations: 42.4 MB / 426.7 MB, free: 5.859 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.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.Resistor") translateModel(BuildingSystems.Electrical.DC.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.Resistor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 0 / 428 MB, free: 4.535 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.19e-05/2.37e-05, allocations: 2.312 kB / 428 MB, free: 4.531 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Loads.Examples.Resistor): time 0.00485/0.004874, allocations: 3.051 MB / 431.1 MB, free: 1.461 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002195/0.00707, allocations: 1.153 MB / 432.2 MB, free: 308 kB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002093/0.007279, allocations: 7.938 kB / 432.3 MB, free: 300 kB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005214/0.0078, allocations: 135.3 kB / 432.4 MB, free: 164 kB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.1833/0.1911, allocations: 226 kB / 432.6 MB, free: 1.242 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004325/0.1915, allocations: 154.3 kB / 432.8 MB, free: 1.242 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005988/0.1921, allocations: 0.5239 MB / 433.3 MB, free: 1.195 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003587/0.1925, allocations: 282.9 kB / 433.6 MB, free: 1.18 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003466/0.1928, allocations: 307.3 kB / 433.9 MB, free: 1.156 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003835/0.1932, allocations: 212 kB / 434.1 MB, free: 1.137 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.997e-05/0.1933, allocations: 30.5 kB / 434.1 MB, free: 1.137 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002151/0.1935, allocations: 96.98 kB / 434.2 MB, free: 1.133 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.301e-05/0.1936, allocations: 119.2 kB / 434.3 MB, free: 1.113 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 8.55e-05/0.1937, allocations: 103 kB / 434.4 MB, free: 1.102 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000361/0.194, allocations: 302.5 kB / 434.7 MB, free: 1.07 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.308e-05/0.194, allocations: 0 / 434.7 MB, free: 1.07 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.283e-06/0.194, allocations: 1.062 kB / 434.7 MB, free: 1.07 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.455e-05/0.1941, allocations: 0 / 434.7 MB, free: 1.07 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.0007133/0.1948, allocations: 0.5999 MB / 435.3 MB, free: 16.73 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.865e-05/0.1948, allocations: 10.38 kB / 435.3 MB, free: 16.73 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005974/0.1954, allocations: 263.6 kB / 435.6 MB, free: 16.63 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002781/0.1957, allocations: 214.3 kB / 435.8 MB, free: 16.48 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.793e-05/0.1957, allocations: 21.56 kB / 435.8 MB, free: 16.48 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.499e-05/0.1957, allocations: 28.19 kB / 435.8 MB, free: 16.48 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003517/0.1961, allocations: 424 kB / 436.2 MB, free: 16.21 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.347e-05/0.1961, allocations: 4.875 kB / 436.2 MB, free: 16.21 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.235e-05/0.1961, allocations: 14.48 kB / 436.3 MB, free: 16.21 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-05/0.1962, allocations: 33.45 kB / 436.3 MB, free: 16.2 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001364/0.1963, allocations: 99 kB / 436.4 MB, free: 16.2 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009755/0.1973, allocations: 1.325 MB / 437.7 MB, free: 15.25 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001628/0.1974, allocations: 101.5 kB / 437.8 MB, free: 15.22 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.169e-05/0.1975, allocations: 51.34 kB / 437.9 MB, free: 15.21 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.636e-06/0.1975, allocations: 4.047 kB / 437.9 MB, free: 15.21 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.198e-05/0.1975, allocations: 35.06 kB / 437.9 MB, free: 15.17 MB / 426.7 MB Notification: Performance of pre-optimization done (n=14): time 1.383e-06/0.1975, allocations: 1.281 kB / 437.9 MB, free: 15.17 MB / 426.7 MB Notification: Performance of matching and sorting (n=14): time 0.0002628/0.1978, allocations: 130.2 kB / 438 MB, free: 15.12 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.087e-05/0.1978, allocations: 54.72 kB / 438.1 MB, free: 15.06 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001309/0.198, allocations: 211.6 kB / 438.3 MB, free: 14.95 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.222e-05/0.198, allocations: 27.47 kB / 438.3 MB, free: 14.92 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.247e-05/0.198, allocations: 208.8 kB / 438.5 MB, free: 14.76 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.958e-05/0.1981, allocations: 50.31 kB / 438.6 MB, free: 14.73 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.772e-05/0.1981, allocations: 53.16 kB / 438.6 MB, free: 14.71 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.937e-05/0.1982, allocations: 332.2 kB / 438.9 MB, free: 14.39 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.744e-05/0.1982, allocations: 16.91 kB / 439 MB, free: 14.39 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.999e-05/0.1983, allocations: 108.2 kB / 439.1 MB, free: 14.29 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001145/0.1984, allocations: 158.1 kB / 439.2 MB, free: 14.19 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.1984, allocations: 1.469 kB / 439.2 MB, free: 14.19 MB / 426.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0001887/0.1986, allocations: 170 kB / 439.4 MB, free: 14.14 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.1986, allocations: 6.562 kB / 439.4 MB, free: 14.14 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/0.1986, allocations: 10.16 kB / 439.4 MB, free: 14.14 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001453/0.1988, allocations: 32.12 kB / 439.4 MB, free: 14.13 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001263/0.1989, allocations: 56.16 kB / 439.5 MB, free: 14.13 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005967/0.1995, allocations: 1.191 MB / 440.7 MB, free: 12.97 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.028e-05/0.1996, allocations: 29.72 kB / 440.7 MB, free: 12.95 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.013e-05/0.1996, allocations: 7.688 kB / 440.7 MB, free: 12.95 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (27): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 7.601e-05/0.1997, allocations: 130.8 kB / 440.8 MB, free: 12.83 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.784e-05/0.1997, allocations: 16.75 kB / 440.9 MB, free: 12.83 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.442e-05/0.1997, allocations: 26.56 kB / 440.9 MB, free: 12.82 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.1997, allocations: 6.812 kB / 440.9 MB, free: 12.82 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.706e-06/0.1997, allocations: 0.625 kB / 440.9 MB, free: 12.82 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.1997, allocations: 1.75 kB / 440.9 MB, free: 12.82 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004538/0.2002, allocations: 0.5737 MB / 441.5 MB, free: 12.42 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.2002, allocations: 5.688 kB / 441.5 MB, free: 12.41 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.359e-05/0.2002, allocations: 28.34 kB / 441.5 MB, free: 12.41 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.892e-05/0.2003, allocations: 27.5 kB / 441.5 MB, free: 12.41 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.031e-05/0.2004, allocations: 29.2 kB / 441.6 MB, free: 12.4 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.023e-06/0.2004, allocations: 3.828 kB / 441.6 MB, free: 12.4 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005028/0.2009, allocations: 1.199 MB / 442.8 MB, free: 11.23 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/0.2009, allocations: 2.188 kB / 442.8 MB, free: 11.23 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000178/0.201, allocations: 295.5 kB / 443.1 MB, free: 10.98 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.465e-05/0.2011, allocations: 3.156 kB / 443.1 MB, free: 10.98 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.629e-05/0.2011, allocations: 13.47 kB / 443.1 MB, free: 10.98 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.527e-05/0.2012, allocations: 18.84 kB / 443.1 MB, free: 10.98 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.053e-06/0.2012, allocations: 5.906 kB / 443.1 MB, free: 10.98 MB / 426.7 MB Notification: Performance of sorting global known variables: time 6.432e-05/0.2012, allocations: 72.31 kB / 443.2 MB, free: 10.97 MB / 426.7 MB Notification: Performance of sort global known variables: time 4e-08/0.2012, allocations: 0 / 443.2 MB, free: 10.97 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002329/0.2015, allocations: 78.64 kB / 443.2 MB, free: 10.95 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (14): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 8.608e-05/0.2016, allocations: 88.27 kB / 443.3 MB, free: 10.88 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002394/0.2018, allocations: 223.1 kB / 443.5 MB, free: 10.75 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.183e-05/0.2018, allocations: 3.281 kB / 443.5 MB, free: 10.75 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001516/0.202, allocations: 233.8 kB / 443.8 MB, free: 10.57 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003669/0.2023, allocations: 432.4 kB / 444.2 MB, free: 10.16 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002022/0.2043, allocations: 0.549 MB / 444.7 MB, free: 9.836 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.312e-05/0.2044, allocations: 105.8 kB / 444.9 MB, free: 9.766 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 8.983e-05/0.2045, allocations: 22.91 kB / 444.9 MB, free: 9.762 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000115/0.2046, allocations: 92.16 kB / 445 MB, free: 9.715 MB / 426.7 MB Notification: Performance of SimCode: time 1.012e-06/0.2046, allocations: 3.781 kB / 445 MB, free: 9.715 MB / 426.7 MB Notification: Performance of Templates: time 0.005636/0.2103, allocations: 2.748 MB / 447.7 MB, free: 9.508 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.Resistor.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.Resistor.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.Resistor.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.Resistor.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.Resistor.sim & ./BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.Resistor -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.Resistor.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.4824321633204818]