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.001116/0.001116, allocations: 76.81 kB / 21.55 MB, free: 2.941 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.001307/0.001307, allocations: 161.8 kB / 24.96 MB, free: 9.184 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.9247/0.9247, allocations: 177.1 MB / 205.4 MB, free: 5.465 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.6362 GB, free: 12.25 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 1.784e-06/1.784e-06, allocations: 0 / 0.7759 GB, free: 5.379 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.981e-05/2.159e-05, allocations: 2.312 kB / 0.7759 GB, free: 5.375 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.Resistance): time 0.003099/0.003121, allocations: 2.61 MB / 0.7785 GB, free: 2.789 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001552/0.004672, allocations: 1.015 MB / 0.7795 GB, free: 1.777 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001064/0.004779, allocations: 7.938 kB / 0.7795 GB, free: 1.77 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0004068/0.005185, allocations: 91.5 kB / 0.7796 GB, free: 1.68 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0002182/0.005404, allocations: 143.1 kB / 0.7797 GB, free: 1.539 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001708/0.005574, allocations: 108.4 kB / 0.7798 GB, free: 1.434 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0002627/0.005837, allocations: 315.5 kB / 0.7801 GB, free: 1.125 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002406/0.006078, allocations: 182.5 kB / 0.7803 GB, free: 0.9492 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001519/0.00623, allocations: 179.6 kB / 0.7805 GB, free: 0.7734 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002412/0.006471, allocations: 128.2 kB / 0.7806 GB, free: 0.6484 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.849e-05/0.006499, allocations: 20.78 kB / 0.7806 GB, free: 0.6289 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000153/0.006652, allocations: 87.73 kB / 0.7807 GB, free: 0.543 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 6.688e-05/0.006719, allocations: 96.86 kB / 0.7808 GB, free: 460 kB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 6.535e-05/0.006784, allocations: 79.83 kB / 0.7808 GB, free: 380 kB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0002429/0.007027, allocations: 223.3 kB / 0.7811 GB, free: 156 kB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.00703, allocations: 0.8125 kB / 0.7811 GB, free: 156 kB / 0.7292 GB Notification: Performance of FrontEnd: time 1.012e-06/0.007031, allocations: 0 / 0.7811 GB, free: 156 kB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.998e-06/0.007035, allocations: 1.281 kB / 0.7811 GB, free: 156 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.0004663/0.007501, allocations: 424.6 kB / 0.7815 GB, free: 15.71 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.138e-05/0.007533, allocations: 9.344 kB / 0.7815 GB, free: 15.71 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003631/0.007896, allocations: 105.8 kB / 0.7816 GB, free: 15.61 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001883/0.008084, allocations: 181.8 kB / 0.7818 GB, free: 15.41 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.329e-05/0.008098, allocations: 14.34 kB / 0.7818 GB, free: 15.39 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.003e-05/0.008118, allocations: 28.3 kB / 0.7818 GB, free: 15.37 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002274/0.008345, allocations: 276.1 kB / 0.7821 GB, free: 15.06 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.008354, allocations: 192 / 0.7821 GB, free: 15.06 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.436e-05/0.008369, allocations: 9.031 kB / 0.7821 GB, free: 15.05 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.713e-05/0.008396, allocations: 16.31 kB / 0.7821 GB, free: 15.04 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.83e-05/0.008474, allocations: 65.34 kB / 0.7821 GB, free: 14.97 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006891/0.009163, allocations: 0.8904 MB / 0.783 GB, free: 14.03 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001114/0.009275, allocations: 62.66 kB / 0.7831 GB, free: 13.96 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.121e-05/0.009296, allocations: 17 kB / 0.7831 GB, free: 13.94 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 5.3e-06/0.009301, allocations: 0 / 0.7831 GB, free: 13.94 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.838e-05/0.00932, allocations: 39.22 kB / 0.7831 GB, free: 13.89 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.163e-06/0.009321, allocations: 0 / 0.7831 GB, free: 13.89 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0002188/0.00954, allocations: 91.52 kB / 0.7832 GB, free: 13.8 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.099e-05/0.009561, allocations: 52.47 kB / 0.7833 GB, free: 13.73 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001037/0.009664, allocations: 183.8 kB / 0.7834 GB, free: 13.54 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.103e-05/0.009675, allocations: 25.7 kB / 0.7835 GB, free: 13.51 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.996e-05/0.009735, allocations: 168.4 kB / 0.7836 GB, free: 13.34 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.153e-05/0.009747, allocations: 20.45 kB / 0.7836 GB, free: 13.32 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.029e-05/0.009787, allocations: 41.64 kB / 0.7837 GB, free: 13.28 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 6.877e-05/0.009856, allocations: 328.6 kB / 0.784 GB, free: 12.95 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.613e-05/0.009872, allocations: 8 kB / 0.784 GB, free: 12.94 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.772e-05/0.00992, allocations: 84.5 kB / 0.7841 GB, free: 12.83 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.607e-05/0.009996, allocations: 102.8 kB / 0.7842 GB, free: 12.7 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.636e-06/0.009999, allocations: 4 kB / 0.7842 GB, free: 12.7 MB / 0.7448 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001364/0.01014, allocations: 128.6 kB / 0.7843 GB, free: 12.56 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/0.01015, allocations: 10.66 kB / 0.7843 GB, free: 12.55 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.01015, allocations: 0 / 0.7843 GB, free: 12.55 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001429/0.0103, allocations: 35.23 kB / 0.7844 GB, free: 12.52 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.083e-05/0.01036, allocations: 27.92 kB / 0.7844 GB, free: 12.49 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005707/0.01093, allocations: 1.192 MB / 0.7855 GB, free: 11.21 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.816e-05/0.01099, allocations: 25.17 kB / 0.7856 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.124e-06/0.01099, allocations: 4 kB / 0.7856 GB, free: 11.18 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 6.668e-05/0.01106, allocations: 123.9 kB / 0.7857 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.986e-05/0.01108, allocations: 11.98 kB / 0.7857 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.671e-05/0.0111, allocations: 21.45 kB / 0.7857 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-06/0.0111, allocations: 3.938 kB / 0.7857 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-06/0.0111, allocations: 0 / 0.7857 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.0111, allocations: 3.938 kB / 0.7857 GB, free: 11.01 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003559/0.01146, allocations: 259.5 kB / 0.786 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.01146, allocations: 4 kB / 0.786 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.154e-05/0.01148, allocations: 4 kB / 0.786 GB, free: 10.72 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.004e-05/0.01157, allocations: 35.86 kB / 0.786 GB, free: 10.69 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.44e-06/0.01158, allocations: 3.938 kB / 0.786 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004625/0.01204, allocations: 1.188 MB / 0.7872 GB, free: 9.395 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.01204, allocations: 1.516 kB / 0.7872 GB, free: 9.395 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.795e-05/0.01214, allocations: 187 kB / 0.7874 GB, free: 9.191 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.501e-05/0.01216, allocations: 15.91 kB / 0.7874 GB, free: 9.176 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.476e-06/0.01217, allocations: 5.094 kB / 0.7874 GB, free: 9.172 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.094e-05/0.01222, allocations: 0 / 0.7874 GB, free: 9.172 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.381e-05/0.01224, allocations: 12.64 kB / 0.7874 GB, free: 9.16 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.667e-06/0.01224, allocations: 0 / 0.7874 GB, free: 9.16 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.329e-05/0.01228, allocations: 42.12 kB / 0.7874 GB, free: 9.117 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.01228, allocations: 0 / 0.7874 GB, free: 9.117 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001711/0.01245, allocations: 55.89 kB / 0.7875 GB, free: 9.062 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.012e-05/0.01253, allocations: 78.86 kB / 0.7876 GB, free: 8.98 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001833/0.01271, allocations: 178.3 kB / 0.7877 GB, free: 8.793 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/0.01271, allocations: 4 kB / 0.7877 GB, free: 8.789 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 6.221e-05/0.01278, allocations: 135.5 kB / 0.7879 GB, free: 8.641 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001785/0.01296, allocations: 39.77 kB / 0.7879 GB, free: 8.602 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005823/0.01354, allocations: 365.2 kB / 0.7883 GB, free: 8.219 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.751e-05/0.01358, allocations: 87.97 kB / 0.7883 GB, free: 8.113 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 5.009e-05/0.01363, allocations: 13.08 kB / 0.7883 GB, free: 8.102 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.388e-05/0.01371, allocations: 83.28 kB / 0.7884 GB, free: 8.02 MB / 0.7448 GB Notification: Performance of SimCode: time 8.31e-07/0.01371, allocations: 0 / 0.7884 GB, free: 8.02 MB / 0.7448 GB Notification: Performance of Templates: time 0.00334/0.01705, allocations: 1.801 MB / 0.7902 GB, free: 6.316 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.770996713079512]