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.0009356/0.0009356, allocations: 72.83 kB / 20.72 MB, free: 3.77 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.001214/0.001214, allocations: 169 kB / 24.14 MB, free: 356 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.048/1.048, allocations: 177.1 MB / 204.6 MB, free: 5.496 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.6739/0.6739, allocations: 115 MB / 376 MB, free: 7.473 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.252e-06/1.252e-06, allocations: 0 / 428.7 MB, free: 2.773 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.379e-05/2.505e-05, allocations: 2.312 kB / 428.7 MB, free: 2.77 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Lines.Examples.Resistance): time 0.003132/0.003157, allocations: 2.604 MB / 431.3 MB, free: 152 kB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.001353/0.004511, allocations: 1.005 MB / 432.3 MB, free: 15.14 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001097/0.00462, allocations: 7.938 kB / 432.3 MB, free: 15.13 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000421/0.005041, allocations: 95.39 kB / 432.4 MB, free: 15.04 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002309/0.005272, allocations: 135.2 kB / 432.6 MB, free: 14.9 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001948/0.005467, allocations: 111.7 kB / 432.7 MB, free: 14.79 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004742/0.005941, allocations: 310.9 kB / 433 MB, free: 14.49 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002509/0.006192, allocations: 193.9 kB / 433.2 MB, free: 14.3 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001548/0.006347, allocations: 175.6 kB / 433.3 MB, free: 14.13 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002489/0.006596, allocations: 123.6 kB / 433.5 MB, free: 14.01 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.613e-05/0.006622, allocations: 20 kB / 433.5 MB, free: 13.99 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001517/0.006774, allocations: 91.78 kB / 433.6 MB, free: 13.9 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.072e-05/0.006844, allocations: 87.73 kB / 433.7 MB, free: 13.81 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.365e-05/0.006908, allocations: 79.83 kB / 433.7 MB, free: 13.73 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002629/0.007171, allocations: 227.2 kB / 434 MB, free: 13.51 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.007175, allocations: 0 / 434 MB, free: 13.51 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.253e-06/0.007176, allocations: 4 kB / 434 MB, free: 13.51 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.538e-06/0.00718, allocations: 0 / 434 MB, free: 13.51 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.0004764/0.007657, allocations: 416.2 kB / 434.4 MB, free: 13.08 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.141e-05/0.007688, allocations: 8.031 kB / 434.4 MB, free: 13.07 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003866/0.008075, allocations: 112.8 kB / 434.5 MB, free: 12.96 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001947/0.008269, allocations: 189.3 kB / 434.7 MB, free: 12.75 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.373e-05/0.008283, allocations: 16.75 kB / 434.7 MB, free: 12.73 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.951e-05/0.008303, allocations: 16.38 kB / 434.7 MB, free: 12.72 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000245/0.008548, allocations: 272.2 kB / 435 MB, free: 12.41 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.008558, allocations: 4.125 kB / 435 MB, free: 12.41 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.73e-05/0.008576, allocations: 8.375 kB / 435 MB, free: 12.4 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.081e-05/0.008606, allocations: 24.3 kB / 435 MB, free: 12.38 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.532e-05/0.008692, allocations: 63.78 kB / 435.1 MB, free: 12.31 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007638/0.009456, allocations: 0.8924 MB / 436 MB, free: 11.37 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001258/0.009581, allocations: 49.39 kB / 436 MB, free: 11.31 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.353e-05/0.009605, allocations: 16.86 kB / 436 MB, free: 11.29 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.153e-06/0.009612, allocations: 0 / 436 MB, free: 11.29 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.314e-05/0.009635, allocations: 38.5 kB / 436.1 MB, free: 11.24 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 1.232e-06/0.009637, allocations: 4 kB / 436.1 MB, free: 11.24 MB / 410.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002336/0.00987, allocations: 98.58 kB / 436.2 MB, free: 11.13 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.31e-05/0.009893, allocations: 51.41 kB / 436.2 MB, free: 11.07 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.572e-05/0.009989, allocations: 175.3 kB / 436.4 MB, free: 10.89 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.204e-05/0.01, allocations: 29.7 kB / 436.4 MB, free: 10.85 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.127e-05/0.01006, allocations: 167.9 kB / 436.6 MB, free: 10.68 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.366e-05/0.01008, allocations: 27.78 kB / 436.6 MB, free: 10.66 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.139e-05/0.01012, allocations: 37.66 kB / 436.6 MB, free: 10.61 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.342e-05/0.01019, allocations: 322.8 kB / 437 MB, free: 10.29 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.783e-05/0.01021, allocations: 15.98 kB / 437 MB, free: 10.27 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.74e-05/0.01026, allocations: 76.56 kB / 437 MB, free: 10.17 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.479e-05/0.01034, allocations: 103.2 kB / 437.1 MB, free: 10.04 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.01034, allocations: 8 kB / 437.2 MB, free: 10.03 MB / 410.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001491/0.01049, allocations: 126.1 kB / 437.3 MB, free: 9.895 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/0.01051, allocations: 8 kB / 437.3 MB, free: 9.887 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.01051, allocations: 0 / 437.3 MB, free: 9.887 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001487/0.01066, allocations: 41.09 kB / 437.3 MB, free: 9.844 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.401e-05/0.01072, allocations: 24 kB / 437.4 MB, free: 9.82 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006262/0.01135, allocations: 1.19 MB / 438.5 MB, free: 8.531 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.507e-05/0.01142, allocations: 23.75 kB / 438.6 MB, free: 8.508 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.494e-06/0.01142, allocations: 16.06 kB / 438.6 MB, free: 8.492 MB / 410.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 7.454e-05/0.0115, allocations: 116.7 kB / 438.7 MB, free: 8.367 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.106e-05/0.01152, allocations: 8 kB / 438.7 MB, free: 8.359 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.931e-05/0.01154, allocations: 21.45 kB / 438.7 MB, free: 8.34 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.52e-07/0.01154, allocations: 0 / 438.7 MB, free: 8.34 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.01154, allocations: 0 / 438.7 MB, free: 8.34 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.01155, allocations: 7.938 kB / 438.7 MB, free: 8.332 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000246/0.01179, allocations: 271.4 kB / 439 MB, free: 8.039 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.01179, allocations: 0 / 439 MB, free: 8.039 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.154e-05/0.01182, allocations: 8 kB / 439 MB, free: 8.031 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.952e-05/0.01191, allocations: 28.83 kB / 439 MB, free: 8 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.48e-06/0.01191, allocations: 3.938 kB / 439 MB, free: 7.996 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007619/0.01267, allocations: 1.198 MB / 440.2 MB, free: 6.699 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.01267, allocations: 0 / 440.2 MB, free: 6.699 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001121/0.01279, allocations: 167.1 kB / 440.4 MB, free: 6.516 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.938e-05/0.01282, allocations: 15.94 kB / 440.4 MB, free: 6.5 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.889e-06/0.01283, allocations: 4 kB / 440.4 MB, free: 6.496 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.49e-05/0.01289, allocations: 4 kB / 440.4 MB, free: 6.492 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.768e-05/0.01291, allocations: 3.984 kB / 440.4 MB, free: 6.488 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.679e-06/0.01291, allocations: 0 / 440.4 MB, free: 6.488 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.218e-05/0.01295, allocations: 53.05 kB / 440.5 MB, free: 6.434 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01295, allocations: 8.062 kB / 440.5 MB, free: 6.426 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002041/0.01316, allocations: 55.84 kB / 440.5 MB, free: 6.371 MB / 410.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 9.58e-05/0.01325, allocations: 76.36 kB / 440.6 MB, free: 6.289 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002078/0.01346, allocations: 178.7 kB / 440.8 MB, free: 6.102 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.01347, allocations: 0 / 440.8 MB, free: 6.102 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.153e-05/0.01355, allocations: 136 kB / 440.9 MB, free: 5.953 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001956/0.01374, allocations: 35.19 kB / 441 MB, free: 5.922 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006415/0.01439, allocations: 374.4 kB / 441.3 MB, free: 5.523 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.949e-05/0.01444, allocations: 87.95 kB / 441.4 MB, free: 5.418 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.041e-05/0.01449, allocations: 17.48 kB / 441.4 MB, free: 5.402 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.551e-05/0.01456, allocations: 79.36 kB / 441.5 MB, free: 5.324 MB / 410.7 MB Notification: Performance of SimCode: time 9.42e-07/0.01456, allocations: 3.938 kB / 441.5 MB, free: 5.32 MB / 410.7 MB Notification: Performance of Templates: time 0.003566/0.01813, allocations: 1.774 MB / 443.3 MB, free: 3.551 MB / 410.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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.Resistance.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5656015193089843]