Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001298/0.001298, allocations: 96.42 kB / 20.45 MB, free: 1.262 MB / 14.72 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.001468/0.001468, allocations: 211.2 kB / 23.75 MB, free: 4.445 MB / 14.72 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.436/1.436, allocations: 230.6 MB / 257.5 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 1.038/1.038, allocations: 149.9 MB / 463.8 MB, free: 10.34 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Electrical.DC.Lines.Examples.Resistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.Resistance") translateModel(IBPSA.Electrical.DC.Lines.Examples.Resistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.Resistance") [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002176/0.002176, allocations: 70.58 kB / 0.6423 GB, free: 9.637 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1726/0.1748, allocations: 89.17 MB / 0.7294 GB, free: 0.5352 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Lines.Examples.Resistance): time 0.005036/0.1799, allocations: 3.042 MB / 0.7323 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002369/0.1822, allocations: 1.313 MB / 0.7336 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001147/0.1823, allocations: 8 kB / 0.7336 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0011/0.1834, allocations: 342.8 kB / 0.734 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0003708/0.1838, allocations: 143.2 kB / 0.7341 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003732/0.1842, allocations: 139.6 kB / 0.7342 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003918/0.1846, allocations: 303 kB / 0.7345 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003882/0.185, allocations: 184.6 kB / 0.7347 GB, free: 11.06 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001687/0.1851, allocations: 131.5 kB / 0.7348 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003124/0.1854, allocations: 139.5 kB / 0.7349 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.64e-05/0.1855, allocations: 16 kB / 0.735 GB, free: 10.78 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002969/0.1858, allocations: 143.7 kB / 0.7351 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001083/0.1859, allocations: 83.78 kB / 0.7352 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001103/0.186, allocations: 95.59 kB / 0.7353 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0004578/0.1865, allocations: 338.7 kB / 0.7356 GB, free: 10.13 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.1865, allocations: 4 kB / 0.7356 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.333e-06/0.1865, allocations: 0 / 0.7356 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.212e-06/0.1865, allocations: 4 kB / 0.7356 GB, free: 10.12 MB / 0.5606 GB 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.0008482/0.1873, allocations: 457.5 kB / 0.736 GB, free: 9.641 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.505e-05/0.1874, allocations: 11.97 kB / 0.736 GB, free: 9.629 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005765/0.1879, allocations: 84.72 kB / 0.7361 GB, free: 9.547 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003405/0.1883, allocations: 182.2 kB / 0.7363 GB, free: 9.344 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.006e-05/0.1883, allocations: 20.73 kB / 0.7363 GB, free: 9.324 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.408e-05/0.1883, allocations: 16.38 kB / 0.7363 GB, free: 9.309 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005287/0.1889, allocations: 372.6 kB / 0.7367 GB, free: 8.906 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.1889, allocations: 0 / 0.7367 GB, free: 8.906 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.83e-05/0.1889, allocations: 12 kB / 0.7367 GB, free: 8.895 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.437e-05/0.1889, allocations: 16.36 kB / 0.7367 GB, free: 8.879 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003308/0.1893, allocations: 196.9 kB / 0.7369 GB, free: 8.688 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001378/0.1906, allocations: 0.9888 MB / 0.7379 GB, free: 7.645 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000249/0.1909, allocations: 98.53 kB / 0.738 GB, free: 7.539 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.973e-05/0.1909, allocations: 36.78 kB / 0.738 GB, free: 7.5 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.143e-06/0.191, allocations: 0 / 0.738 GB, free: 7.5 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.056e-05/0.191, allocations: 34.56 kB / 0.738 GB, free: 7.457 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 1.182e-06/0.191, allocations: 4 kB / 0.738 GB, free: 7.453 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7): time 0.0004542/0.1914, allocations: 146.5 kB / 0.7382 GB, free: 7.301 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.882e-05/0.1915, allocations: 51.41 kB / 0.7382 GB, free: 7.238 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002024/0.1917, allocations: 194.3 kB / 0.7384 GB, free: 7.039 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2e-05/0.1917, allocations: 25.7 kB / 0.7384 GB, free: 7.008 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001188/0.1918, allocations: 168 kB / 0.7386 GB, free: 6.84 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.741e-05/0.1918, allocations: 31.73 kB / 0.7386 GB, free: 6.809 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.81e-05/0.1919, allocations: 29.72 kB / 0.7387 GB, free: 6.773 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001517/0.1921, allocations: 330.8 kB / 0.739 GB, free: 6.441 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.694e-05/0.1921, allocations: 43.88 kB / 0.739 GB, free: 6.398 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001139/0.1922, allocations: 96.52 kB / 0.7391 GB, free: 6.273 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001975/0.1924, allocations: 148.4 kB / 0.7392 GB, free: 6.098 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.1924, allocations: 4 kB / 0.7393 GB, free: 6.094 MB / 0.5606 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003333/0.1928, allocations: 190.1 kB / 0.7394 GB, free: 5.898 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.97e-05/0.1928, allocations: 8 kB / 0.7394 GB, free: 5.891 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-06/0.1928, allocations: 4 kB / 0.7394 GB, free: 5.887 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001525/0.193, allocations: 25.12 kB / 0.7395 GB, free: 5.859 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000114/0.1931, allocations: 31.92 kB / 0.7395 GB, free: 5.828 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001207/0.1943, allocations: 1.288 MB / 0.7408 GB, free: 4.43 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001172/0.1944, allocations: 15.92 kB / 0.7408 GB, free: 4.414 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.299e-05/0.1944, allocations: 8 kB / 0.7408 GB, free: 4.406 MB / 0.5606 GB 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 0.0001541/0.1946, allocations: 150.4 kB / 0.7409 GB, free: 4.25 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.136e-05/0.1946, allocations: 24 kB / 0.7409 GB, free: 4.227 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.846e-05/0.1946, allocations: 17.41 kB / 0.741 GB, free: 4.215 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-06/0.1946, allocations: 0 / 0.741 GB, free: 4.215 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-06/0.1946, allocations: 0 / 0.741 GB, free: 4.215 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.1946, allocations: 0 / 0.741 GB, free: 4.215 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005279/0.1952, allocations: 379 kB / 0.7413 GB, free: 3.805 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.1952, allocations: 0 / 0.7413 GB, free: 3.805 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.214e-05/0.1952, allocations: 4 kB / 0.7413 GB, free: 3.801 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.071e-05/0.1953, allocations: 28.83 kB / 0.7414 GB, free: 3.77 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.484e-06/0.1953, allocations: 4 kB / 0.7414 GB, free: 3.766 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0011/0.1964, allocations: 1.292 MB / 0.7426 GB, free: 2.375 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.1964, allocations: 0 / 0.7426 GB, free: 2.375 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002387/0.1966, allocations: 200.3 kB / 0.7428 GB, free: 2.16 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.702e-05/0.1967, allocations: 27.81 kB / 0.7428 GB, free: 2.133 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.815e-05/0.1967, allocations: 0 / 0.7428 GB, free: 2.133 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001116/0.1968, allocations: 12.16 kB / 0.7428 GB, free: 2.121 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.336e-05/0.1968, allocations: 7.984 kB / 0.7429 GB, free: 2.113 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.889e-06/0.1969, allocations: 0 / 0.7429 GB, free: 2.113 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001241/0.197, allocations: 132.3 kB / 0.743 GB, free: 1.984 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.197, allocations: 0 / 0.743 GB, free: 1.984 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003566/0.1973, allocations: 55.84 kB / 0.743 GB, free: 1.93 MB / 0.5606 GB 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.0001099/0.1974, allocations: 95.25 kB / 0.7431 GB, free: 1.824 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000385/0.1978, allocations: 210.7 kB / 0.7433 GB, free: 1.605 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.746e-06/0.1978, allocations: 0 / 0.7433 GB, free: 1.605 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001751/0.198, allocations: 142.7 kB / 0.7435 GB, free: 1.453 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003461/0.1984, allocations: 32.14 kB / 0.7435 GB, free: 1.422 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006843/0.199, allocations: 402 kB / 0.7439 GB, free: 0.9961 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001461/0.1992, allocations: 135.9 kB / 0.744 GB, free: 0.8398 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.006e-05/0.1992, allocations: 15.44 kB / 0.744 GB, free: 0.8242 MB / 0.5606 GB Notification: Performance of SimCode: time 3e-07/0.1992, allocations: 0 / 0.744 GB, free: 0.8242 MB / 0.5606 GB Notification: Performance of Templates: time 0.005315/0.2045, allocations: 2.973 MB / 0.7469 GB, free: 13.86 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.Resistance.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.Resistance.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.Resistance.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.Resistance.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.Resistance.sim & ./IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.Resistance -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.Resistance.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.961551388259977] Failed to read output from testmodel.py, exit status != 0: 0.21378651866689324 0.515393476 0.038414045 Calling exit ...