Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.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.0009808/0.0009808, allocations: 72.95 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.0009317/0.0009317, 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 0.9494/0.9494, allocations: 177.2 MB / 204.6 MB, free: 4.695 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.6421/0.6421, allocations: 115 MB / 376 MB, free: 7.262 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.AC.OnePhase.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid") translateModel(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.162e-06/1.162e-06, allocations: 0 / 428.7 MB, free: 2.75 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.29e-05/1.406e-05, allocations: 2.312 kB / 428.7 MB, free: 2.746 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid): time 0.003643/0.003657, allocations: 3.663 MB / 432.4 MB, free: 15.06 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00339/0.007047, allocations: 2.613 MB / 435 MB, free: 12.44 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002981/0.007345, allocations: 15.88 kB / 435 MB, free: 12.42 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007114/0.008057, allocations: 222.7 kB / 435.2 MB, free: 12.2 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008457/0.008903, allocations: 393.6 kB / 435.6 MB, free: 11.82 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004242/0.009327, allocations: 219.4 kB / 435.8 MB, free: 11.6 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006233/0.00995, allocations: 0.6227 MB / 436.5 MB, free: 10.98 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003627/0.01031, allocations: 345.7 kB / 436.8 MB, free: 10.63 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004897/0.0108, allocations: 443 kB / 437.2 MB, free: 10.2 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000291/0.01109, allocations: 263.3 kB / 437.5 MB, free: 9.941 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.308e-05/0.01114, allocations: 40 kB / 437.5 MB, free: 9.902 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000259/0.0114, allocations: 199.6 kB / 437.7 MB, free: 9.707 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001194/0.01152, allocations: 179.5 kB / 437.9 MB, free: 9.531 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001228/0.01164, allocations: 163.7 kB / 438 MB, free: 9.371 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000476/0.01211, allocations: 0.5063 MB / 438.6 MB, free: 8.863 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.354e-06/0.01212, allocations: 0 / 438.6 MB, free: 8.863 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.01e-07/0.01212, allocations: 0 / 438.6 MB, free: 8.863 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.069e-06/0.01212, allocations: 3.938 kB / 438.6 MB, free: 8.859 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: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.0007007/0.01282, allocations: 0.6277 MB / 439.2 MB, free: 8.203 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.788e-05/0.01285, allocations: 8.031 kB / 439.2 MB, free: 8.195 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008155/0.01367, allocations: 232.5 kB / 439.4 MB, free: 7.969 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003381/0.014, allocations: 321.5 kB / 439.7 MB, free: 7.629 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.694e-05/0.01402, allocations: 21.03 kB / 439.8 MB, free: 7.609 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.859e-05/0.01407, allocations: 32.38 kB / 439.8 MB, free: 7.578 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004498/0.01452, allocations: 436.5 kB / 440.2 MB, free: 7.105 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.501e-05/0.01453, allocations: 3.938 kB / 440.2 MB, free: 7.102 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.011e-05/0.01456, allocations: 15.98 kB / 440.2 MB, free: 7.086 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.504e-05/0.01461, allocations: 28.64 kB / 440.3 MB, free: 7.059 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001976/0.01481, allocations: 136.4 kB / 440.4 MB, free: 6.93 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001725/0.01653, allocations: 1.358 MB / 441.8 MB, free: 5.527 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003541/0.01689, allocations: 157.2 kB / 441.9 MB, free: 5.363 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.867e-05/0.01696, allocations: 44.84 kB / 442 MB, free: 5.316 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.294e-05/0.01701, allocations: 11.98 kB / 442 MB, free: 5.305 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.184e-05/0.01703, allocations: 42.44 kB / 442 MB, free: 5.254 MB / 410.7 MB Notification: Performance of pre-optimization done (n=16): time 1.372e-06/0.01703, allocations: 0 / 442 MB, free: 5.254 MB / 410.7 MB Notification: Performance of matching and sorting (n=17): time 0.002495/0.01953, allocations: 0.6879 MB / 442.7 MB, free: 4.555 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.336e-05/0.01955, allocations: 51.41 kB / 442.7 MB, free: 4.492 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002132/0.01976, allocations: 282.8 kB / 443 MB, free: 4.203 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.78e-05/0.01979, allocations: 29.7 kB / 443 MB, free: 4.168 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000104/0.01989, allocations: 216.8 kB / 443.3 MB, free: 3.953 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.781e-05/0.01994, allocations: 59.47 kB / 443.3 MB, free: 3.895 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001065/0.02005, allocations: 61.89 kB / 443.4 MB, free: 3.824 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.678e-05/0.02015, allocations: 342.8 kB / 443.7 MB, free: 3.48 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.283e-05/0.02024, allocations: 45.78 kB / 443.8 MB, free: 3.434 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001401/0.02038, allocations: 143.1 kB / 443.9 MB, free: 3.258 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002331/0.02061, allocations: 185.9 kB / 444.1 MB, free: 3.051 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.02061, allocations: 0 / 444.1 MB, free: 3.051 MB / 410.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0007012/0.02131, allocations: 309.1 kB / 444.4 MB, free: 2.738 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.02133, allocations: 8 kB / 444.4 MB, free: 2.73 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.02134, allocations: 0 / 444.4 MB, free: 2.73 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00126/0.0226, allocations: 375.3 kB / 444.8 MB, free: 2.359 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002222/0.02282, allocations: 51.95 kB / 444.8 MB, free: 2.309 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001545/0.02436, allocations: 1.425 MB / 446.2 MB, free: 0.7852 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002234/0.02459, allocations: 15.98 kB / 446.2 MB, free: 0.7695 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.023e-05/0.02462, allocations: 15.92 kB / 446.3 MB, free: 0.7539 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001729/0.02479, allocations: 123.4 kB / 446.4 MB, free: 0.6289 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001415/0.02493, allocations: 139.2 kB / 446.5 MB, free: 468 kB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002267/0.02516, allocations: 167.6 kB / 446.7 MB, free: 272 kB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.713e-06/0.02516, allocations: 0 / 446.7 MB, free: 272 kB / 410.7 MB Notification: Performance of matching and sorting (n=28) (initialization_lambda0): time 0.0004465/0.02561, allocations: 237.2 kB / 446.9 MB, free: 24 kB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.288e-06/0.02562, allocations: 11.94 kB / 446.9 MB, free: 12 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.02562, allocations: 4 kB / 446.9 MB, free: 8 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.1917/0.2173, allocations: 64.45 kB / 447 MB, free: 24.95 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002294/0.2175, allocations: 54.41 kB / 447 MB, free: 24.95 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008766/0.2184, allocations: 1.327 MB / 448.4 MB, free: 23.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000261/0.2187, allocations: 18.3 kB / 448.4 MB, free: 23.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.6e-05/0.2187, allocations: 15.56 kB / 448.4 MB, free: 23.8 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (25): * Single equations (assignments): 24 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,2)} Notification: Performance of prepare postOptimizeDAE: time 0.000122/0.2188, allocations: 194.3 kB / 448.6 MB, free: 23.62 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.388e-05/0.2189, allocations: 27.14 kB / 448.6 MB, free: 23.62 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006511/0.2195, allocations: 280.8 kB / 448.9 MB, free: 23.57 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.2195, allocations: 2.75 kB / 448.9 MB, free: 23.57 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.935e-06/0.2195, allocations: 3.016 kB / 448.9 MB, free: 23.57 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.2195, allocations: 0 / 448.9 MB, free: 23.57 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007865/0.2203, allocations: 0.564 MB / 449.5 MB, free: 23.32 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.2203, allocations: 4.594 kB / 449.5 MB, free: 23.32 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001023/0.2204, allocations: 31.17 kB / 449.5 MB, free: 23.32 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000622/0.2211, allocations: 302.7 kB / 449.8 MB, free: 23.3 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.598e-05/0.2211, allocations: 4.891 kB / 449.8 MB, free: 23.3 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008672/0.2219, allocations: 1.392 MB / 451.2 MB, free: 22.15 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.2219, allocations: 1.25 kB / 451.2 MB, free: 22.15 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004281/0.2224, allocations: 366.3 kB / 451.6 MB, free: 21.94 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.884e-05/0.2225, allocations: 50.7 kB / 451.6 MB, free: 21.94 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.045e-05/0.2225, allocations: 5.906 kB / 451.6 MB, free: 21.93 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001324/0.2226, allocations: 15.08 kB / 451.6 MB, free: 21.93 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.384e-05/0.2227, allocations: 17.12 kB / 451.6 MB, free: 21.93 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.622e-05/0.2227, allocations: 5.203 kB / 451.6 MB, free: 21.93 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001213/0.2228, allocations: 109 kB / 451.7 MB, free: 21.92 MB / 410.7 MB Notification: Performance of sort global known variables: time 3e-08/0.2228, allocations: 0 / 451.7 MB, free: 21.92 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004931/0.2233, allocations: 164.5 kB / 451.9 MB, free: 21.92 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (15): * Single equations (assignments): 14 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001252/0.2234, allocations: 94.7 kB / 452 MB, free: 21.86 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000656/0.2241, allocations: 0.5319 MB / 452.5 MB, free: 21.61 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 9.288e-06/0.2241, allocations: 5.375 kB / 452.5 MB, free: 21.61 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001978/0.2243, allocations: 209.2 kB / 452.7 MB, free: 21.49 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003529/0.2246, allocations: 125.8 kB / 452.9 MB, free: 21.49 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001296/0.2259, allocations: 0.7374 MB / 453.6 MB, free: 21.14 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001386/0.2261, allocations: 151.8 kB / 453.8 MB, free: 21.07 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000266/0.2263, allocations: 70.95 kB / 453.8 MB, free: 21.07 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000259/0.2266, allocations: 126.6 kB / 453.9 MB, free: 21.03 MB / 410.7 MB Notification: Performance of SimCode: time 9.31e-07/0.2266, allocations: 0 / 453.9 MB, free: 21.03 MB / 410.7 MB Notification: Performance of Templates: time 0.01263/0.2392, allocations: 9.601 MB / 463.5 MB, free: 18.36 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.sim & ./IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.627259918022901]