Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.Resistance.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.0006465/0.0006465, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000875/0.001522, 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.0006812/0.0006812, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009137/0.001595, 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 0.9783/0.9783, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08622/1.064, 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.001384/0.001384, allocations: 229.7 kB / 244.2 MB, free: 14.64 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001206/0.00259, allocations: 478.7 kB / 244.7 MB, free: 14.18 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.6822/0.6822, allocations: 138.7 MB / 384.1 MB, free: 488 kB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07154/0.7537, allocations: 42.39 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.Lines.Examples.Resistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.Resistance") translateModel(BuildingSystems.Electrical.DC.Lines.Examples.Resistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.Resistance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.813e-06/1.813e-06, allocations: 0 / 427.8 MB, free: 4.656 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.354e-05/2.535e-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.Resistance): time 0.003009/0.003035, allocations: 2.635 MB / 430.4 MB, free: 2 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001237/0.004271, allocations: 1.016 MB / 431.4 MB, free: 0.9766 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000111/0.004382, allocations: 4 kB / 431.4 MB, free: 0.9727 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003851/0.004767, allocations: 111.4 kB / 431.5 MB, free: 0.8633 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002207/0.004988, allocations: 155.1 kB / 431.7 MB, free: 0.7109 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001908/0.005179, allocations: 115.6 kB / 431.8 MB, free: 0.5977 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002892/0.005468, allocations: 346.8 kB / 432.1 MB, free: 264 kB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002362/0.005704, allocations: 174 kB / 432.3 MB, free: 92 kB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.188/0.1937, allocations: 193.1 kB / 432.5 MB, free: 1.363 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003807/0.1941, allocations: 139.1 kB / 432.6 MB, free: 1.363 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.642e-05/0.1941, allocations: 18.66 kB / 432.6 MB, free: 1.363 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002229/0.1943, allocations: 89.72 kB / 432.7 MB, free: 1.363 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.624e-05/0.1944, allocations: 75.34 kB / 432.8 MB, free: 1.363 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.176e-05/0.1945, allocations: 63.73 kB / 432.9 MB, free: 1.363 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003879/0.1949, allocations: 213.3 kB / 433.1 MB, free: 1.363 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.087e-05/0.1949, allocations: 3.297 kB / 433.1 MB, free: 1.363 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.754e-06/0.1949, allocations: 1.719 kB / 433.1 MB, free: 1.363 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.239e-05/0.1949, allocations: 0 / 433.1 MB, free: 1.363 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0007053/0.1956, allocations: 469 kB / 433.5 MB, free: 17.08 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.591e-05/0.1956, allocations: 10.34 kB / 433.5 MB, free: 17.08 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004183/0.1961, allocations: 187.5 kB / 433.7 MB, free: 16.98 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001982/0.1963, allocations: 179.9 kB / 433.9 MB, free: 16.83 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.383e-05/0.1963, allocations: 17.3 kB / 433.9 MB, free: 16.83 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.975e-05/0.1963, allocations: 18.81 kB / 433.9 MB, free: 16.83 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002396/0.1965, allocations: 272.7 kB / 434.2 MB, free: 16.66 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.1965, allocations: 192 / 434.2 MB, free: 16.66 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.624e-05/0.1966, allocations: 10.66 kB / 434.2 MB, free: 16.66 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.787e-05/0.1966, allocations: 21.42 kB / 434.2 MB, free: 16.65 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.686e-05/0.1967, allocations: 63.25 kB / 434.3 MB, free: 16.65 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007635/0.1974, allocations: 0.8922 MB / 435.2 MB, free: 16.01 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001336/0.1976, allocations: 62.62 kB / 435.3 MB, free: 15.98 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.22e-05/0.1976, allocations: 16.36 kB / 435.3 MB, free: 15.97 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.222e-06/0.1976, allocations: 1.125 kB / 435.3 MB, free: 15.97 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.223e-05/0.1976, allocations: 36.45 kB / 435.3 MB, free: 15.93 MB / 426.7 MB Notification: Performance of pre-optimization done (n=7): time 1.593e-06/0.1976, allocations: 0 / 435.3 MB, free: 15.93 MB / 426.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002545/0.1979, allocations: 95.42 kB / 435.4 MB, free: 15.89 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.175e-05/0.1979, allocations: 56.05 kB / 435.5 MB, free: 15.83 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001055/0.198, allocations: 181 kB / 435.6 MB, free: 15.71 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 9.107e-06/0.198, allocations: 25.7 kB / 435.7 MB, free: 15.68 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.761e-05/0.1981, allocations: 168.8 kB / 435.8 MB, free: 15.55 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.732e-05/0.1981, allocations: 30.02 kB / 435.8 MB, free: 15.54 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.838e-05/0.1981, allocations: 39.5 kB / 435.9 MB, free: 15.52 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.808e-05/0.1982, allocations: 325.1 kB / 436.2 MB, free: 15.2 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.746e-05/0.1982, allocations: 11.23 kB / 436.2 MB, free: 15.2 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.982e-05/0.1983, allocations: 77.36 kB / 436.3 MB, free: 15.12 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.382e-05/0.1983, allocations: 108.3 kB / 436.4 MB, free: 15.04 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.1983, allocations: 2.656 kB / 436.4 MB, free: 15.04 MB / 426.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001435/0.1985, allocations: 128.7 kB / 436.5 MB, free: 15 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/0.1985, allocations: 7.812 kB / 436.5 MB, free: 15 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.1985, allocations: 1.938 kB / 436.5 MB, free: 15 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001506/0.1987, allocations: 31.59 kB / 436.6 MB, free: 14.99 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.145e-05/0.1987, allocations: 31.83 kB / 436.6 MB, free: 14.99 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005802/0.1993, allocations: 1.19 MB / 437.8 MB, free: 13.83 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.427e-05/0.1994, allocations: 22.19 kB / 437.8 MB, free: 13.82 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.973e-06/0.1994, allocations: 4.406 kB / 437.8 MB, free: 13.82 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (17): * Single equations (assignments): 16 * 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 6.821e-05/0.1994, allocations: 128.2 kB / 437.9 MB, free: 13.7 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.313e-05/0.1995, allocations: 9.953 kB / 437.9 MB, free: 13.7 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.762e-05/0.1995, allocations: 15.98 kB / 438 MB, free: 13.69 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.01e-07/0.1995, allocations: 4.797 kB / 438 MB, free: 13.69 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.1995, allocations: 3.719 kB / 438 MB, free: 13.69 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.1995, allocations: 0 / 438 MB, free: 13.69 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000235/0.1997, allocations: 259.5 kB / 438.2 MB, free: 13.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.1997, allocations: 0.6094 kB / 438.2 MB, free: 13.5 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.201e-05/0.1998, allocations: 8.875 kB / 438.2 MB, free: 13.5 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.312e-05/0.1998, allocations: 16.81 kB / 438.3 MB, free: 13.49 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.165e-05/0.1999, allocations: 35.58 kB / 438.3 MB, free: 13.48 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.947e-06/0.1999, allocations: 0 / 438.3 MB, free: 13.48 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005808/0.2005, allocations: 1.192 MB / 439.5 MB, free: 12.32 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.2005, allocations: 4.641 kB / 439.5 MB, free: 12.32 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001465/0.2006, allocations: 171.6 kB / 439.6 MB, free: 12.17 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.148e-05/0.2006, allocations: 1.25 kB / 439.7 MB, free: 12.17 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.568e-05/0.2007, allocations: 4.875 kB / 439.7 MB, free: 12.17 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.043e-05/0.2007, allocations: 11.36 kB / 439.7 MB, free: 12.17 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.589e-06/0.2007, allocations: 1.25 kB / 439.7 MB, free: 12.17 MB / 426.7 MB Notification: Performance of sorting global known variables: time 5.945e-05/0.2008, allocations: 50.69 kB / 439.7 MB, free: 12.16 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2008, allocations: 1.875 kB / 439.7 MB, free: 12.16 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002232/0.201, allocations: 50.8 kB / 439.8 MB, free: 12.15 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 5 * 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 0.0001109/0.2011, allocations: 81.22 kB / 439.8 MB, free: 12.09 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002759/0.2014, allocations: 181.3 kB / 440 MB, free: 11.96 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.025e-06/0.2014, allocations: 2.344 kB / 440 MB, free: 11.96 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.955e-05/0.2015, allocations: 145.8 kB / 440.2 MB, free: 11.85 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002546/0.2017, allocations: 44.09 kB / 440.2 MB, free: 11.84 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001774/0.2035, allocations: 373.1 kB / 440.6 MB, free: 11.62 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.931e-05/0.2036, allocations: 86.77 kB / 440.7 MB, free: 11.55 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.878e-05/0.2036, allocations: 16.42 kB / 440.7 MB, free: 11.55 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.794e-05/0.2037, allocations: 76.31 kB / 440.8 MB, free: 11.51 MB / 426.7 MB Notification: Performance of SimCode: time 6.91e-07/0.2037, allocations: 0 / 440.8 MB, free: 11.51 MB / 426.7 MB Notification: Performance of Templates: time 0.00412/0.2078, allocations: 1.865 MB / 442.6 MB, free: 11.44 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.Resistance.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.Resistance.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.Resistance.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.Resistance.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.Resistance.sim & ./BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.Resistance -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.Resistance.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 3.270883245393634]