Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Electrical.DC.Lines.Examples.RCModel.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.001431/0.001431, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.001667/0.001667, allocations: 161 kB / 24.16 MB, free: 332 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 0.9652/0.9652, allocations: 177.1 MB / 204.6 MB, free: 5.473 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.854/1.854, 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.RCModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Electrical.DC.Lines.Examples.RCModel") translateModel(Buildings.Electrical.DC.Lines.Examples.RCModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Electrical.DC.Lines.Examples.RCModel") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0.7656 kB / 0.7752 GB, free: 5.387 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.083e-05/2.25e-05, allocations: 2.938 kB / 0.7752 GB, free: 5.383 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.RCModel): time 0.003617/0.00364, allocations: 3.351 MB / 0.7784 GB, free: 2.055 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.00189/0.00553, allocations: 1.268 MB / 0.7797 GB, free: 0.7852 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001701/0.0057, allocations: 11.94 kB / 0.7797 GB, free: 0.7734 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0004555/0.006155, allocations: 136.2 kB / 0.7798 GB, free: 0.6406 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0003961/0.006551, allocations: 245.8 kB / 0.7801 GB, free: 412 kB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003678/0.006919, allocations: 210.2 kB / 0.7803 GB, free: 204 kB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0005657/0.007485, allocations: 0.6305 MB / 0.7809 GB, free: 15.57 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003664/0.007851, allocations: 349.8 kB / 0.7812 GB, free: 15.23 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003036/0.008155, allocations: 351.2 kB / 0.7815 GB, free: 14.89 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004076/0.008562, allocations: 231.4 kB / 0.7818 GB, free: 14.66 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 4.971e-05/0.008612, allocations: 36 kB / 0.7818 GB, free: 14.62 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002337/0.008846, allocations: 114.6 kB / 0.7819 GB, free: 14.52 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001372/0.008983, allocations: 171.5 kB / 0.7821 GB, free: 14.35 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001376/0.009121, allocations: 155.7 kB / 0.7822 GB, free: 14.2 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0004956/0.009616, allocations: 394.7 kB / 0.7826 GB, free: 13.81 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.009621, allocations: 0 / 0.7826 GB, free: 13.81 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.032e-06/0.009622, allocations: 4 kB / 0.7826 GB, free: 13.8 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 8.927e-06/0.009631, allocations: 0 / 0.7826 GB, free: 13.8 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: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.0008974/0.01053, allocations: 0.6036 MB / 0.7832 GB, free: 13.18 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.879e-05/0.01058, allocations: 13.78 kB / 0.7832 GB, free: 13.17 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006995/0.01128, allocations: 210.8 kB / 0.7834 GB, free: 12.96 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003973/0.01167, allocations: 254.7 kB / 0.7836 GB, free: 12.7 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.535e-05/0.0117, allocations: 29.38 kB / 0.7837 GB, free: 12.66 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.307e-05/0.01175, allocations: 34.03 kB / 0.7837 GB, free: 12.63 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004592/0.01221, allocations: 497.8 kB / 0.7842 GB, free: 12.08 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.004e-05/0.01223, allocations: 192 / 0.7842 GB, free: 12.08 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.962e-05/0.01226, allocations: 16.38 kB / 0.7842 GB, free: 12.06 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.987e-05/0.01231, allocations: 36.52 kB / 0.7842 GB, free: 12.03 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001586/0.01247, allocations: 114.6 kB / 0.7843 GB, free: 11.92 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001452/0.01392, allocations: 1.43 MB / 0.7857 GB, free: 10.44 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003017/0.01422, allocations: 160.2 kB / 0.7859 GB, free: 10.28 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.22e-05/0.01428, allocations: 45.36 kB / 0.7859 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.188e-05/0.01429, allocations: 5.781 kB / 0.7859 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.101e-05/0.01431, allocations: 30.56 kB / 0.786 GB, free: 10.19 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=20): time 2.064e-06/0.01431, allocations: 0 / 0.786 GB, free: 10.19 MB / 0.7448 GB Notification: Performance of matching and sorting (n=20): time 0.0005279/0.01484, allocations: 267.1 kB / 0.7862 GB, free: 9.918 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.08e-05/0.01487, allocations: 59.34 kB / 0.7863 GB, free: 9.848 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001692/0.01504, allocations: 260.8 kB / 0.7865 GB, free: 9.578 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.695e-05/0.01506, allocations: 26.92 kB / 0.7866 GB, free: 9.547 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001011/0.01516, allocations: 224 kB / 0.7868 GB, free: 9.32 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.135e-05/0.0152, allocations: 71.38 kB / 0.7868 GB, free: 9.25 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.609e-05/0.01526, allocations: 66.52 kB / 0.7869 GB, free: 9.18 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.28e-05/0.01536, allocations: 338.8 kB / 0.7872 GB, free: 8.84 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.923e-05/0.0154, allocations: 27.98 kB / 0.7872 GB, free: 8.812 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001012/0.0155, allocations: 113 kB / 0.7874 GB, free: 8.668 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002143/0.01571, allocations: 167.8 kB / 0.7875 GB, free: 8.473 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.5e-06/0.01572, allocations: 4 kB / 0.7875 GB, free: 8.469 MB / 0.7448 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0002971/0.01601, allocations: 219.8 kB / 0.7877 GB, free: 8.246 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.01603, allocations: 8 kB / 0.7877 GB, free: 8.238 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.293e-06/0.01604, allocations: 4 kB / 0.7877 GB, free: 8.234 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000241/0.01628, allocations: 78.92 kB / 0.7878 GB, free: 8.156 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001656/0.01645, allocations: 71.89 kB / 0.7879 GB, free: 8.086 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001213/0.01766, allocations: 2.409 MB / 0.7902 GB, free: 5.488 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001076/0.01777, allocations: 31.73 kB / 0.7903 GB, free: 5.457 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.526e-05/0.01778, allocations: 15.98 kB / 0.7903 GB, free: 5.441 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (33): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 9.486e-05/0.01788, allocations: 130.3 kB / 0.7904 GB, free: 5.305 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.248e-05/0.01791, allocations: 19.98 kB / 0.7904 GB, free: 5.285 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.684e-05/0.01795, allocations: 35.14 kB / 0.7905 GB, free: 5.25 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.01795, allocations: 3.938 kB / 0.7905 GB, free: 5.246 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.01795, allocations: 4.656 kB / 0.7905 GB, free: 5.242 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.01796, allocations: 3.984 kB / 0.7905 GB, free: 5.238 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001927/0.01815, allocations: 178.3 kB / 0.7906 GB, free: 5.047 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.01815, allocations: 0 / 0.7906 GB, free: 5.047 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001135/0.01826, allocations: 46.38 kB / 0.7907 GB, free: 5.004 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001625/0.01843, allocations: 64.08 kB / 0.7907 GB, free: 4.938 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.245e-05/0.01844, allocations: 8.625 kB / 0.7908 GB, free: 4.93 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001063/0.0195, allocations: 2.414 MB / 0.7931 GB, free: 2.324 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.0195, allocations: 0 / 0.7931 GB, free: 2.324 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002529/0.01976, allocations: 292.8 kB / 0.7934 GB, free: 2.016 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.836e-05/0.01981, allocations: 32.42 kB / 0.7934 GB, free: 1.984 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.597e-05/0.01983, allocations: 96 / 0.7934 GB, free: 1.984 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.47e-05/0.01991, allocations: 21.64 kB / 0.7934 GB, free: 1.965 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.33e-05/0.01995, allocations: 19.95 kB / 0.7935 GB, free: 1.945 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.197e-06/0.01996, allocations: 4 kB / 0.7935 GB, free: 1.941 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 6.532e-05/0.02002, allocations: 83.55 kB / 0.7935 GB, free: 1.859 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.02002, allocations: 0 / 0.7935 GB, free: 1.859 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002683/0.02029, allocations: 111.7 kB / 0.7937 GB, free: 1.75 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (RC_dyn.Vc) * 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 (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 9.773e-05/0.02039, allocations: 86.89 kB / 0.7937 GB, free: 1.66 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003299/0.02072, allocations: 369.1 kB / 0.7941 GB, free: 1.273 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 8.586e-06/0.02073, allocations: 4 kB / 0.7941 GB, free: 1.27 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001619/0.02089, allocations: 288 kB / 0.7944 GB, free: 0.9609 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002623/0.02115, allocations: 71.09 kB / 0.7944 GB, free: 0.8945 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009227/0.02207, allocations: 0.6382 MB / 0.7951 GB, free: 256 kB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.796e-05/0.02215, allocations: 120.6 kB / 0.7952 GB, free: 112 kB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001016/0.02225, allocations: 41.52 kB / 0.7952 GB, free: 72 kB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001476/0.0224, allocations: 108 kB / 0.7953 GB, free: 15.96 MB / 0.7605 GB Notification: Performance of SimCode: time 8.02e-07/0.0224, allocations: 4.719 kB / 0.7953 GB, free: 15.96 MB / 0.7605 GB Notification: Performance of Templates: time 0.006157/0.02856, allocations: 4.089 MB / 0.7993 GB, free: 12.02 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Electrical.DC.Lines.Examples.RCModel.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe ; mkfifo Buildings_13_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe ; head -c 1048576 < Buildings_13_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe >> ../files/Buildings_13_Buildings.Electrical.DC.Lines.Examples.RCModel.sim & (cd run_cvode && ../Buildings_13_Buildings.Electrical.DC.Lines.Examples.RCModel -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > Buildings_13_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe 2>&1) [Timeout 240] (rm -f Buildings_13_Buildings.Electrical.DC.Lines.Examples.RCModel_gbode.pipe ; mkfifo Buildings_13_Buildings.Electrical.DC.Lines.Examples.RCModel_gbode.pipe ; head -c 1048576 < Buildings_13_Buildings.Electrical.DC.Lines.Examples.RCModel_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Electrical.DC.Lines.Examples.RCModel_gbode.sim & (cd run_gbode && ../Buildings_13_Buildings.Electrical.DC.Lines.Examples.RCModel -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > Buildings_13_Buildings.Electrical.DC.Lines.Examples.RCModel_gbode.pipe 2>&1) [Timeout 240] (rm -f Buildings_13_Buildings.Electrical.DC.Lines.Examples.RCModel_ida.pipe ; mkfifo Buildings_13_Buildings.Electrical.DC.Lines.Examples.RCModel_ida.pipe ; head -c 1048576 < Buildings_13_Buildings.Electrical.DC.Lines.Examples.RCModel_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Electrical.DC.Lines.Examples.RCModel_ida.sim & (cd run_ida && ../Buildings_13_Buildings.Electrical.DC.Lines.Examples.RCModel -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > Buildings_13_Buildings.Electrical.DC.Lines.Examples.RCModel_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.859088624827564]