Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.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.001287/0.001287, allocations: 91.67 kB / 20.95 MB, free: 3.293 MB / 18.57 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.007682/0.007682, allocations: 157.7 kB / 24.37 MB, free: 9.156 MB / 18.57 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.9531/0.9531, allocations: 177.1 MB / 204.8 MB, free: 5.414 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.928/1.928, allocations: 389.6 MB / 0.6356 GB, free: 12.22 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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(Buildings.Electrical.DC.Lines.Examples.Resistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Electrical.DC.Lines.Examples.Resistance") translateModel(Buildings.Electrical.DC.Lines.Examples.Resistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Electrical.DC.Lines.Examples.Resistance") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 0.7755 GB, free: 5.16 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.315e-05/2.477e-05, allocations: 4.844 kB / 0.7755 GB, free: 5.156 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.Resistance): time 0.003911/0.003935, allocations: 2.599 MB / 0.7781 GB, free: 2.578 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.00163/0.005565, allocations: 1.016 MB / 0.7791 GB, free: 1.566 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001234/0.005689, allocations: 7.938 kB / 0.7791 GB, free: 1.559 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0006411/0.00633, allocations: 95.45 kB / 0.7792 GB, free: 1.465 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.000291/0.006621, allocations: 141.4 kB / 0.7793 GB, free: 1.328 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002362/0.006857, allocations: 107.7 kB / 0.7794 GB, free: 1.223 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0002968/0.007154, allocations: 311.7 kB / 0.7797 GB, free: 0.918 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002395/0.007393, allocations: 190 kB / 0.7799 GB, free: 0.7344 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001511/0.007544, allocations: 180.1 kB / 0.7801 GB, free: 0.5586 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002203/0.007765, allocations: 120.4 kB / 0.7802 GB, free: 452 kB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.385e-05/0.007789, allocations: 16 kB / 0.7802 GB, free: 436 kB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001485/0.007937, allocations: 94.08 kB / 0.7803 GB, free: 344 kB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 6.729e-05/0.008004, allocations: 95.72 kB / 0.7804 GB, free: 248 kB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 6.129e-05/0.008066, allocations: 79.83 kB / 0.7804 GB, free: 168 kB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0002601/0.008326, allocations: 219.3 kB / 0.7806 GB, free: 15.95 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.008329, allocations: 0 / 0.7806 GB, free: 15.95 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.21e-07/0.00833, allocations: 4 kB / 0.7807 GB, free: 15.95 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.108e-06/0.008334, allocations: 2.75 kB / 0.7807 GB, free: 15.95 MB / 0.7448 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.0004507/0.008785, allocations: 424 kB / 0.7811 GB, free: 15.51 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 2.825e-05/0.008813, allocations: 13.34 kB / 0.7811 GB, free: 15.5 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003437/0.009157, allocations: 111.5 kB / 0.7812 GB, free: 15.39 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001876/0.009344, allocations: 183.6 kB / 0.7814 GB, free: 15.19 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.352e-05/0.009358, allocations: 12.75 kB / 0.7814 GB, free: 15.18 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.121e-05/0.009379, allocations: 16.38 kB / 0.7814 GB, free: 15.16 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000219/0.009598, allocations: 280.1 kB / 0.7816 GB, free: 14.85 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.009607, allocations: 1.875 kB / 0.7817 GB, free: 14.85 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.465e-05/0.009622, allocations: 8.375 kB / 0.7817 GB, free: 14.84 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.38e-05/0.009655, allocations: 20.31 kB / 0.7817 GB, free: 14.82 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.449e-05/0.00973, allocations: 56.91 kB / 0.7817 GB, free: 14.77 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006683/0.0104, allocations: 0.8952 MB / 0.7826 GB, free: 13.82 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001097/0.01051, allocations: 61.3 kB / 0.7827 GB, free: 13.75 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.086e-05/0.01053, allocations: 16.86 kB / 0.7827 GB, free: 13.73 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 6.613e-06/0.01054, allocations: 5.219 kB / 0.7827 GB, free: 13.73 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.977e-05/0.01056, allocations: 30.56 kB / 0.7827 GB, free: 13.69 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.283e-06/0.01056, allocations: 0 / 0.7827 GB, free: 13.69 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0002138/0.01077, allocations: 100.3 kB / 0.7828 GB, free: 13.58 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.022e-05/0.01079, allocations: 55.39 kB / 0.7829 GB, free: 13.52 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.133e-05/0.01088, allocations: 171.9 kB / 0.783 GB, free: 13.34 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.042e-05/0.01089, allocations: 30.23 kB / 0.7831 GB, free: 13.3 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.714e-05/0.01095, allocations: 172.4 kB / 0.7832 GB, free: 13.13 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.241e-05/0.01096, allocations: 23.8 kB / 0.7832 GB, free: 13.11 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.776e-05/0.011, allocations: 38.42 kB / 0.7833 GB, free: 13.06 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 6.735e-05/0.01107, allocations: 322.8 kB / 0.7836 GB, free: 12.74 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.56e-05/0.01108, allocations: 12.62 kB / 0.7836 GB, free: 12.73 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.5e-05/0.01113, allocations: 79.16 kB / 0.7837 GB, free: 12.62 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.546e-05/0.0112, allocations: 111.2 kB / 0.7838 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.0112, allocations: 0 / 0.7838 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001285/0.01133, allocations: 124.3 kB / 0.7839 GB, free: 12.36 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.038e-05/0.01134, allocations: 13.44 kB / 0.7839 GB, free: 12.34 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.01135, allocations: 4 kB / 0.7839 GB, free: 12.34 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001295/0.01148, allocations: 34.12 kB / 0.7839 GB, free: 12.3 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.975e-05/0.01154, allocations: 35.92 kB / 0.784 GB, free: 12.27 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000537/0.01208, allocations: 1.185 MB / 0.7851 GB, free: 10.99 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.872e-05/0.01213, allocations: 19.83 kB / 0.7852 GB, free: 10.97 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.324e-06/0.01214, allocations: 8 kB / 0.7852 GB, free: 10.96 MB / 0.7448 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 6.495e-05/0.01221, allocations: 121.9 kB / 0.7853 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.99e-05/0.01223, allocations: 13.2 kB / 0.7853 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.532e-05/0.01224, allocations: 17.45 kB / 0.7853 GB, free: 10.81 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.12e-07/0.01224, allocations: 4 kB / 0.7853 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.555e-06/0.01224, allocations: 4 kB / 0.7853 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.01225, allocations: 5.344 kB / 0.7853 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002065/0.01245, allocations: 259.8 kB / 0.7856 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.01246, allocations: 0 / 0.7856 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.827e-05/0.01247, allocations: 9.438 kB / 0.7856 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.22e-05/0.01256, allocations: 29.7 kB / 0.7856 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.761e-06/0.01256, allocations: 8.719 kB / 0.7856 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004555/0.01302, allocations: 1.19 MB / 0.7868 GB, free: 9.18 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.01302, allocations: 0 / 0.7868 GB, free: 9.18 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.212e-05/0.01311, allocations: 175.1 kB / 0.7869 GB, free: 8.988 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.231e-05/0.01313, allocations: 19.91 kB / 0.787 GB, free: 8.969 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.446e-06/0.01314, allocations: 2.438 kB / 0.787 GB, free: 8.969 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.004e-05/0.01319, allocations: 4 kB / 0.787 GB, free: 8.965 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.41e-05/0.01321, allocations: 7.984 kB / 0.787 GB, free: 8.957 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.456e-06/0.01321, allocations: 0 / 0.787 GB, free: 8.957 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.357e-05/0.01324, allocations: 48.8 kB / 0.787 GB, free: 8.906 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4.1e-08/0.01324, allocations: 0 / 0.787 GB, free: 8.906 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001685/0.01341, allocations: 54.14 kB / 0.7871 GB, free: 8.855 MB / 0.7448 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 7.229e-05/0.01348, allocations: 76.42 kB / 0.7872 GB, free: 8.773 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001807/0.01366, allocations: 185.3 kB / 0.7873 GB, free: 8.578 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.01367, allocations: 0 / 0.7873 GB, free: 8.578 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 6.383e-05/0.01373, allocations: 136.2 kB / 0.7875 GB, free: 8.43 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001615/0.01389, allocations: 34.52 kB / 0.7875 GB, free: 8.398 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005444/0.01444, allocations: 369.4 kB / 0.7878 GB, free: 8.012 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.173e-05/0.01449, allocations: 83.97 kB / 0.7879 GB, free: 7.91 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.806e-05/0.01454, allocations: 15.33 kB / 0.7879 GB, free: 7.895 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.951e-05/0.01461, allocations: 79.3 kB / 0.788 GB, free: 7.816 MB / 0.7448 GB Notification: Performance of SimCode: time 3.21e-07/0.01461, allocations: 0 / 0.788 GB, free: 7.816 MB / 0.7448 GB Notification: Performance of Templates: time 0.003306/0.01791, allocations: 1.806 MB / 0.7898 GB, free: 6.109 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Electrical.DC.Lines.Examples.Resistance.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe ; mkfifo Buildings_13_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe ; head -c 1048576 < Buildings_13_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe >> ../files/Buildings_13_Buildings.Electrical.DC.Lines.Examples.Resistance.sim & (cd run_cvode && ../Buildings_13_Buildings.Electrical.DC.Lines.Examples.Resistance -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > Buildings_13_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe 2>&1) [Timeout 240] (rm -f Buildings_13_Buildings.Electrical.DC.Lines.Examples.Resistance_gbode.pipe ; mkfifo Buildings_13_Buildings.Electrical.DC.Lines.Examples.Resistance_gbode.pipe ; head -c 1048576 < Buildings_13_Buildings.Electrical.DC.Lines.Examples.Resistance_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Electrical.DC.Lines.Examples.Resistance_gbode.sim & (cd run_gbode && ../Buildings_13_Buildings.Electrical.DC.Lines.Examples.Resistance -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > Buildings_13_Buildings.Electrical.DC.Lines.Examples.Resistance_gbode.pipe 2>&1) [Timeout 240] (rm -f Buildings_13_Buildings.Electrical.DC.Lines.Examples.Resistance_ida.pipe ; mkfifo Buildings_13_Buildings.Electrical.DC.Lines.Examples.Resistance_ida.pipe ; head -c 1048576 < Buildings_13_Buildings.Electrical.DC.Lines.Examples.Resistance_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Electrical.DC.Lines.Examples.Resistance_ida.sim & (cd run_ida && ../Buildings_13_Buildings.Electrical.DC.Lines.Examples.Resistance -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > Buildings_13_Buildings.Electrical.DC.Lines.Examples.Resistance_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.009653201326728]