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.001231/0.001231, allocations: 80.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.001527/0.001527, allocations: 165 kB / 24.16 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.9561/0.9561, allocations: 177.2 MB / 204.6 MB, free: 5.488 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.991/1.991, 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.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.473e-06/1.473e-06, allocations: 0 / 0.7752 GB, free: 5.371 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.282e-05/1.43e-05, allocations: 6.25 kB / 0.7752 GB, free: 5.363 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.Resistance): time 0.003004/0.003019, allocations: 2.601 MB / 0.7777 GB, free: 2.785 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001429/0.004448, allocations: 1.015 MB / 0.7787 GB, free: 1.77 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00011/0.004558, allocations: 7.938 kB / 0.7787 GB, free: 1.762 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0003679/0.004926, allocations: 95.45 kB / 0.7788 GB, free: 1.668 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0002281/0.005154, allocations: 138.2 kB / 0.7789 GB, free: 1.535 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001818/0.005336, allocations: 107.7 kB / 0.779 GB, free: 1.43 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0002785/0.005615, allocations: 318.8 kB / 0.7793 GB, free: 1.117 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002147/0.005829, allocations: 186 kB / 0.7795 GB, free: 0.9375 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001474/0.005977, allocations: 180.3 kB / 0.7797 GB, free: 0.7617 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002061/0.006183, allocations: 119.7 kB / 0.7798 GB, free: 0.6445 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.448e-05/0.006207, allocations: 17.16 kB / 0.7798 GB, free: 0.6289 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001399/0.006347, allocations: 99.66 kB / 0.7799 GB, free: 0.5312 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 7.178e-05/0.006419, allocations: 87.8 kB / 0.78 GB, free: 456 kB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 6.085e-05/0.00648, allocations: 80.83 kB / 0.7801 GB, free: 376 kB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0002267/0.006706, allocations: 227.2 kB / 0.7803 GB, free: 148 kB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.482e-06/0.006708, allocations: 0.5938 kB / 0.7803 GB, free: 148 kB / 0.7292 GB Notification: Performance of FrontEnd: time 5.01e-07/0.006708, allocations: 0 / 0.7803 GB, free: 148 kB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.328e-06/0.006713, allocations: 4.531 kB / 0.7803 GB, free: 144 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.0004442/0.007157, allocations: 413.9 kB / 0.7807 GB, free: 15.71 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.036e-05/0.007187, allocations: 13.34 kB / 0.7807 GB, free: 15.7 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003841/0.007571, allocations: 110.5 kB / 0.7808 GB, free: 15.6 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001835/0.007755, allocations: 179.1 kB / 0.781 GB, free: 15.4 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.246e-05/0.007767, allocations: 12.75 kB / 0.781 GB, free: 15.39 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.163e-05/0.007789, allocations: 25.08 kB / 0.781 GB, free: 15.36 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004538/0.008243, allocations: 268.1 kB / 0.7813 GB, free: 15.06 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.008253, allocations: 5.969 kB / 0.7813 GB, free: 15.06 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.458e-05/0.008267, allocations: 4.375 kB / 0.7813 GB, free: 15.05 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.942e-05/0.008297, allocations: 32.28 kB / 0.7813 GB, free: 15.02 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.045e-05/0.008387, allocations: 60.56 kB / 0.7814 GB, free: 14.96 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006684/0.009055, allocations: 0.8945 MB / 0.7822 GB, free: 14.02 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000103/0.009159, allocations: 50.2 kB / 0.7823 GB, free: 13.96 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.22e-05/0.009181, allocations: 17.02 kB / 0.7823 GB, free: 13.94 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 7.635e-06/0.009188, allocations: 12.84 kB / 0.7823 GB, free: 13.93 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.818e-05/0.009207, allocations: 30.56 kB / 0.7824 GB, free: 13.89 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.232e-06/0.009208, allocations: 0.5625 kB / 0.7824 GB, free: 13.89 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0002173/0.009425, allocations: 100.2 kB / 0.7824 GB, free: 13.79 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.886e-05/0.009444, allocations: 51.41 kB / 0.7825 GB, free: 13.72 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.41e-05/0.009538, allocations: 179.8 kB / 0.7827 GB, free: 13.54 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 9.969e-06/0.009548, allocations: 27.17 kB / 0.7827 GB, free: 13.5 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.945e-05/0.009607, allocations: 171.9 kB / 0.7829 GB, free: 13.33 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.403e-05/0.009621, allocations: 27.78 kB / 0.7829 GB, free: 13.3 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.949e-05/0.009661, allocations: 37.64 kB / 0.7829 GB, free: 13.26 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.436e-05/0.009735, allocations: 327.6 kB / 0.7832 GB, free: 12.93 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.723e-05/0.009753, allocations: 12 kB / 0.7832 GB, free: 12.92 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.629e-05/0.009799, allocations: 77.56 kB / 0.7833 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.145e-05/0.00988, allocations: 109.7 kB / 0.7834 GB, free: 12.68 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.009882, allocations: 0.7188 kB / 0.7834 GB, free: 12.68 MB / 0.7448 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001321/0.01001, allocations: 124 kB / 0.7835 GB, free: 12.55 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.01003, allocations: 9.562 kB / 0.7836 GB, free: 12.54 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.01003, allocations: 0 / 0.7836 GB, free: 12.54 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001286/0.01016, allocations: 34.27 kB / 0.7836 GB, free: 12.51 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.169e-05/0.01022, allocations: 35.92 kB / 0.7836 GB, free: 12.47 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005554/0.01078, allocations: 1.188 MB / 0.7848 GB, free: 11.19 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.057e-05/0.01084, allocations: 21.48 kB / 0.7848 GB, free: 11.17 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.316e-06/0.01085, allocations: 12 kB / 0.7848 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 6.453e-05/0.01091, allocations: 120.6 kB / 0.7849 GB, free: 11.03 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.142e-05/0.01093, allocations: 8.922 kB / 0.7849 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.343e-05/0.01095, allocations: 13.47 kB / 0.7849 GB, free: 11.01 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.01095, allocations: 4.938 kB / 0.785 GB, free: 11.01 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.803e-06/0.01095, allocations: 0 / 0.785 GB, free: 11.01 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.01095, allocations: 3.938 kB / 0.785 GB, free: 11 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002127/0.01117, allocations: 270.2 kB / 0.7852 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.01117, allocations: 0 / 0.7852 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.968e-05/0.01119, allocations: 8 kB / 0.7852 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.919e-05/0.01128, allocations: 31.58 kB / 0.7852 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.019e-06/0.01128, allocations: 3.938 kB / 0.7853 GB, free: 10.67 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005776/0.01186, allocations: 1.188 MB / 0.7864 GB, free: 9.383 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.01186, allocations: 0 / 0.7864 GB, free: 9.383 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000105/0.01196, allocations: 171.1 kB / 0.7866 GB, free: 9.195 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.448e-05/0.01199, allocations: 20.83 kB / 0.7866 GB, free: 9.176 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.039e-05/0.012, allocations: 7.938 kB / 0.7866 GB, free: 9.168 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.527e-05/0.01205, allocations: 4.938 kB / 0.7866 GB, free: 9.164 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.239e-05/0.01207, allocations: 3.984 kB / 0.7866 GB, free: 9.16 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.817e-06/0.01207, allocations: 5 kB / 0.7866 GB, free: 9.156 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.618e-05/0.01211, allocations: 44.81 kB / 0.7867 GB, free: 9.109 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4e-08/0.01211, allocations: 0 / 0.7867 GB, free: 9.109 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001896/0.0123, allocations: 52.92 kB / 0.7867 GB, free: 9.059 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 5.96e-05/0.01236, allocations: 76.92 kB / 0.7868 GB, free: 8.977 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000181/0.01254, allocations: 178.8 kB / 0.787 GB, free: 8.789 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 5.14e-06/0.01254, allocations: 4 kB / 0.787 GB, free: 8.785 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 6.562e-05/0.01261, allocations: 131.5 kB / 0.7871 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.0001689/0.01278, allocations: 46.62 kB / 0.7871 GB, free: 8.598 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005653/0.01334, allocations: 364.8 kB / 0.7875 GB, free: 8.215 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.838e-05/0.01339, allocations: 87.97 kB / 0.7876 GB, free: 8.109 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.796e-05/0.01344, allocations: 16.33 kB / 0.7876 GB, free: 8.094 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.441e-05/0.01351, allocations: 79.3 kB / 0.7877 GB, free: 8.016 MB / 0.7448 GB Notification: Performance of SimCode: time 4.51e-07/0.01351, allocations: 0 / 0.7877 GB, free: 8.016 MB / 0.7448 GB Notification: Performance of Templates: time 0.003537/0.01705, allocations: 1.802 MB / 0.7894 GB, free: 6.312 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > Buildings_13_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.890829931013286]