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.001377/0.001377, allocations: 76.81 kB / 20.75 MB, free: 3.734 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.00171/0.00171, allocations: 161.4 kB / 24.17 MB, free: 324 kB / 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 1.035/1.035, allocations: 177.1 MB / 204.6 MB, free: 5.484 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.966/1.966, allocations: 389.6 MB / 0.6354 GB, free: 12.29 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.803e-06/1.803e-06, allocations: 0 / 0.7752 GB, free: 5.371 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.082e-05/2.262e-05, allocations: 2.312 kB / 0.7752 GB, free: 5.367 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.Resistance): time 0.003309/0.003331, allocations: 2.602 MB / 0.7777 GB, free: 2.789 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001377/0.004708, allocations: 1.019 MB / 0.7787 GB, free: 1.773 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001121/0.00482, allocations: 4.531 kB / 0.7787 GB, free: 1.77 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.000429/0.005249, allocations: 96.36 kB / 0.7788 GB, free: 1.676 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0002379/0.005487, allocations: 132.9 kB / 0.7789 GB, free: 1.547 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.000194/0.005681, allocations: 111.7 kB / 0.779 GB, free: 1.438 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0003452/0.006026, allocations: 315.4 kB / 0.7793 GB, free: 1.129 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002582/0.006284, allocations: 190 kB / 0.7795 GB, free: 0.9453 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001694/0.006454, allocations: 176.6 kB / 0.7797 GB, free: 0.7734 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002426/0.006696, allocations: 127.6 kB / 0.7798 GB, free: 0.6484 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.717e-05/0.006724, allocations: 22.94 kB / 0.7798 GB, free: 0.6289 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001537/0.006877, allocations: 87.78 kB / 0.7799 GB, free: 0.543 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 7.251e-05/0.00695, allocations: 91.75 kB / 0.78 GB, free: 464 kB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 7.199e-05/0.007022, allocations: 75.83 kB / 0.7801 GB, free: 388 kB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0002607/0.007282, allocations: 235.1 kB / 0.7803 GB, free: 152 kB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.007285, allocations: 0 / 0.7803 GB, free: 152 kB / 0.7292 GB Notification: Performance of FrontEnd: time 8.41e-07/0.007286, allocations: 0 / 0.7803 GB, free: 152 kB / 0.7292 GB Notification: Performance of Transformations before backend: time 6.312e-06/0.007292, allocations: 0 / 0.7803 GB, free: 152 kB / 0.7292 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.0005042/0.007796, allocations: 420 kB / 0.7807 GB, free: 15.72 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.165e-05/0.007828, allocations: 9.344 kB / 0.7807 GB, free: 15.71 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003947/0.008223, allocations: 104.8 kB / 0.7808 GB, free: 15.61 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004803/0.008703, allocations: 186.4 kB / 0.781 GB, free: 15.4 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.777e-05/0.008721, allocations: 17.88 kB / 0.781 GB, free: 15.39 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.211e-05/0.008743, allocations: 16.38 kB / 0.781 GB, free: 15.37 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002492/0.008992, allocations: 276.1 kB / 0.7813 GB, free: 15.06 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.009004, allocations: 1.25 kB / 0.7813 GB, free: 15.06 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.748e-05/0.009021, allocations: 8.375 kB / 0.7813 GB, free: 15.05 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.272e-05/0.009054, allocations: 24.8 kB / 0.7813 GB, free: 15.03 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.388e-05/0.009138, allocations: 60.91 kB / 0.7814 GB, free: 14.97 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007532/0.009891, allocations: 0.8867 MB / 0.7822 GB, free: 14.04 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001273/0.01002, allocations: 62.73 kB / 0.7823 GB, free: 13.96 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.341e-05/0.01004, allocations: 16.86 kB / 0.7823 GB, free: 13.95 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 6.592e-06/0.01005, allocations: 0 / 0.7823 GB, free: 13.95 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.77e-05/0.01007, allocations: 32.16 kB / 0.7823 GB, free: 13.91 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 2.685e-06/0.01007, allocations: 3.984 kB / 0.7824 GB, free: 13.9 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0002402/0.01031, allocations: 103.2 kB / 0.7824 GB, free: 13.79 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.636e-05/0.01034, allocations: 59.41 kB / 0.7825 GB, free: 13.72 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001003/0.01044, allocations: 176.8 kB / 0.7827 GB, free: 13.54 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.067e-05/0.01045, allocations: 25.7 kB / 0.7827 GB, free: 13.51 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.001e-05/0.01052, allocations: 167.9 kB / 0.7829 GB, free: 13.34 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.525e-05/0.01053, allocations: 28.94 kB / 0.7829 GB, free: 13.31 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.071e-05/0.01057, allocations: 37.66 kB / 0.7829 GB, free: 13.27 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.573e-05/0.01065, allocations: 326.8 kB / 0.7832 GB, free: 12.94 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.957e-05/0.01067, allocations: 16.77 kB / 0.7833 GB, free: 12.93 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.504e-05/0.01071, allocations: 68.58 kB / 0.7833 GB, free: 12.83 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.643e-05/0.0108, allocations: 114.3 kB / 0.7834 GB, free: 12.69 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.0108, allocations: 1.375 kB / 0.7834 GB, free: 12.69 MB / 0.7448 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001523/0.01095, allocations: 132.3 kB / 0.7836 GB, free: 12.55 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/0.01097, allocations: 4 kB / 0.7836 GB, free: 12.55 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.01097, allocations: 4 kB / 0.7836 GB, free: 12.54 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001476/0.01112, allocations: 30.86 kB / 0.7836 GB, free: 12.51 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.897e-05/0.01119, allocations: 31.94 kB / 0.7836 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006337/0.01182, allocations: 1.189 MB / 0.7848 GB, free: 11.2 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.55e-05/0.01189, allocations: 19.83 kB / 0.7848 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.945e-06/0.0119, allocations: 9.109 kB / 0.7848 GB, free: 11.17 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 7.364e-05/0.01197, allocations: 118.1 kB / 0.7849 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.106e-05/0.01199, allocations: 12 kB / 0.7849 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.833e-05/0.01201, allocations: 17.45 kB / 0.7849 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.093e-06/0.01201, allocations: 0 / 0.7849 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.01201, allocations: 1.344 kB / 0.785 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.01202, allocations: 7.875 kB / 0.785 GB, free: 11.01 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002409/0.01226, allocations: 263.5 kB / 0.7852 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.01226, allocations: 1.438 kB / 0.7852 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.175e-05/0.01229, allocations: 8 kB / 0.7852 GB, free: 10.72 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.157e-05/0.01238, allocations: 34.2 kB / 0.7853 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.37e-06/0.01239, allocations: 3.938 kB / 0.7853 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005258/0.01292, allocations: 1.194 MB / 0.7864 GB, free: 9.387 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.01292, allocations: 0 / 0.7864 GB, free: 9.387 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001093/0.01303, allocations: 174.3 kB / 0.7866 GB, free: 9.199 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.87e-05/0.01305, allocations: 19.88 kB / 0.7866 GB, free: 9.18 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.659e-06/0.01306, allocations: 4 kB / 0.7866 GB, free: 9.176 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.463e-05/0.01312, allocations: 4 kB / 0.7866 GB, free: 9.172 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.467e-05/0.01313, allocations: 7.984 kB / 0.7866 GB, free: 9.164 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.548e-06/0.01314, allocations: 0 / 0.7866 GB, free: 9.164 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.88e-05/0.01318, allocations: 48.75 kB / 0.7867 GB, free: 9.113 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4e-08/0.01318, allocations: 0 / 0.7867 GB, free: 9.113 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001851/0.01336, allocations: 57.64 kB / 0.7867 GB, free: 9.059 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.86e-05/0.01344, allocations: 76.42 kB / 0.7868 GB, free: 8.977 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002105/0.01365, allocations: 182.6 kB / 0.787 GB, free: 8.785 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.01366, allocations: 0 / 0.787 GB, free: 8.785 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 6.772e-05/0.01372, allocations: 131.5 kB / 0.7871 GB, free: 8.641 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002036/0.01393, allocations: 42.61 kB / 0.7871 GB, free: 8.602 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006264/0.01455, allocations: 362.5 kB / 0.7875 GB, free: 8.219 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.156e-05/0.01461, allocations: 89.48 kB / 0.7876 GB, free: 8.113 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 5.912e-05/0.01466, allocations: 16.02 kB / 0.7876 GB, free: 8.098 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003433/0.01501, allocations: 79.95 kB / 0.7877 GB, free: 8.02 MB / 0.7448 GB Notification: Performance of SimCode: time 6.71e-07/0.01501, allocations: 0 / 0.7877 GB, free: 8.02 MB / 0.7448 GB Notification: Performance of Templates: time 0.00365/0.01866, allocations: 1.799 MB / 0.7894 GB, free: 6.32 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.131630166433752]