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.0007838/0.0007838, allocations: 80.92 kB / 20.75 MB, free: 3.742 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.0008894/0.0008894, allocations: 161 kB / 24.17 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 1.039/1.039, allocations: 177.2 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.99/1.99, allocations: 389.6 MB / 0.6354 GB, free: 12.27 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.482e-06/1.482e-06, allocations: 0 / 0.7752 GB, free: 5.398 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.583e-05/1.731e-05, allocations: 2.312 kB / 0.7752 GB, free: 5.395 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.RCModel): time 0.003685/0.003703, allocations: 3.351 MB / 0.7784 GB, free: 2.07 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001722/0.005425, allocations: 1.287 MB / 0.7797 GB, free: 0.7812 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001556/0.00558, allocations: 11.94 kB / 0.7797 GB, free: 0.7695 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0004096/0.00599, allocations: 123.3 kB / 0.7798 GB, free: 0.6484 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0003955/0.006385, allocations: 252.7 kB / 0.7801 GB, free: 412 kB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003411/0.006727, allocations: 197.1 kB / 0.7803 GB, free: 216 kB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0005168/0.007243, allocations: 0.6428 MB / 0.7809 GB, free: 15.57 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003525/0.007596, allocations: 345.8 kB / 0.7812 GB, free: 15.23 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002907/0.007887, allocations: 344.8 kB / 0.7815 GB, free: 14.9 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003378/0.008224, allocations: 235.4 kB / 0.7818 GB, free: 14.67 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 4.18e-05/0.008266, allocations: 36 kB / 0.7818 GB, free: 14.63 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001797/0.008446, allocations: 112.5 kB / 0.7819 GB, free: 14.52 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001066/0.008553, allocations: 163.5 kB / 0.7821 GB, free: 14.36 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001094/0.008662, allocations: 160.8 kB / 0.7822 GB, free: 14.21 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003595/0.009021, allocations: 402.7 kB / 0.7826 GB, free: 13.81 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.454e-06/0.009024, allocations: 0 / 0.7826 GB, free: 13.81 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.31e-07/0.009025, allocations: 1.219 kB / 0.7826 GB, free: 13.81 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.38e-06/0.00903, allocations: 0 / 0.7826 GB, free: 13.81 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.0006829/0.009713, allocations: 0.6115 MB / 0.7832 GB, free: 13.18 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 2.985e-05/0.009743, allocations: 13.34 kB / 0.7832 GB, free: 13.17 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008625/0.01061, allocations: 202.6 kB / 0.7834 GB, free: 12.97 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002835/0.01089, allocations: 255 kB / 0.7837 GB, free: 12.7 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.947e-05/0.01091, allocations: 25.38 kB / 0.7837 GB, free: 12.68 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.345e-05/0.01095, allocations: 36.36 kB / 0.7837 GB, free: 12.64 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003665/0.01132, allocations: 494.9 kB / 0.7842 GB, free: 12.09 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.246e-05/0.01133, allocations: 4.125 kB / 0.7842 GB, free: 12.09 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.581e-05/0.01136, allocations: 16.38 kB / 0.7842 GB, free: 12.07 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-05/0.01139, allocations: 33.14 kB / 0.7842 GB, free: 12.04 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001515/0.01155, allocations: 122.1 kB / 0.7844 GB, free: 11.93 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001173/0.01272, allocations: 1.422 MB / 0.7857 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002407/0.01296, allocations: 169.1 kB / 0.7859 GB, free: 10.28 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.958e-05/0.01301, allocations: 36.84 kB / 0.7859 GB, free: 10.24 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.119e-05/0.01302, allocations: 4 kB / 0.7859 GB, free: 10.24 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.087e-05/0.01304, allocations: 35.41 kB / 0.786 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=20): time 1.332e-06/0.01304, allocations: 0 / 0.786 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of matching and sorting (n=20): time 0.0005017/0.01354, allocations: 271.2 kB / 0.7862 GB, free: 9.922 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.41e-05/0.01357, allocations: 59.34 kB / 0.7863 GB, free: 9.852 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001525/0.01372, allocations: 257.5 kB / 0.7865 GB, free: 9.586 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.574e-05/0.01374, allocations: 26.64 kB / 0.7866 GB, free: 9.555 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.469e-05/0.01382, allocations: 220 kB / 0.7868 GB, free: 9.332 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.306e-05/0.01386, allocations: 79.34 kB / 0.7868 GB, free: 9.254 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.261e-05/0.01393, allocations: 58.44 kB / 0.7869 GB, free: 9.191 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.803e-05/0.014, allocations: 338.8 kB / 0.7872 GB, free: 8.852 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.834e-05/0.01404, allocations: 28.83 kB / 0.7873 GB, free: 8.824 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.421e-05/0.01413, allocations: 111.7 kB / 0.7874 GB, free: 8.68 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001474/0.01427, allocations: 180.7 kB / 0.7875 GB, free: 8.473 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.01428, allocations: 3.938 kB / 0.7875 GB, free: 8.469 MB / 0.7448 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0002527/0.01453, allocations: 218.1 kB / 0.7877 GB, free: 8.246 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/0.01454, allocations: 4 kB / 0.7877 GB, free: 8.242 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.01455, allocations: 4.938 kB / 0.7878 GB, free: 8.238 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002228/0.01477, allocations: 73.08 kB / 0.7878 GB, free: 8.164 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001732/0.01494, allocations: 68.94 kB / 0.7879 GB, free: 8.098 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0014/0.01634, allocations: 2.415 MB / 0.7902 GB, free: 5.496 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001126/0.01646, allocations: 31.73 kB / 0.7903 GB, free: 5.465 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.29e-05/0.01647, allocations: 12 kB / 0.7903 GB, free: 5.453 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.42e-05/0.01656, allocations: 138.7 kB / 0.7904 GB, free: 5.309 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.008e-05/0.0166, allocations: 23.98 kB / 0.7904 GB, free: 5.285 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.251e-05/0.01664, allocations: 30.11 kB / 0.7905 GB, free: 5.254 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.01664, allocations: 7.938 kB / 0.7905 GB, free: 5.246 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.758e-06/0.01664, allocations: 0.5 kB / 0.7905 GB, free: 5.246 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.01665, allocations: 3.344 kB / 0.7905 GB, free: 5.246 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001862/0.01683, allocations: 173.6 kB / 0.7906 GB, free: 5.059 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.01683, allocations: 4 kB / 0.7907 GB, free: 5.055 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001255/0.01696, allocations: 47.91 kB / 0.7907 GB, free: 5.008 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001726/0.01713, allocations: 68.11 kB / 0.7908 GB, free: 4.938 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.069e-05/0.01714, allocations: 4.938 kB / 0.7908 GB, free: 4.934 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009993/0.01814, allocations: 2.412 MB / 0.7931 GB, free: 2.328 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.01814, allocations: 1.781 kB / 0.7931 GB, free: 2.328 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002562/0.0184, allocations: 286.8 kB / 0.7934 GB, free: 2.027 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.311e-05/0.01845, allocations: 36.44 kB / 0.7934 GB, free: 1.992 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.854e-05/0.01847, allocations: 4 kB / 0.7934 GB, free: 1.988 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.895e-05/0.01856, allocations: 16.58 kB / 0.7935 GB, free: 1.973 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.22e-05/0.01859, allocations: 21.03 kB / 0.7935 GB, free: 1.953 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.965e-06/0.0186, allocations: 0 / 0.7935 GB, free: 1.953 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 6.444e-05/0.01867, allocations: 87.8 kB / 0.7936 GB, free: 1.867 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4e-08/0.01867, allocations: 0 / 0.7936 GB, free: 1.867 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002725/0.01894, allocations: 111.7 kB / 0.7937 GB, free: 1.758 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 8.623e-05/0.01902, allocations: 89.91 kB / 0.7938 GB, free: 1.664 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003276/0.01935, allocations: 365.6 kB / 0.7941 GB, free: 1.281 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 8.696e-06/0.01936, allocations: 4 kB / 0.7941 GB, free: 1.277 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001584/0.01952, allocations: 290.1 kB / 0.7944 GB, free: 0.9688 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002492/0.01977, allocations: 73.45 kB / 0.7944 GB, free: 0.8984 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008933/0.02066, allocations: 0.6326 MB / 0.7951 GB, free: 264 kB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.881e-05/0.02074, allocations: 129.9 kB / 0.7952 GB, free: 112 kB / 0.7448 GB Notification: Performance of simCode: alias equations: time 9.64e-05/0.02084, allocations: 28.66 kB / 0.7952 GB, free: 84 kB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000153/0.02099, allocations: 116.3 kB / 0.7953 GB, free: 15.97 MB / 0.7605 GB Notification: Performance of SimCode: time 7.51e-07/0.02099, allocations: 0 / 0.7953 GB, free: 15.97 MB / 0.7605 GB Notification: Performance of Templates: time 0.006441/0.02743, allocations: 4.08 MB / 0.7993 GB, free: 12.04 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 & ./Buildings_13_Buildings.Electrical.DC.Lines.Examples.RCModel -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > Buildings_13_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.080430916044861]