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.0009378/0.0009378, allocations: 84.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.0009744/0.0009744, allocations: 161.4 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 0.8944/0.8944, 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.857/1.857, 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.433e-06/1.433e-06, allocations: 0 / 0.7751 GB, free: 5.453 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.002e-05/2.145e-05, allocations: 2.312 kB / 0.7751 GB, free: 5.449 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.RCModel): time 0.004968/0.00499, allocations: 3.3 MB / 0.7783 GB, free: 2.172 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.002658/0.007648, allocations: 1.28 MB / 0.7796 GB, free: 0.8906 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002036/0.007851, allocations: 15.88 kB / 0.7796 GB, free: 0.875 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0006053/0.008456, allocations: 135.2 kB / 0.7797 GB, free: 0.7422 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0005199/0.008976, allocations: 242 kB / 0.78 GB, free: 0.5078 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004371/0.009414, allocations: 203.4 kB / 0.7802 GB, free: 316 kB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0006969/0.01011, allocations: 0.6305 MB / 0.7808 GB, free: 15.68 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005309/0.01064, allocations: 350.2 kB / 0.7811 GB, free: 15.34 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000505/0.01115, allocations: 352 kB / 0.7815 GB, free: 15 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005697/0.01172, allocations: 232.6 kB / 0.7817 GB, free: 14.77 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 7.822e-05/0.01179, allocations: 36 kB / 0.7817 GB, free: 14.73 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002871/0.01208, allocations: 111.7 kB / 0.7818 GB, free: 14.62 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001723/0.01225, allocations: 172.2 kB / 0.782 GB, free: 14.46 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.000188/0.01244, allocations: 151.7 kB / 0.7821 GB, free: 14.31 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0005254/0.01297, allocations: 400 kB / 0.7825 GB, free: 13.92 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.01297, allocations: 0 / 0.7825 GB, free: 13.92 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.764e-06/0.01297, allocations: 4 kB / 0.7825 GB, free: 13.91 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.941e-06/0.01298, allocations: 0 / 0.7825 GB, free: 13.91 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.0009543/0.01393, allocations: 0.6081 MB / 0.7831 GB, free: 13.29 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.01397, allocations: 9.344 kB / 0.7831 GB, free: 13.28 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009445/0.01492, allocations: 206.1 kB / 0.7833 GB, free: 13.08 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004089/0.01533, allocations: 259.9 kB / 0.7836 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.982e-05/0.01536, allocations: 25.38 kB / 0.7836 GB, free: 12.78 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.525e-05/0.01543, allocations: 36.38 kB / 0.7836 GB, free: 12.74 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005726/0.01601, allocations: 497.8 kB / 0.7841 GB, free: 12.19 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.355e-05/0.01602, allocations: 0.7812 kB / 0.7841 GB, free: 12.19 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.054e-05/0.01606, allocations: 13.72 kB / 0.7841 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.538e-05/0.01612, allocations: 36.58 kB / 0.7841 GB, free: 12.14 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000239/0.01635, allocations: 113 kB / 0.7842 GB, free: 12.04 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001732/0.01809, allocations: 1.439 MB / 0.7857 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003668/0.01845, allocations: 150.3 kB / 0.7858 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.327e-05/0.01854, allocations: 44.83 kB / 0.7858 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.65e-05/0.01855, allocations: 5.125 kB / 0.7858 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.018e-05/0.01858, allocations: 34.56 kB / 0.7859 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=20): time 2.484e-06/0.01859, allocations: 0 / 0.7859 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of matching and sorting (n=20): time 0.0007821/0.01937, allocations: 266.4 kB / 0.7861 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.651e-05/0.01939, allocations: 59.34 kB / 0.7862 GB, free: 9.961 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003067/0.0197, allocations: 252.8 kB / 0.7864 GB, free: 9.699 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.748e-05/0.01972, allocations: 29.7 kB / 0.7865 GB, free: 9.664 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.849e-05/0.01981, allocations: 229 kB / 0.7867 GB, free: 9.434 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.706e-05/0.01984, allocations: 75.31 kB / 0.7867 GB, free: 9.359 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.393e-05/0.01991, allocations: 66.86 kB / 0.7868 GB, free: 9.289 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 8.112e-05/0.01999, allocations: 338.7 kB / 0.7871 GB, free: 8.949 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.913e-05/0.02003, allocations: 27.98 kB / 0.7872 GB, free: 8.922 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.93e-05/0.02011, allocations: 115.7 kB / 0.7873 GB, free: 8.773 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001473/0.02025, allocations: 167.6 kB / 0.7874 GB, free: 8.578 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.02026, allocations: 5.438 kB / 0.7874 GB, free: 8.574 MB / 0.7448 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0002591/0.02052, allocations: 219 kB / 0.7876 GB, free: 8.352 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.02053, allocations: 8 kB / 0.7877 GB, free: 8.344 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.375e-06/0.02054, allocations: 4 kB / 0.7877 GB, free: 8.34 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002343/0.02078, allocations: 70.17 kB / 0.7877 GB, free: 8.27 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001475/0.02092, allocations: 63.91 kB / 0.7878 GB, free: 8.207 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001285/0.02221, allocations: 2.417 MB / 0.7901 GB, free: 5.598 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001522/0.02236, allocations: 32.5 kB / 0.7902 GB, free: 5.566 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.543e-05/0.02238, allocations: 8 kB / 0.7902 GB, free: 5.559 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 0.0001151/0.02249, allocations: 130.5 kB / 0.7903 GB, free: 5.422 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.154e-05/0.02254, allocations: 27.95 kB / 0.7903 GB, free: 5.395 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.2e-05/0.02259, allocations: 30.12 kB / 0.7904 GB, free: 5.363 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.02259, allocations: 14.36 kB / 0.7904 GB, free: 5.352 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.02259, allocations: 0 / 0.7904 GB, free: 5.352 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.0226, allocations: 0 / 0.7904 GB, free: 5.352 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002442/0.02284, allocations: 173.6 kB / 0.7905 GB, free: 5.164 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.02284, allocations: 0 / 0.7905 GB, free: 5.164 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001274/0.02297, allocations: 43.91 kB / 0.7906 GB, free: 5.121 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002107/0.02318, allocations: 65.38 kB / 0.7906 GB, free: 5.055 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.28e-05/0.0232, allocations: 5.625 kB / 0.7907 GB, free: 5.051 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001266/0.02446, allocations: 2.408 MB / 0.793 GB, free: 2.449 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.02446, allocations: 0.625 kB / 0.793 GB, free: 2.449 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004625/0.02493, allocations: 294.3 kB / 0.7933 GB, free: 2.141 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 6.545e-05/0.02499, allocations: 31.78 kB / 0.7933 GB, free: 2.109 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.745e-05/0.02502, allocations: 4 kB / 0.7933 GB, free: 2.105 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001285/0.02515, allocations: 17.12 kB / 0.7933 GB, free: 2.09 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.283e-05/0.02518, allocations: 11.97 kB / 0.7933 GB, free: 2.078 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.344e-05/0.02519, allocations: 8 kB / 0.7934 GB, free: 2.07 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 8.092e-05/0.02527, allocations: 83.61 kB / 0.7934 GB, free: 1.988 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.1e-07/0.02527, allocations: 3.938 kB / 0.7934 GB, free: 1.984 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003846/0.02566, allocations: 112.8 kB / 0.7935 GB, free: 1.875 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.0001101/0.02577, allocations: 85.3 kB / 0.7936 GB, free: 1.785 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003896/0.02616, allocations: 373 kB / 0.794 GB, free: 1.395 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 9.578e-06/0.02617, allocations: 4.594 kB / 0.794 GB, free: 1.391 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.000189/0.02636, allocations: 287.9 kB / 0.7943 GB, free: 1.082 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003248/0.02668, allocations: 72.55 kB / 0.7943 GB, free: 1.016 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001058/0.02774, allocations: 0.6436 MB / 0.795 GB, free: 372 kB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.813e-05/0.02783, allocations: 124.6 kB / 0.7951 GB, free: 224 kB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001171/0.02794, allocations: 29.77 kB / 0.7951 GB, free: 196 kB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001616/0.02811, allocations: 113.7 kB / 0.7952 GB, free: 84 kB / 0.7448 GB Notification: Performance of SimCode: time 7.61e-07/0.02811, allocations: 0 / 0.7952 GB, free: 84 kB / 0.7448 GB Notification: Performance of Templates: time 0.007303/0.03541, allocations: 4.088 MB / 0.7992 GB, free: 12.14 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.808710366953164]