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.0007786/0.0007786, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001189/0.001967, allocations: 440 kB / 10.41 MB, free: 284 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.001122/0.001122, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001581/0.002703, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.032/1.032, allocations: 177.2 MB / 189.7 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09179/1.123, allocations: 53.67 MB / 243.4 MB, free: 15.5 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.001333/0.001333, allocations: 239.8 kB / 244.4 MB, free: 14.53 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001164/0.002497, allocations: 471.5 kB / 244.8 MB, free: 14.07 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.692/0.692, allocations: 138.7 MB / 384.3 MB, free: 356 kB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07929/0.7713, allocations: 42.4 MB / 426.7 MB, free: 5.828 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.603e-06/1.603e-06, allocations: 0 / 428 MB, free: 4.516 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.458e-05/2.618e-05, allocations: 2.312 kB / 428 MB, free: 4.512 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Lines.Examples.Resistance): time 0.003482/0.003509, allocations: 2.639 MB / 430.7 MB, free: 1.855 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001395/0.004904, allocations: 1.001 MB / 431.7 MB, free: 0.8477 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001214/0.005025, allocations: 11.94 kB / 431.7 MB, free: 0.8359 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003562/0.005381, allocations: 115.4 kB / 431.8 MB, free: 0.7227 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000231/0.005612, allocations: 159.1 kB / 432 MB, free: 0.5664 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002382/0.00585, allocations: 111.6 kB / 432.1 MB, free: 468 kB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003344/0.006185, allocations: 346.7 kB / 432.4 MB, free: 120 kB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1987/0.2048, allocations: 166 kB / 432.6 MB, free: 1.195 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003909/0.2052, allocations: 195.7 kB / 432.8 MB, free: 1.195 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003593/0.2056, allocations: 140.7 kB / 432.9 MB, free: 1.195 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.592e-05/0.2056, allocations: 18.7 kB / 432.9 MB, free: 1.195 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002621/0.2059, allocations: 95.89 kB / 433 MB, free: 1.195 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001145/0.206, allocations: 75.33 kB / 433.1 MB, free: 1.195 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 8.599e-05/0.2061, allocations: 64.28 kB / 433.1 MB, free: 1.195 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004537/0.2065, allocations: 211 kB / 433.3 MB, free: 1.195 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.849e-05/0.2066, allocations: 4.062 kB / 433.4 MB, free: 1.195 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.2066, allocations: 0 / 433.4 MB, free: 1.195 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.325e-05/0.2066, allocations: 0 / 433.4 MB, free: 1.195 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.0007812/0.2074, allocations: 468.5 kB / 433.8 MB, free: 16.9 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/0.2074, allocations: 10.78 kB / 433.8 MB, free: 16.9 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004982/0.2079, allocations: 186.7 kB / 434 MB, free: 16.8 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002508/0.2082, allocations: 182.9 kB / 434.2 MB, free: 16.66 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.478e-05/0.2082, allocations: 11.19 kB / 434.2 MB, free: 16.66 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.384e-05/0.2082, allocations: 19.22 kB / 434.2 MB, free: 16.66 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002572/0.2084, allocations: 279.4 kB / 434.5 MB, free: 16.48 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.2085, allocations: 192 / 434.5 MB, free: 16.48 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.656e-05/0.2085, allocations: 8.656 kB / 434.5 MB, free: 16.48 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.478e-05/0.2085, allocations: 20.45 kB / 434.5 MB, free: 16.48 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.64e-05/0.2086, allocations: 58.69 kB / 434.6 MB, free: 16.48 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000765/0.2094, allocations: 0.8958 MB / 435.5 MB, free: 15.84 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001234/0.2095, allocations: 65.53 kB / 435.5 MB, free: 15.81 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.973e-05/0.2095, allocations: 13.25 kB / 435.5 MB, free: 15.8 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.123e-06/0.2095, allocations: 6.422 kB / 435.5 MB, free: 15.8 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.887e-05/0.2095, allocations: 31.92 kB / 435.6 MB, free: 15.76 MB / 426.7 MB Notification: Performance of pre-optimization done (n=7): time 1.823e-06/0.2095, allocations: 4.531 kB / 435.6 MB, free: 15.76 MB / 426.7 MB Notification: Performance of matching and sorting (n=7): time 0.000225/0.2098, allocations: 99.09 kB / 435.7 MB, free: 15.72 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.924e-05/0.2098, allocations: 51.41 kB / 435.7 MB, free: 15.66 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001091/0.2099, allocations: 179.5 kB / 435.9 MB, free: 15.54 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.183e-05/0.2099, allocations: 27.2 kB / 435.9 MB, free: 15.51 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.846e-05/0.21, allocations: 174.5 kB / 436.1 MB, free: 15.38 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.248e-05/0.21, allocations: 22.61 kB / 436.1 MB, free: 15.36 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.549e-05/0.21, allocations: 34.55 kB / 436.2 MB, free: 15.34 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.178e-05/0.2101, allocations: 328.8 kB / 436.5 MB, free: 15.03 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.882e-05/0.2101, allocations: 14.17 kB / 436.5 MB, free: 15.03 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.762e-05/0.2101, allocations: 75.75 kB / 436.6 MB, free: 14.95 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.865e-05/0.2102, allocations: 119.7 kB / 436.7 MB, free: 14.87 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/0.2102, allocations: 0 / 436.7 MB, free: 14.87 MB / 426.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000141/0.2104, allocations: 123 kB / 436.8 MB, free: 14.83 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.2104, allocations: 7.391 kB / 436.8 MB, free: 14.83 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.2104, allocations: 3.25 kB / 436.8 MB, free: 14.83 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001374/0.2105, allocations: 38.67 kB / 436.9 MB, free: 14.82 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.384e-05/0.2106, allocations: 28.34 kB / 436.9 MB, free: 14.82 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005769/0.2112, allocations: 1.196 MB / 438.1 MB, free: 13.66 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.64e-05/0.2112, allocations: 21.92 kB / 438.1 MB, free: 13.64 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.404e-06/0.2112, allocations: 8.25 kB / 438.1 MB, free: 13.64 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.58e-05/0.2113, allocations: 125.9 kB / 438.2 MB, free: 13.53 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.315e-05/0.2113, allocations: 9.438 kB / 438.2 MB, free: 13.53 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.745e-05/0.2113, allocations: 17.28 kB / 438.3 MB, free: 13.52 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.2113, allocations: 1.734 kB / 438.3 MB, free: 13.52 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.255e-06/0.2113, allocations: 1.125 kB / 438.3 MB, free: 13.52 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.2113, allocations: 1.797 kB / 438.3 MB, free: 13.52 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002317/0.2116, allocations: 256.5 kB / 438.5 MB, free: 13.33 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.2116, allocations: 1.297 kB / 438.5 MB, free: 13.33 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.331e-05/0.2116, allocations: 9.688 kB / 438.5 MB, free: 13.33 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.413e-05/0.2116, allocations: 22.62 kB / 438.5 MB, free: 13.32 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.048e-05/0.2117, allocations: 30.58 kB / 438.6 MB, free: 13.3 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.598e-06/0.2117, allocations: 2.75 kB / 438.6 MB, free: 13.3 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007293/0.2125, allocations: 1.19 MB / 439.8 MB, free: 12.14 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.2125, allocations: 1.969 kB / 439.8 MB, free: 12.14 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001076/0.2126, allocations: 175.3 kB / 439.9 MB, free: 12 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.987e-06/0.2126, allocations: 2.234 kB / 439.9 MB, free: 12 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.308e-05/0.2126, allocations: 4.141 kB / 439.9 MB, free: 12 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.473e-05/0.2126, allocations: 5.719 kB / 439.9 MB, free: 12 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.748e-06/0.2126, allocations: 0.9375 kB / 439.9 MB, free: 12 MB / 426.7 MB Notification: Performance of sorting global known variables: time 5.566e-05/0.2127, allocations: 51.19 kB / 440 MB, free: 11.98 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2127, allocations: 2.734 kB / 440 MB, free: 11.98 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000192/0.2129, allocations: 53.42 kB / 440.1 MB, free: 11.98 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 8.526e-05/0.213, allocations: 86.95 kB / 440.1 MB, free: 11.91 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001942/0.2132, allocations: 179.5 kB / 440.3 MB, free: 11.79 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.795e-06/0.2132, allocations: 5.016 kB / 440.3 MB, free: 11.79 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.892e-05/0.2133, allocations: 141.9 kB / 440.5 MB, free: 11.67 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002573/0.2135, allocations: 265.4 kB / 440.7 MB, free: 11.42 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00161/0.2151, allocations: 372.3 kB / 441.1 MB, free: 11.2 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.935e-05/0.2152, allocations: 92.12 kB / 441.2 MB, free: 11.12 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 4.856e-05/0.2152, allocations: 14.02 kB / 441.2 MB, free: 11.12 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.353e-05/0.2153, allocations: 76.97 kB / 441.3 MB, free: 11.08 MB / 426.7 MB Notification: Performance of SimCode: time 6.01e-07/0.2153, allocations: 1.062 kB / 441.3 MB, free: 11.08 MB / 426.7 MB Notification: Performance of Templates: time 0.004177/0.2195, allocations: 1.778 MB / 443 MB, free: 11 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.388863792642951]