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.0008779/0.0008779, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.001167/0.001167, allocations: 165 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.9106/0.9106, allocations: 177.1 MB / 204.6 MB, free: 5.477 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.898/1.898, allocations: 389.6 MB / 0.6354 GB, free: 12.27 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.222e-06/1.222e-06, allocations: 0 / 0.7751 GB, free: 5.426 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.104e-05/1.226e-05, allocations: 6.844 kB / 0.7751 GB, free: 5.418 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.Resistance): time 0.002731/0.002744, allocations: 2.56 MB / 0.7776 GB, free: 2.879 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001141/0.003885, allocations: 1.015 MB / 0.7786 GB, free: 1.867 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.214e-05/0.003977, allocations: 11.94 kB / 0.7786 GB, free: 1.855 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0003617/0.004339, allocations: 97.44 kB / 0.7787 GB, free: 1.762 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0004466/0.004785, allocations: 139.1 kB / 0.7789 GB, free: 1.625 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001558/0.004941, allocations: 108.4 kB / 0.779 GB, free: 1.52 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0002455/0.005187, allocations: 322.8 kB / 0.7793 GB, free: 1.203 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002135/0.0054, allocations: 179.8 kB / 0.7794 GB, free: 1.031 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001298/0.00553, allocations: 179.6 kB / 0.7796 GB, free: 0.8555 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001982/0.005728, allocations: 123.7 kB / 0.7797 GB, free: 0.7344 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.211e-05/0.00575, allocations: 16 kB / 0.7797 GB, free: 0.7188 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001108/0.005861, allocations: 94.42 kB / 0.7798 GB, free: 0.6289 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 6.531e-05/0.005926, allocations: 91.8 kB / 0.7799 GB, free: 0.5391 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 6.493e-05/0.005991, allocations: 71.83 kB / 0.78 GB, free: 480 kB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.000218/0.006209, allocations: 235.2 kB / 0.7802 GB, free: 244 kB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.573e-06/0.006211, allocations: 0 / 0.7802 GB, free: 244 kB / 0.7292 GB Notification: Performance of FrontEnd: time 5.61e-07/0.006211, allocations: 0 / 0.7802 GB, free: 244 kB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.767e-06/0.006215, allocations: 3.984 kB / 0.7802 GB, free: 240 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.0004381/0.006653, allocations: 419.4 kB / 0.7806 GB, free: 15.8 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 2.98e-05/0.006683, allocations: 9.344 kB / 0.7806 GB, free: 15.79 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003415/0.007025, allocations: 108.8 kB / 0.7807 GB, free: 15.69 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001679/0.007193, allocations: 175.2 kB / 0.7809 GB, free: 15.49 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.259e-05/0.007205, allocations: 17.44 kB / 0.7809 GB, free: 15.48 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.127e-05/0.007226, allocations: 20.31 kB / 0.7809 GB, free: 15.46 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002146/0.007441, allocations: 276.9 kB / 0.7812 GB, free: 15.15 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.007449, allocations: 192 / 0.7812 GB, free: 15.15 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.561e-05/0.007465, allocations: 8.906 kB / 0.7812 GB, free: 15.14 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.785e-05/0.007493, allocations: 24.25 kB / 0.7812 GB, free: 15.12 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.581e-05/0.007569, allocations: 58.03 kB / 0.7813 GB, free: 15.06 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006535/0.008222, allocations: 0.8947 MB / 0.7822 GB, free: 14.12 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001023/0.008324, allocations: 61.36 kB / 0.7822 GB, free: 14.05 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.012e-05/0.008345, allocations: 14.08 kB / 0.7822 GB, free: 14.03 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 5.22e-06/0.00835, allocations: 0 / 0.7822 GB, free: 14.03 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.025e-05/0.00837, allocations: 40.03 kB / 0.7823 GB, free: 13.98 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 9.11e-07/0.008371, allocations: 0 / 0.7823 GB, free: 13.98 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0002001/0.008571, allocations: 95.09 kB / 0.7824 GB, free: 13.88 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.956e-05/0.008591, allocations: 60.94 kB / 0.7824 GB, free: 13.81 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.384e-05/0.008684, allocations: 175.9 kB / 0.7826 GB, free: 13.63 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 9.318e-06/0.008694, allocations: 25.7 kB / 0.7826 GB, free: 13.6 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.991e-05/0.008754, allocations: 171.9 kB / 0.7828 GB, free: 13.43 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.215e-05/0.008766, allocations: 24.45 kB / 0.7828 GB, free: 13.4 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.595e-05/0.008802, allocations: 37.64 kB / 0.7828 GB, free: 13.36 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.38e-05/0.008876, allocations: 332.1 kB / 0.7832 GB, free: 13.03 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.784e-05/0.008893, allocations: 8 kB / 0.7832 GB, free: 13.02 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.663e-05/0.00894, allocations: 79.17 kB / 0.7832 GB, free: 12.91 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.365e-05/0.009014, allocations: 106.2 kB / 0.7833 GB, free: 12.78 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.009015, allocations: 0.6562 kB / 0.7833 GB, free: 12.78 MB / 0.7448 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001225/0.009138, allocations: 132.4 kB / 0.7835 GB, free: 12.64 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 9.598e-06/0.009147, allocations: 4 kB / 0.7835 GB, free: 12.64 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.009154, allocations: 4.5 kB / 0.7835 GB, free: 12.64 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000123/0.009277, allocations: 35.08 kB / 0.7835 GB, free: 12.6 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.606e-05/0.009333, allocations: 27.98 kB / 0.7835 GB, free: 12.57 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005386/0.009871, allocations: 1.192 MB / 0.7847 GB, free: 11.29 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.599e-05/0.009927, allocations: 25.05 kB / 0.7847 GB, free: 11.27 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.272e-06/0.009934, allocations: 4 kB / 0.7847 GB, free: 11.26 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.2e-05/0.009996, allocations: 121.6 kB / 0.7848 GB, free: 11.13 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.009e-05/0.01002, allocations: 15.98 kB / 0.7849 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.408e-05/0.01003, allocations: 14.77 kB / 0.7849 GB, free: 11.11 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.01003, allocations: 4 kB / 0.7849 GB, free: 11.1 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-06/0.01003, allocations: 0 / 0.7849 GB, free: 11.1 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.01004, allocations: 3.938 kB / 0.7849 GB, free: 11.1 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002093/0.01025, allocations: 264.5 kB / 0.7851 GB, free: 10.81 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.01025, allocations: 0 / 0.7851 GB, free: 10.81 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.873e-05/0.01026, allocations: 13.36 kB / 0.7851 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.142e-05/0.01034, allocations: 22.34 kB / 0.7852 GB, free: 10.78 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5e-06/0.01034, allocations: 7.938 kB / 0.7852 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006082/0.01095, allocations: 1.189 MB / 0.7863 GB, free: 9.48 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-07/0.01095, allocations: 0.6875 kB / 0.7863 GB, free: 9.48 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.168e-05/0.01104, allocations: 175.1 kB / 0.7865 GB, free: 9.289 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.199e-05/0.01106, allocations: 24.61 kB / 0.7865 GB, free: 9.266 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.146e-06/0.01107, allocations: 0 / 0.7865 GB, free: 9.266 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.014e-05/0.01112, allocations: 13.17 kB / 0.7865 GB, free: 9.254 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.407e-06/0.01113, allocations: 0 / 0.7865 GB, free: 9.254 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.99e-06/0.01114, allocations: 7.188 kB / 0.7865 GB, free: 9.25 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.333e-05/0.01117, allocations: 44.81 kB / 0.7866 GB, free: 9.203 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.1e-07/0.01117, allocations: 0 / 0.7866 GB, free: 9.203 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001676/0.01134, allocations: 51.89 kB / 0.7866 GB, free: 9.152 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 6.286e-05/0.0114, allocations: 80.41 kB / 0.7867 GB, free: 9.066 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001698/0.01157, allocations: 174.4 kB / 0.7869 GB, free: 8.883 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.01157, allocations: 0 / 0.7869 GB, free: 8.883 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 6.548e-05/0.01164, allocations: 143.4 kB / 0.787 GB, free: 8.727 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001753/0.01181, allocations: 37.33 kB / 0.787 GB, free: 8.691 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005299/0.01234, allocations: 360 kB / 0.7874 GB, free: 8.312 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.692e-05/0.01239, allocations: 89.25 kB / 0.7875 GB, free: 8.207 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.712e-05/0.01244, allocations: 12.42 kB / 0.7875 GB, free: 8.195 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.39e-05/0.01252, allocations: 79.3 kB / 0.7876 GB, free: 8.117 MB / 0.7448 GB Notification: Performance of SimCode: time 7.52e-07/0.01252, allocations: 3.938 kB / 0.7876 GB, free: 8.113 MB / 0.7448 GB Notification: Performance of Templates: time 0.003256/0.01578, allocations: 1.799 MB / 0.7893 GB, free: 6.41 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.677225612103939]