Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001029/0.001029, allocations: 77.09 kB / 20.65 MB, free: 3.844 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.001342/0.001342, allocations: 169 kB / 24.05 MB, free: 456 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 1.054/1.054, allocations: 177.1 MB / 204.5 MB, free: 5.516 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.6378/0.6378, allocations: 115 MB / 376 MB, free: 7.523 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/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(IBPSA.Electrical.DC.Lines.Examples.Resistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.Resistance") translateModel(IBPSA.Electrical.DC.Lines.Examples.Resistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.Resistance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.292e-06/1.292e-06, allocations: 0 / 481.9 MB, free: 11.75 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.879e-06/1.117e-05, allocations: 5.812 kB / 481.9 MB, free: 11.74 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Lines.Examples.Resistance): time 0.002481/0.002492, allocations: 2.538 MB / 484.5 MB, free: 10.11 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001213/0.003705, allocations: 0.9907 MB / 485.5 MB, free: 9.449 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001108/0.003816, allocations: 4.594 kB / 485.5 MB, free: 9.449 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003592/0.004175, allocations: 94.61 kB / 485.6 MB, free: 9.402 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002069/0.004382, allocations: 141.3 kB / 485.7 MB, free: 9.316 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001678/0.00455, allocations: 108.7 kB / 485.8 MB, free: 9.262 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002464/0.004796, allocations: 322.2 kB / 486.1 MB, free: 9.113 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002621/0.005058, allocations: 191.9 kB / 486.3 MB, free: 9.031 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001471/0.005205, allocations: 175.8 kB / 486.5 MB, free: 8.961 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002082/0.005414, allocations: 129.9 kB / 486.6 MB, free: 8.922 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.03e-05/0.005444, allocations: 18.16 kB / 486.6 MB, free: 8.922 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001337/0.005578, allocations: 87.61 kB / 486.7 MB, free: 8.898 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.749e-05/0.005645, allocations: 86.25 kB / 486.8 MB, free: 8.859 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.38e-05/0.005709, allocations: 85.77 kB / 486.9 MB, free: 8.82 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000231/0.00594, allocations: 227.5 kB / 487.1 MB, free: 8.734 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.005942, allocations: 1.875 kB / 487.1 MB, free: 8.734 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.22e-07/0.005943, allocations: 0 / 487.1 MB, free: 8.734 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.288e-06/0.005947, allocations: 0 / 487.1 MB, free: 8.734 MB / 410.7 MB 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.0005358/0.006483, allocations: 0.5338 MB / 487.6 MB, free: 24.26 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/0.006522, allocations: 9.344 kB / 487.7 MB, free: 24.26 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003275/0.006849, allocations: 104.3 kB / 487.8 MB, free: 24.23 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001492/0.006999, allocations: 190.7 kB / 487.9 MB, free: 24.06 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.153e-05/0.00701, allocations: 13.28 kB / 488 MB, free: 24.06 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.062e-05/0.007031, allocations: 22.44 kB / 488 MB, free: 24.05 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001905/0.007221, allocations: 285.3 kB / 488.3 MB, free: 23.82 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.00723, allocations: 1.344 kB / 488.3 MB, free: 23.82 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.367e-05/0.007243, allocations: 8.062 kB / 488.3 MB, free: 23.81 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.506e-05/0.007269, allocations: 20.36 kB / 488.3 MB, free: 23.81 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.623e-05/0.007355, allocations: 70.48 kB / 488.4 MB, free: 23.8 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007108/0.008066, allocations: 1.249 MB / 489.6 MB, free: 22.69 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001028/0.008168, allocations: 64.16 kB / 489.7 MB, free: 22.65 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.076e-05/0.008189, allocations: 19.41 kB / 489.7 MB, free: 22.64 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.941e-06/0.008195, allocations: 1.594 kB / 489.7 MB, free: 22.64 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.379e-05/0.008209, allocations: 42.52 kB / 489.7 MB, free: 22.59 MB / 426.7 MB Notification: Performance of pre-optimization done (n=7): time 1.011e-06/0.00821, allocations: 0 / 489.7 MB, free: 22.59 MB / 426.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002087/0.008419, allocations: 112.6 kB / 489.8 MB, free: 22.52 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.452e-05/0.008433, allocations: 59.97 kB / 489.9 MB, free: 22.45 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001153/0.008548, allocations: 235.4 kB / 490.1 MB, free: 22.26 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 6.291e-06/0.008555, allocations: 25.7 kB / 490.1 MB, free: 22.23 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.622e-05/0.008621, allocations: 218 kB / 490.4 MB, free: 22.04 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.145e-05/0.008632, allocations: 23.48 kB / 490.4 MB, free: 22.02 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.689e-05/0.008669, allocations: 47.42 kB / 490.4 MB, free: 21.98 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001098/0.008779, allocations: 0.4946 MB / 490.9 MB, free: 21.48 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.844e-05/0.008798, allocations: 13.33 kB / 490.9 MB, free: 21.48 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.639e-05/0.008844, allocations: 105.9 kB / 491 MB, free: 21.36 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.414e-05/0.008918, allocations: 136.3 kB / 491.2 MB, free: 21.21 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.00892, allocations: 1.5 kB / 491.2 MB, free: 21.21 MB / 426.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001491/0.00907, allocations: 156.3 kB / 491.3 MB, free: 21.12 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.095e-05/0.00908, allocations: 6.688 kB / 491.3 MB, free: 21.12 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/0.009086, allocations: 2.875 kB / 491.3 MB, free: 21.12 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001242/0.00921, allocations: 34.36 kB / 491.4 MB, free: 21.11 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.77e-05/0.009268, allocations: 29.66 kB / 491.4 MB, free: 21.11 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006463/0.009914, allocations: 1.718 MB / 493.1 MB, free: 19.37 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.774e-05/0.009972, allocations: 21.56 kB / 493.1 MB, free: 19.36 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.953e-06/0.009979, allocations: 5.75 kB / 493.1 MB, free: 19.36 MB / 426.7 MB 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.476e-05/0.01004, allocations: 165.5 kB / 493.3 MB, free: 19.19 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.072e-05/0.01006, allocations: 19.42 kB / 493.3 MB, free: 19.18 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.285e-05/0.01008, allocations: 17.84 kB / 493.3 MB, free: 19.17 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.01008, allocations: 1.375 kB / 493.3 MB, free: 19.17 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.014e-06/0.01008, allocations: 3.938 kB / 493.3 MB, free: 19.16 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.01008, allocations: 4.031 kB / 493.4 MB, free: 19.16 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002374/0.01032, allocations: 353.6 kB / 493.7 MB, free: 18.85 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.01032, allocations: 0 / 493.7 MB, free: 18.85 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.848e-05/0.01034, allocations: 11.38 kB / 493.7 MB, free: 18.84 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.995e-05/0.01043, allocations: 39.8 kB / 493.7 MB, free: 18.82 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.589e-06/0.01043, allocations: 1.469 kB / 493.7 MB, free: 18.82 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006232/0.01106, allocations: 1.708 MB / 495.5 MB, free: 17.09 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.01106, allocations: 4.625 kB / 495.5 MB, free: 17.09 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001069/0.01117, allocations: 239.5 kB / 495.7 MB, free: 16.88 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.3e-05/0.01119, allocations: 14.03 kB / 495.7 MB, free: 16.87 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.075e-06/0.0112, allocations: 4.75 kB / 495.7 MB, free: 16.86 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.132e-05/0.01125, allocations: 7.312 kB / 495.7 MB, free: 16.86 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.217e-05/0.01126, allocations: 7.406 kB / 495.7 MB, free: 16.86 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.399e-06/0.01126, allocations: 4.5 kB / 495.7 MB, free: 16.86 MB / 426.7 MB Notification: Performance of sorting global known variables: time 5.729e-05/0.01132, allocations: 160.7 kB / 495.9 MB, free: 16.73 MB / 426.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01132, allocations: 1.812 kB / 495.9 MB, free: 16.73 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002033/0.01153, allocations: 56.14 kB / 495.9 MB, free: 16.71 MB / 426.7 MB 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.06e-05/0.01159, allocations: 98.58 kB / 496 MB, free: 16.63 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000177/0.01176, allocations: 246.9 kB / 496.3 MB, free: 16.42 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.01176, allocations: 0 / 496.3 MB, free: 16.42 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.223e-05/0.01184, allocations: 197 kB / 496.5 MB, free: 16.23 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002082/0.01205, allocations: 33.08 kB / 496.5 MB, free: 16.22 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005394/0.01258, allocations: 344.7 kB / 496.8 MB, free: 15.98 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.673e-05/0.01263, allocations: 87.89 kB / 496.9 MB, free: 15.91 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 4.786e-05/0.01268, allocations: 13.92 kB / 496.9 MB, free: 15.91 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.692e-05/0.01276, allocations: 101.2 kB / 497 MB, free: 15.84 MB / 426.7 MB Notification: Performance of SimCode: time 6.42e-07/0.01276, allocations: 1.75 kB / 497 MB, free: 15.84 MB / 426.7 MB Notification: Performance of Templates: time 0.003291/0.01605, allocations: 1.77 MB / 498.8 MB, free: 15.68 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.Resistance.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.Resistance.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.Resistance.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.Resistance.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.Resistance.sim & ./IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.Resistance -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.Resistance.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.475253530777991]