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.001046/0.001046, allocations: 84.8 kB / 21.62 MB, free: 2.84 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.00153/0.00153, allocations: 166.9 kB / 25.04 MB, free: 9.152 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 1.003/1.003, allocations: 177.1 MB / 205.5 MB, free: 5.449 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.86/1.86, allocations: 389.6 MB / 0.6363 GB, free: 12.3 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 2.014e-06/2.014e-06, allocations: 0 / 0.7761 GB, free: 5.336 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.823e-05/2.025e-05, allocations: 2.312 kB / 0.7761 GB, free: 5.332 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.RCModel): time 0.003967/0.003988, allocations: 3.35 MB / 0.7794 GB, free: 2.004 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.002337/0.006324, allocations: 1.284 MB / 0.7806 GB, free: 0.7188 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002271/0.006551, allocations: 12.94 kB / 0.7806 GB, free: 0.707 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0005878/0.007139, allocations: 131.2 kB / 0.7808 GB, free: 0.5781 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0004821/0.007621, allocations: 241.1 kB / 0.781 GB, free: 352 kB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.00048/0.008101, allocations: 205.4 kB / 0.7812 GB, free: 148 kB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0007431/0.008844, allocations: 0.6382 MB / 0.7818 GB, free: 15.5 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004783/0.009323, allocations: 346.4 kB / 0.7821 GB, free: 15.17 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004185/0.009741, allocations: 343.2 kB / 0.7825 GB, free: 14.84 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004643/0.01021, allocations: 236.6 kB / 0.7827 GB, free: 14.61 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 5.513e-05/0.01026, allocations: 36 kB / 0.7827 GB, free: 14.57 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000236/0.0105, allocations: 112.8 kB / 0.7828 GB, free: 14.46 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001149/0.01061, allocations: 163.5 kB / 0.783 GB, free: 14.3 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001271/0.01074, allocations: 155.6 kB / 0.7831 GB, free: 14.15 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.000448/0.01119, allocations: 403.3 kB / 0.7835 GB, free: 13.75 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.01119, allocations: 1.531 kB / 0.7835 GB, free: 13.75 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.463e-06/0.01119, allocations: 0 / 0.7835 GB, free: 13.75 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 7.734e-06/0.0112, allocations: 0 / 0.7835 GB, free: 13.75 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.0007548/0.01195, allocations: 0.6162 MB / 0.7841 GB, free: 13.12 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.39e-05/0.01199, allocations: 9.344 kB / 0.7841 GB, free: 13.11 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006268/0.01261, allocations: 197.3 kB / 0.7843 GB, free: 12.92 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003226/0.01294, allocations: 259 kB / 0.7846 GB, free: 12.64 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.928e-05/0.01296, allocations: 21.38 kB / 0.7846 GB, free: 12.62 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.965e-05/0.01301, allocations: 45.28 kB / 0.7846 GB, free: 12.58 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004011/0.01341, allocations: 497.8 kB / 0.7851 GB, free: 12.02 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/0.01342, allocations: 4.625 kB / 0.7851 GB, free: 12.02 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.844e-05/0.01345, allocations: 16.36 kB / 0.7851 GB, free: 12 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.051e-05/0.01349, allocations: 37.45 kB / 0.7852 GB, free: 11.97 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002064/0.01369, allocations: 109.4 kB / 0.7853 GB, free: 11.87 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001246/0.01494, allocations: 1.43 MB / 0.7867 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000246/0.01519, allocations: 161.8 kB / 0.7868 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.772e-05/0.01523, allocations: 41.91 kB / 0.7869 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.056e-05/0.01524, allocations: 4 kB / 0.7869 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.306e-05/0.01527, allocations: 34.56 kB / 0.7869 GB, free: 10.13 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=20): time 1.452e-06/0.01527, allocations: 0.9375 kB / 0.7869 GB, free: 10.13 MB / 0.7448 GB Notification: Performance of matching and sorting (n=20): time 0.0004976/0.01577, allocations: 265.2 kB / 0.7872 GB, free: 9.867 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.511e-05/0.01579, allocations: 63.28 kB / 0.7872 GB, free: 9.793 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001466/0.01594, allocations: 259.8 kB / 0.7875 GB, free: 9.527 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.896e-05/0.01596, allocations: 29.7 kB / 0.7875 GB, free: 9.492 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 9.626e-05/0.01605, allocations: 220 kB / 0.7877 GB, free: 9.27 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.084e-05/0.01609, allocations: 75.34 kB / 0.7878 GB, free: 9.195 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.522e-05/0.01616, allocations: 61.5 kB / 0.7878 GB, free: 9.129 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.74e-05/0.01626, allocations: 338.8 kB / 0.7882 GB, free: 8.789 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.746e-05/0.01629, allocations: 27.98 kB / 0.7882 GB, free: 8.762 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.033e-05/0.01638, allocations: 111.8 kB / 0.7883 GB, free: 8.617 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001546/0.01653, allocations: 168.5 kB / 0.7885 GB, free: 8.422 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.01653, allocations: 0 / 0.7885 GB, free: 8.422 MB / 0.7448 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0002672/0.0168, allocations: 231 kB / 0.7887 GB, free: 8.188 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.01682, allocations: 10.19 kB / 0.7887 GB, free: 8.18 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.01682, allocations: 0.6875 kB / 0.7887 GB, free: 8.18 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002241/0.01705, allocations: 73.02 kB / 0.7888 GB, free: 8.105 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001637/0.01721, allocations: 73.38 kB / 0.7888 GB, free: 8.035 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001434/0.01864, allocations: 2.419 MB / 0.7912 GB, free: 5.43 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00011/0.01875, allocations: 31.73 kB / 0.7912 GB, free: 5.398 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.146e-05/0.01877, allocations: 12 kB / 0.7912 GB, free: 5.387 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.11e-05/0.01886, allocations: 128.6 kB / 0.7914 GB, free: 5.25 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.407e-05/0.01889, allocations: 27.09 kB / 0.7914 GB, free: 5.227 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.392e-05/0.01892, allocations: 38.11 kB / 0.7914 GB, free: 5.188 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.01893, allocations: 3.938 kB / 0.7914 GB, free: 5.184 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.01893, allocations: 4 kB / 0.7914 GB, free: 5.18 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.01893, allocations: 3.938 kB / 0.7914 GB, free: 5.176 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001786/0.01911, allocations: 173.6 kB / 0.7916 GB, free: 4.988 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.01912, allocations: 0 / 0.7916 GB, free: 4.988 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001191/0.01923, allocations: 45.72 kB / 0.7916 GB, free: 4.945 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001652/0.0194, allocations: 68.48 kB / 0.7917 GB, free: 4.875 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.247e-05/0.01941, allocations: 8 kB / 0.7917 GB, free: 4.867 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001023/0.02043, allocations: 2.409 MB / 0.7941 GB, free: 2.266 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.646e-06/0.02044, allocations: 0.9375 kB / 0.7941 GB, free: 2.266 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002436/0.02068, allocations: 285.1 kB / 0.7943 GB, free: 1.965 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.047e-05/0.02073, allocations: 36.81 kB / 0.7944 GB, free: 1.93 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.617e-05/0.02075, allocations: 4 kB / 0.7944 GB, free: 1.926 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.485e-05/0.02083, allocations: 16.86 kB / 0.7944 GB, free: 1.91 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.604e-05/0.02086, allocations: 11.98 kB / 0.7944 GB, free: 1.898 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.457e-06/0.02087, allocations: 12.7 kB / 0.7944 GB, free: 1.887 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 6.737e-05/0.02094, allocations: 82.77 kB / 0.7945 GB, free: 1.805 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.02094, allocations: 0.5312 kB / 0.7945 GB, free: 1.805 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002593/0.0212, allocations: 111.7 kB / 0.7946 GB, free: 1.695 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 0.0001025/0.0213, allocations: 90.31 kB / 0.7947 GB, free: 1.602 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003419/0.02164, allocations: 356.8 kB / 0.795 GB, free: 1.227 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 9.057e-06/0.02165, allocations: 4 kB / 0.795 GB, free: 1.223 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.000167/0.02182, allocations: 291.6 kB / 0.7953 GB, free: 0.9102 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002447/0.02206, allocations: 72.75 kB / 0.7954 GB, free: 0.8398 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009089/0.02297, allocations: 0.6447 MB / 0.796 GB, free: 192 kB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.781e-05/0.02305, allocations: 121.9 kB / 0.7961 GB, free: 48 kB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001012/0.02315, allocations: 32.84 kB / 0.7962 GB, free: 16 kB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001456/0.02329, allocations: 111.3 kB / 0.7963 GB, free: 15.91 MB / 0.7605 GB Notification: Performance of SimCode: time 6.41e-07/0.0233, allocations: 0.9688 kB / 0.7963 GB, free: 15.91 MB / 0.7605 GB Notification: Performance of Templates: time 0.006457/0.02975, allocations: 4.091 MB / 0.8003 GB, free: 11.97 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 -lv LOG_STATS > Buildings_13_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.938009651377797]