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.0009499/0.0009499, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001171/0.002121, 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.0009889/0.0009889, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001173/0.002162, 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.004/1.004, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08458/1.088, allocations: 53.66 MB / 243.2 MB, free: 15.58 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.001349/0.001349, allocations: 234.7 kB / 244.2 MB, free: 14.62 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001672/0.003021, allocations: 471 kB / 244.7 MB, free: 14.16 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.7057/0.7057, allocations: 138.7 MB / 384.1 MB, free: 484 kB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07069/0.7764, allocations: 42.4 MB / 426.5 MB, free: 5.941 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.412e-06/1.412e-06, allocations: 0 / 427.8 MB, free: 4.652 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.277e-05/1.419e-05, allocations: 2.312 kB / 427.8 MB, free: 4.648 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Loads.Examples.Resistor): time 0.002846/0.00286, allocations: 3.044 MB / 430.8 MB, free: 1.586 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001185/0.004046, allocations: 1.149 MB / 432 MB, free: 440 kB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001006/0.004146, allocations: 11.94 kB / 432 MB, free: 428 kB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005259/0.004672, allocations: 139.3 kB / 432.1 MB, free: 288 kB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002241/0.004896, allocations: 226.6 kB / 432.3 MB, free: 60 kB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.1805/0.1854, allocations: 151.1 kB / 432.5 MB, free: 1.23 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006592/0.186, allocations: 0.5249 MB / 433 MB, free: 1.195 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003261/0.1864, allocations: 277.6 kB / 433.3 MB, free: 1.18 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003187/0.1867, allocations: 313.9 kB / 433.6 MB, free: 1.156 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003458/0.187, allocations: 218.5 kB / 433.8 MB, free: 1.137 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.799e-05/0.1871, allocations: 28.59 kB / 433.8 MB, free: 1.137 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002044/0.1873, allocations: 96.75 kB / 433.9 MB, free: 1.133 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.436e-05/0.1874, allocations: 115.1 kB / 434 MB, free: 1.117 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 8.972e-05/0.1875, allocations: 99.41 kB / 434.1 MB, free: 1.105 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004081/0.1879, allocations: 309 kB / 434.4 MB, free: 1.074 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.686e-05/0.1879, allocations: 0.5 kB / 434.4 MB, free: 1.074 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.323e-06/0.1879, allocations: 1.656 kB / 434.4 MB, free: 1.074 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.484e-05/0.1879, allocations: 0 / 434.4 MB, free: 1.074 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.0007071/0.1886, allocations: 0.5868 MB / 435 MB, free: 16.75 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.679e-05/0.1886, allocations: 9.281 kB / 435 MB, free: 16.75 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005806/0.1892, allocations: 265.1 kB / 435.3 MB, free: 16.64 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002419/0.1895, allocations: 217.7 kB / 435.5 MB, free: 16.48 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.743e-05/0.1895, allocations: 25.22 kB / 435.5 MB, free: 16.48 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.964e-05/0.1895, allocations: 28.59 kB / 435.5 MB, free: 16.48 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003626/0.1899, allocations: 423.5 kB / 436 MB, free: 16.21 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.1899, allocations: 192 / 436 MB, free: 16.21 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.316e-05/0.1899, allocations: 17.03 kB / 436 MB, free: 16.21 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.416e-05/0.1899, allocations: 32.88 kB / 436 MB, free: 16.21 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001538/0.1901, allocations: 106.8 kB / 436.1 MB, free: 16.2 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001034/0.1911, allocations: 1.327 MB / 437.4 MB, free: 15.25 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001546/0.1913, allocations: 93.59 kB / 437.5 MB, free: 15.22 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.821e-05/0.1914, allocations: 56.97 kB / 437.6 MB, free: 15.21 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.624e-06/0.1914, allocations: 6.5 kB / 437.6 MB, free: 15.21 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.932e-05/0.1914, allocations: 32.97 kB / 437.6 MB, free: 15.18 MB / 426.7 MB Notification: Performance of pre-optimization done (n=14): time 1.052e-06/0.1914, allocations: 0.625 kB / 437.6 MB, free: 15.18 MB / 426.7 MB Notification: Performance of matching and sorting (n=14): time 0.0002522/0.1917, allocations: 129.8 kB / 437.8 MB, free: 15.13 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.208e-05/0.1917, allocations: 53.48 kB / 437.8 MB, free: 15.07 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001343/0.1918, allocations: 214.2 kB / 438 MB, free: 14.96 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.561e-05/0.1918, allocations: 30.83 kB / 438 MB, free: 14.93 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.273e-05/0.1919, allocations: 203.4 kB / 438.2 MB, free: 14.77 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.451e-05/0.1919, allocations: 54.34 kB / 438.3 MB, free: 14.74 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.709e-05/0.192, allocations: 46.33 kB / 438.3 MB, free: 14.71 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.944e-05/0.1921, allocations: 332.4 kB / 438.7 MB, free: 14.4 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.693e-05/0.1921, allocations: 18.92 kB / 438.7 MB, free: 14.4 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.632e-05/0.1921, allocations: 109.8 kB / 438.8 MB, free: 14.3 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001026/0.1922, allocations: 148.5 kB / 438.9 MB, free: 14.2 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.1922, allocations: 4.562 kB / 438.9 MB, free: 14.2 MB / 426.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0001858/0.1924, allocations: 159.6 kB / 439.1 MB, free: 14.15 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/0.1924, allocations: 8.562 kB / 439.1 MB, free: 14.15 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.1924, allocations: 3.594 kB / 439.1 MB, free: 14.15 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001334/0.1926, allocations: 36.64 kB / 439.1 MB, free: 14.14 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001245/0.1927, allocations: 57.62 kB / 439.2 MB, free: 14.14 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006453/0.1934, allocations: 1.192 MB / 440.4 MB, free: 12.98 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.732e-05/0.1934, allocations: 23.06 kB / 440.4 MB, free: 12.97 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.134e-05/0.1935, allocations: 10.75 kB / 440.4 MB, free: 12.97 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 8.312e-05/0.1935, allocations: 133.5 kB / 440.6 MB, free: 12.84 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.096e-05/0.1936, allocations: 21.16 kB / 440.6 MB, free: 12.84 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.624e-05/0.1936, allocations: 24.22 kB / 440.6 MB, free: 12.84 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.1936, allocations: 3.5 kB / 440.6 MB, free: 12.84 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.1936, allocations: 1.719 kB / 440.6 MB, free: 12.84 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.1936, allocations: 1.328 kB / 440.6 MB, free: 12.84 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004784/0.1941, allocations: 0.5727 MB / 441.2 MB, free: 12.43 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.1941, allocations: 6.969 kB / 441.2 MB, free: 12.43 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.465e-05/0.1941, allocations: 23.81 kB / 441.2 MB, free: 12.43 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.938e-05/0.1942, allocations: 38.16 kB / 441.2 MB, free: 12.41 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.852e-05/0.1943, allocations: 28.25 kB / 441.3 MB, free: 12.41 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.262e-06/0.1943, allocations: 7.594 kB / 441.3 MB, free: 12.41 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007668/0.195, allocations: 1.19 MB / 442.5 MB, free: 11.25 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.195, allocations: 2.75 kB / 442.5 MB, free: 11.25 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001728/0.1952, allocations: 292.2 kB / 442.8 MB, free: 11 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.703e-05/0.1952, allocations: 8.5 kB / 442.8 MB, free: 11 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.67e-05/0.1953, allocations: 10.84 kB / 442.8 MB, free: 11 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.527e-05/0.1953, allocations: 19.2 kB / 442.8 MB, free: 11 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.893e-06/0.1953, allocations: 8.188 kB / 442.8 MB, free: 11 MB / 426.7 MB Notification: Performance of sorting global known variables: time 5.903e-05/0.1954, allocations: 69.97 kB / 442.9 MB, free: 10.98 MB / 426.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1954, allocations: 1.625 kB / 442.9 MB, free: 10.98 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002231/0.1956, allocations: 82.98 kB / 443 MB, free: 10.96 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.122e-05/0.1957, allocations: 84.69 kB / 443 MB, free: 10.9 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002272/0.1959, allocations: 217.8 kB / 443.2 MB, free: 10.78 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 9.107e-06/0.1959, allocations: 4.766 kB / 443.3 MB, free: 10.78 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001032/0.196, allocations: 160 kB / 443.4 MB, free: 10.66 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002527/0.1963, allocations: 65.81 kB / 443.5 MB, free: 10.66 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002071/0.1984, allocations: 0.5649 MB / 444 MB, free: 10.32 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.909e-05/0.1984, allocations: 115.3 kB / 444.2 MB, free: 10.25 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 7.925e-05/0.1985, allocations: 24.38 kB / 444.2 MB, free: 10.24 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001138/0.1986, allocations: 91.61 kB / 444.3 MB, free: 10.2 MB / 426.7 MB Notification: Performance of SimCode: time 7.11e-07/0.1986, allocations: 1.375 kB / 444.3 MB, free: 10.2 MB / 426.7 MB Notification: Performance of Templates: time 0.004738/0.2034, allocations: 2.763 MB / 447 MB, free: 10.03 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.408705184236169]