Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Electrical.DC.Loads.Examples.Resistor.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.0009673/0.0009673, allocations: 80.92 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.00101/0.00101, allocations: 165 kB / 24.17 MB, free: 328 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.9654/0.9654, allocations: 177.1 MB / 204.6 MB, free: 5.477 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.883/1.883, allocations: 389.6 MB / 0.6354 GB, free: 12.28 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.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Electrical.DC.Loads.Examples.Resistor") translateModel(Buildings.Electrical.DC.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Electrical.DC.Loads.Examples.Resistor") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 0.7752 GB, free: 5.383 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.783e-05/1.942e-05, allocations: 5.609 kB / 0.7752 GB, free: 5.379 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.Resistor): time 0.003298/0.003317, allocations: 3.009 MB / 0.7781 GB, free: 2.395 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001682/0.004999, allocations: 1.138 MB / 0.7792 GB, free: 1.254 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001395/0.005138, allocations: 12.94 kB / 0.7792 GB, free: 1.242 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0004149/0.005553, allocations: 119.3 kB / 0.7793 GB, free: 1.125 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0003178/0.005871, allocations: 196.3 kB / 0.7795 GB, free: 0.9336 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002758/0.006147, allocations: 157 kB / 0.7797 GB, free: 0.7812 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0004894/0.006636, allocations: 499 kB / 0.7802 GB, free: 300 kB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003102/0.006946, allocations: 288.2 kB / 0.7804 GB, free: 16 kB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002437/0.00719, allocations: 276.6 kB / 0.7807 GB, free: 15.75 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000287/0.007477, allocations: 187.4 kB / 0.7809 GB, free: 15.56 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.484e-05/0.007512, allocations: 28.88 kB / 0.7809 GB, free: 15.54 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001753/0.007687, allocations: 95.8 kB / 0.781 GB, free: 15.44 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 9.385e-05/0.007781, allocations: 141.4 kB / 0.7811 GB, free: 15.3 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 8.89e-05/0.00787, allocations: 119.7 kB / 0.7812 GB, free: 15.19 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003195/0.00819, allocations: 334.8 kB / 0.7816 GB, free: 14.86 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.644e-06/0.008192, allocations: 3.938 kB / 0.7816 GB, free: 14.86 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.51e-07/0.008193, allocations: 0 / 0.7816 GB, free: 14.86 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.719e-06/0.008198, allocations: 0.6875 kB / 0.7816 GB, free: 14.86 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.0005198/0.008717, allocations: 0.5179 MB / 0.7821 GB, free: 14.32 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.009e-05/0.008748, allocations: 13.34 kB / 0.7821 GB, free: 14.3 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005021/0.00925, allocations: 169.7 kB / 0.7822 GB, free: 14.14 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000249/0.009499, allocations: 222.8 kB / 0.7825 GB, free: 13.9 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.816e-05/0.009517, allocations: 25.83 kB / 0.7825 GB, free: 13.88 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.033e-05/0.009547, allocations: 28.38 kB / 0.7825 GB, free: 13.85 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003223/0.009869, allocations: 424.2 kB / 0.7829 GB, free: 13.37 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.316e-05/0.009883, allocations: 8.109 kB / 0.7829 GB, free: 13.36 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.153e-05/0.009904, allocations: 12.38 kB / 0.7829 GB, free: 13.35 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.945e-05/0.009944, allocations: 33.14 kB / 0.783 GB, free: 13.32 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001245/0.01007, allocations: 110.2 kB / 0.7831 GB, free: 13.21 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001147/0.01121, allocations: 1.313 MB / 0.7844 GB, free: 11.85 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001535/0.01137, allocations: 97.8 kB / 0.7844 GB, free: 11.74 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.979e-05/0.01146, allocations: 61.36 kB / 0.7845 GB, free: 11.68 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 6.763e-06/0.01146, allocations: 0.8125 kB / 0.7845 GB, free: 11.68 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.807e-05/0.01148, allocations: 34.56 kB / 0.7845 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=14): time 1.373e-06/0.01148, allocations: 0.875 kB / 0.7845 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of matching and sorting (n=14): time 0.0002435/0.01173, allocations: 130.2 kB / 0.7847 GB, free: 11.5 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.108e-05/0.01175, allocations: 52.34 kB / 0.7847 GB, free: 11.44 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001198/0.01187, allocations: 219.3 kB / 0.7849 GB, free: 11.21 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.345e-05/0.01188, allocations: 25.7 kB / 0.7849 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.81e-05/0.01196, allocations: 209.2 kB / 0.7851 GB, free: 10.97 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.337e-05/0.01198, allocations: 51.52 kB / 0.7852 GB, free: 10.92 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.928e-05/0.01203, allocations: 52.7 kB / 0.7852 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.386e-05/0.01211, allocations: 326.8 kB / 0.7856 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.437e-05/0.01213, allocations: 16.45 kB / 0.7856 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.505e-05/0.0122, allocations: 105 kB / 0.7857 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001144/0.01231, allocations: 155.3 kB / 0.7858 GB, free: 10.19 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.01231, allocations: 0.875 kB / 0.7858 GB, free: 10.19 MB / 0.7448 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0001719/0.01248, allocations: 173 kB / 0.786 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.221e-05/0.0125, allocations: 5.719 kB / 0.786 GB, free: 10.01 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.0125, allocations: 4 kB / 0.786 GB, free: 10.01 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001379/0.01264, allocations: 35.2 kB / 0.786 GB, free: 9.973 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001142/0.01276, allocations: 53.05 kB / 0.7861 GB, free: 9.922 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006326/0.01339, allocations: 1.197 MB / 0.7873 GB, free: 8.633 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.009e-05/0.01348, allocations: 19.89 kB / 0.7873 GB, free: 8.613 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.03e-05/0.01349, allocations: 13.44 kB / 0.7873 GB, free: 8.602 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (27): * Single equations (assignments): 26 * 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 8.807e-05/0.01358, allocations: 128.5 kB / 0.7874 GB, free: 8.465 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.916e-05/0.01361, allocations: 21.52 kB / 0.7874 GB, free: 8.445 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.521e-05/0.01363, allocations: 25.45 kB / 0.7875 GB, free: 8.422 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.01363, allocations: 4 kB / 0.7875 GB, free: 8.418 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.876e-06/0.01364, allocations: 0 / 0.7875 GB, free: 8.418 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.01364, allocations: 0.5312 kB / 0.7875 GB, free: 8.418 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004371/0.01408, allocations: 0.574 MB / 0.788 GB, free: 7.789 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.01408, allocations: 0.5312 kB / 0.788 GB, free: 7.789 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.997e-05/0.01413, allocations: 31.36 kB / 0.788 GB, free: 7.762 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000107/0.01424, allocations: 32.77 kB / 0.7881 GB, free: 7.727 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.116e-05/0.01425, allocations: 8 kB / 0.7881 GB, free: 7.719 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000647/0.01489, allocations: 1.202 MB / 0.7893 GB, free: 6.422 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.0149, allocations: 4 kB / 0.7893 GB, free: 6.418 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001686/0.01506, allocations: 291.4 kB / 0.7895 GB, free: 6.094 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.017e-05/0.0151, allocations: 31.78 kB / 0.7896 GB, free: 6.062 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.218e-05/0.01512, allocations: 5.625 kB / 0.7896 GB, free: 6.059 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.959e-05/0.0152, allocations: 15.98 kB / 0.7896 GB, free: 6.043 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.054e-05/0.01522, allocations: 15.92 kB / 0.7896 GB, free: 6.027 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.396e-06/0.01523, allocations: 9.562 kB / 0.7896 GB, free: 6.02 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.865e-05/0.01527, allocations: 71.34 kB / 0.7897 GB, free: 5.949 MB / 0.7448 GB Notification: Performance of sort global known variables: time 3e-08/0.01527, allocations: 0 / 0.7897 GB, free: 5.949 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002236/0.0155, allocations: 75.84 kB / 0.7898 GB, free: 5.875 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (14): * Single equations (assignments): 13 * 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.053e-05/0.01558, allocations: 89.64 kB / 0.7898 GB, free: 5.781 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002304/0.01581, allocations: 211 kB / 0.79 GB, free: 5.562 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 6.993e-06/0.01582, allocations: 5.031 kB / 0.79 GB, free: 5.559 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 9.63e-05/0.01591, allocations: 160.2 kB / 0.7902 GB, free: 5.387 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002374/0.01615, allocations: 51.89 kB / 0.7902 GB, free: 5.34 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000924/0.01707, allocations: 0.5382 MB / 0.7908 GB, free: 4.75 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.99e-05/0.01714, allocations: 112.3 kB / 0.7909 GB, free: 4.621 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 7.354e-05/0.01722, allocations: 25.97 kB / 0.7909 GB, free: 4.602 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001016/0.01732, allocations: 92.28 kB / 0.791 GB, free: 4.512 MB / 0.7448 GB Notification: Performance of SimCode: time 4.11e-07/0.01732, allocations: 0 / 0.791 GB, free: 4.512 MB / 0.7448 GB Notification: Performance of Templates: time 0.00469/0.02201, allocations: 2.646 MB / 0.7936 GB, free: 2.02 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Electrical.DC.Loads.Examples.Resistor.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe ; mkfifo Buildings_13_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe ; head -c 1048576 < Buildings_13_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe >> ../files/Buildings_13_Buildings.Electrical.DC.Loads.Examples.Resistor.sim & (cd run_cvode && ../Buildings_13_Buildings.Electrical.DC.Loads.Examples.Resistor -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > Buildings_13_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe 2>&1) [Timeout 240] (rm -f Buildings_13_Buildings.Electrical.DC.Loads.Examples.Resistor_gbode.pipe ; mkfifo Buildings_13_Buildings.Electrical.DC.Loads.Examples.Resistor_gbode.pipe ; head -c 1048576 < Buildings_13_Buildings.Electrical.DC.Loads.Examples.Resistor_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Electrical.DC.Loads.Examples.Resistor_gbode.sim & (cd run_gbode && ../Buildings_13_Buildings.Electrical.DC.Loads.Examples.Resistor -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > Buildings_13_Buildings.Electrical.DC.Loads.Examples.Resistor_gbode.pipe 2>&1) [Timeout 240] (rm -f Buildings_13_Buildings.Electrical.DC.Loads.Examples.Resistor_ida.pipe ; mkfifo Buildings_13_Buildings.Electrical.DC.Loads.Examples.Resistor_ida.pipe ; head -c 1048576 < Buildings_13_Buildings.Electrical.DC.Loads.Examples.Resistor_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Electrical.DC.Loads.Examples.Resistor_ida.sim & (cd run_ida && ../Buildings_13_Buildings.Electrical.DC.Loads.Examples.Resistor -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > Buildings_13_Buildings.Electrical.DC.Loads.Examples.Resistor_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.778370321728289]