Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Electrical.DC.Lines.Examples.Resistance.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.0009216/0.0009216, allocations: 85.45 kB / 21.62 MB, free: 2.836 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.00113/0.00113, allocations: 171.1 kB / 25.05 MB, free: 8.793 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 0.9913/0.9913, 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.881/1.881, allocations: 389.6 MB / 0.6363 GB, free: 12.31 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.Resistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Electrical.DC.Lines.Examples.Resistance") translateModel(Buildings.Electrical.DC.Lines.Examples.Resistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Electrical.DC.Lines.Examples.Resistance") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.013e-06/2.013e-06, allocations: 0 / 0.7761 GB, free: 5.352 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.822e-05/3.024e-05, allocations: 2.312 kB / 0.7761 GB, free: 5.348 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.Resistance): time 0.003612/0.003643, allocations: 2.597 MB / 0.7786 GB, free: 2.77 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001387/0.00503, allocations: 1.01 MB / 0.7796 GB, free: 1.762 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.588e-05/0.005126, allocations: 4 kB / 0.7796 GB, free: 1.758 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0003554/0.005481, allocations: 111.3 kB / 0.7797 GB, free: 1.648 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0002344/0.005715, allocations: 133.9 kB / 0.7799 GB, free: 1.52 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002005/0.005916, allocations: 111.7 kB / 0.78 GB, free: 1.41 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0002669/0.006183, allocations: 310.9 kB / 0.7803 GB, free: 1.105 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002179/0.006401, allocations: 190 kB / 0.7804 GB, free: 0.9219 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001465/0.006547, allocations: 183.2 kB / 0.7806 GB, free: 0.7461 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002121/0.006759, allocations: 119.7 kB / 0.7807 GB, free: 0.6289 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.518e-05/0.006784, allocations: 16 kB / 0.7808 GB, free: 0.6133 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001419/0.006926, allocations: 87.8 kB / 0.7808 GB, free: 0.5273 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 6.507e-05/0.006991, allocations: 95.72 kB / 0.7809 GB, free: 444 kB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 5.876e-05/0.00705, allocations: 75.83 kB / 0.781 GB, free: 368 kB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0002306/0.007281, allocations: 231.2 kB / 0.7812 GB, free: 136 kB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.007283, allocations: 0 / 0.7812 GB, free: 136 kB / 0.7292 GB Notification: Performance of FrontEnd: time 8.81e-07/0.007284, allocations: 7.938 kB / 0.7812 GB, free: 128 kB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.868e-06/0.007288, allocations: 0.625 kB / 0.7812 GB, free: 128 kB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0004405/0.007729, allocations: 413.3 kB / 0.7816 GB, free: 15.7 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 2.782e-05/0.007756, allocations: 14.41 kB / 0.7816 GB, free: 15.69 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003597/0.008116, allocations: 109.2 kB / 0.7817 GB, free: 15.58 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001755/0.008292, allocations: 188.6 kB / 0.7819 GB, free: 15.38 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.252e-05/0.008304, allocations: 16.75 kB / 0.7819 GB, free: 15.36 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.977e-05/0.008324, allocations: 16.38 kB / 0.782 GB, free: 15.34 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000215/0.008539, allocations: 276.1 kB / 0.7822 GB, free: 15.04 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.585e-06/0.008547, allocations: 0.9062 kB / 0.7822 GB, free: 15.04 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.322e-05/0.00856, allocations: 4.375 kB / 0.7822 GB, free: 15.03 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.753e-05/0.008587, allocations: 29.7 kB / 0.7822 GB, free: 15 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.925e-05/0.008667, allocations: 56.03 kB / 0.7823 GB, free: 14.95 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006545/0.009321, allocations: 0.8906 MB / 0.7832 GB, free: 14.01 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001025/0.009424, allocations: 58.64 kB / 0.7832 GB, free: 13.94 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.087e-05/0.009444, allocations: 16.86 kB / 0.7832 GB, free: 13.92 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 7.204e-06/0.009452, allocations: 5.406 kB / 0.7832 GB, free: 13.92 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.644e-05/0.009468, allocations: 30.56 kB / 0.7833 GB, free: 13.88 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.262e-06/0.009469, allocations: 0 / 0.7833 GB, free: 13.88 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0002077/0.009677, allocations: 99.11 kB / 0.7834 GB, free: 13.77 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.071e-05/0.009698, allocations: 52.75 kB / 0.7834 GB, free: 13.71 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.866e-05/0.009786, allocations: 175.9 kB / 0.7836 GB, free: 13.53 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.069e-05/0.009797, allocations: 25.7 kB / 0.7836 GB, free: 13.5 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.081e-05/0.009858, allocations: 176.5 kB / 0.7838 GB, free: 13.32 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.317e-05/0.009871, allocations: 27.78 kB / 0.7838 GB, free: 13.29 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.727e-05/0.009908, allocations: 34.19 kB / 0.7838 GB, free: 13.25 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 6.878e-05/0.009977, allocations: 323.5 kB / 0.7842 GB, free: 12.93 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.785e-05/0.009995, allocations: 15.98 kB / 0.7842 GB, free: 12.91 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.593e-05/0.01004, allocations: 76.91 kB / 0.7842 GB, free: 12.81 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.927e-05/0.01012, allocations: 113.8 kB / 0.7843 GB, free: 12.67 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.01012, allocations: 0 / 0.7843 GB, free: 12.67 MB / 0.7448 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001354/0.01026, allocations: 128.2 kB / 0.7845 GB, free: 12.54 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.032e-05/0.01027, allocations: 8 kB / 0.7845 GB, free: 12.53 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.01027, allocations: 5.125 kB / 0.7845 GB, free: 12.53 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001202/0.01039, allocations: 26.09 kB / 0.7845 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.143e-05/0.01045, allocations: 33.02 kB / 0.7845 GB, free: 12.47 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005776/0.01103, allocations: 1.195 MB / 0.7857 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.393e-05/0.0111, allocations: 21.33 kB / 0.7857 GB, free: 11.16 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.392e-06/0.0111, allocations: 4 kB / 0.7857 GB, free: 11.16 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (17): * Single equations (assignments): 16 * 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 7.511e-05/0.01118, allocations: 121.4 kB / 0.7858 GB, free: 11.03 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.326e-05/0.0112, allocations: 12 kB / 0.7859 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.691e-05/0.01122, allocations: 18.55 kB / 0.7859 GB, free: 11 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.01122, allocations: 4 kB / 0.7859 GB, free: 11 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.184e-06/0.01122, allocations: 3.938 kB / 0.7859 GB, free: 10.99 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/0.01123, allocations: 5.031 kB / 0.7859 GB, free: 10.99 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002523/0.01148, allocations: 259.5 kB / 0.7861 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.01148, allocations: 2.469 kB / 0.7861 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.831e-05/0.01156, allocations: 15.92 kB / 0.7862 GB, free: 10.69 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001162/0.01168, allocations: 24.84 kB / 0.7862 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.955e-06/0.01168, allocations: 7.062 kB / 0.7862 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005995/0.01228, allocations: 1.183 MB / 0.7873 GB, free: 9.375 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.01229, allocations: 3.984 kB / 0.7873 GB, free: 9.371 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001181/0.0124, allocations: 168.7 kB / 0.7875 GB, free: 9.188 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.806e-05/0.01243, allocations: 19.89 kB / 0.7875 GB, free: 9.168 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.206e-06/0.01244, allocations: 0 / 0.7875 GB, free: 9.168 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.917e-05/0.0125, allocations: 11.98 kB / 0.7875 GB, free: 9.156 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.463e-05/0.01251, allocations: 7.25 kB / 0.7875 GB, free: 9.152 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.278e-06/0.01252, allocations: 3.938 kB / 0.7875 GB, free: 9.148 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.203e-05/0.01256, allocations: 48.8 kB / 0.7876 GB, free: 9.098 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.01256, allocations: 0 / 0.7876 GB, free: 9.098 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001938/0.01275, allocations: 51.89 kB / 0.7876 GB, free: 9.047 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 5 * 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.418e-05/0.01284, allocations: 80.41 kB / 0.7877 GB, free: 8.961 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002112/0.01305, allocations: 182.3 kB / 0.7879 GB, free: 8.77 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.01305, allocations: 0 / 0.7879 GB, free: 8.77 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 6.454e-05/0.01312, allocations: 135.5 kB / 0.788 GB, free: 8.621 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001741/0.01329, allocations: 45.39 kB / 0.7881 GB, free: 8.582 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005713/0.01386, allocations: 368.4 kB / 0.7884 GB, free: 8.195 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.149e-05/0.01393, allocations: 92.58 kB / 0.7885 GB, free: 8.086 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 6.849e-05/0.014, allocations: 16.45 kB / 0.7885 GB, free: 8.07 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.252e-05/0.01409, allocations: 79.28 kB / 0.7886 GB, free: 7.992 MB / 0.7448 GB Notification: Performance of SimCode: time 7.41e-07/0.01409, allocations: 1.062 kB / 0.7886 GB, free: 7.992 MB / 0.7448 GB Notification: Performance of Templates: time 0.00373/0.01782, allocations: 1.787 MB / 0.7903 GB, free: 6.301 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Electrical.DC.Lines.Examples.Resistance.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe ; mkfifo Buildings_13_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe ; head -c 1048576 < Buildings_13_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe >> ../files/Buildings_13_Buildings.Electrical.DC.Lines.Examples.Resistance.sim & ./Buildings_13_Buildings.Electrical.DC.Lines.Examples.Resistance -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.881054728291929]