Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical3.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.001311/0.001311, allocations: 71.75 kB / 21.24 MB, free: 400 kB / 14.72 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.001405/0.001405, allocations: 169.2 kB / 24.5 MB, free: 3.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.279/1.279, allocations: 158.6 MB / 186.3 MB, free: 6.215 MB / 174.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo): time 0.2682/0.2682, allocations: 36.35 MB / 274.8 MB, free: 14.66 MB / 270.1 MB " [Timeout remaining time 180] Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(ThermoPower.Test.ElectricalComponents.TestElectrical3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical3") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical3") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002309/0.002309, allocations: 71.88 kB / 415.2 MB, free: 14.09 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2927/0.295, allocations: 62.38 MB / 477.6 MB, free: 43.66 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical3): time 0.002769/0.2978, allocations: 2.172 MB / 479.8 MB, free: 42.81 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008861/0.2986, allocations: 0.6284 MB / 480.4 MB, free: 42.38 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001191/0.2988, allocations: 7.156 kB / 480.4 MB, free: 42.38 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000129/0.2989, allocations: 33.8 kB / 480.5 MB, free: 42.36 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002061/0.2991, allocations: 81.42 kB / 480.5 MB, free: 42.3 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001426/0.2992, allocations: 63.03 kB / 480.6 MB, free: 42.27 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002358/0.2995, allocations: 291.6 kB / 480.9 MB, free: 42.12 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001356/0.2996, allocations: 44.42 kB / 480.9 MB, free: 42.11 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001308/0.2997, allocations: 115 kB / 481 MB, free: 42.06 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001451/0.2999, allocations: 110.4 kB / 481.2 MB, free: 42.01 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.103e-05/0.2999, allocations: 18.81 kB / 481.2 MB, free: 42.01 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.029e-05/0.3, allocations: 19.44 kB / 481.2 MB, free: 42.01 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.915e-05/0.3, allocations: 53.34 kB / 481.2 MB, free: 41.97 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 7.533e-05/0.3001, allocations: 102.2 kB / 481.3 MB, free: 41.92 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002311/0.3003, allocations: 241.8 kB / 481.6 MB, free: 41.81 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.267e-06/0.3003, allocations: 3.938 kB / 481.6 MB, free: 41.81 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.3003, allocations: 0 / 481.6 MB, free: 41.81 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.992e-06/0.3003, allocations: 0 / 481.6 MB, free: 41.81 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0007554/0.3011, allocations: 0.4889 MB / 482.1 MB, free: 41.42 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.168e-05/0.3011, allocations: 9.656 kB / 482.1 MB, free: 41.42 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001011/0.3012, allocations: 36.52 kB / 482.1 MB, free: 41.41 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002934/0.3015, allocations: 209.1 kB / 482.3 MB, free: 41.22 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.821e-05/0.3016, allocations: 68.19 kB / 482.4 MB, free: 41.15 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.085e-05/0.3016, allocations: 17.88 kB / 482.4 MB, free: 41.14 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002813/0.3019, allocations: 180.6 kB / 482.6 MB, free: 41.05 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.826e-05/0.3019, allocations: 14.36 kB / 482.6 MB, free: 41.04 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.557e-05/0.3019, allocations: 4 kB / 482.6 MB, free: 41.04 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.3019, allocations: 3.031 kB / 482.6 MB, free: 41.04 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002625/0.3022, allocations: 114.8 kB / 482.7 MB, free: 41.01 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007269/0.3029, allocations: 0.5388 MB / 483.3 MB, free: 40.61 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003194/0.3032, allocations: 143.6 kB / 483.4 MB, free: 40.54 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001404/0.3034, allocations: 76.7 kB / 483.5 MB, free: 40.51 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.661e-05/0.3034, allocations: 0 / 483.5 MB, free: 40.51 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.698e-05/0.3034, allocations: 40.41 kB / 483.5 MB, free: 40.46 MB / 446.1 MB Notification: Performance of pre-optimization done (n=18): time 1.052e-06/0.3034, allocations: 0.75 kB / 483.5 MB, free: 40.46 MB / 446.1 MB Notification: Performance of matching and sorting (n=19): time 0.0009493/0.3044, allocations: 0.5109 MB / 484 MB, free: 40.16 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.464e-05/0.3044, allocations: 54.44 kB / 484.1 MB, free: 40.09 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001792/0.3046, allocations: 238.9 kB / 484.3 MB, free: 39.95 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.241e-05/0.3046, allocations: 29.7 kB / 484.3 MB, free: 39.91 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.388e-05/0.3046, allocations: 155.4 kB / 484.5 MB, free: 39.77 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.562e-05/0.3047, allocations: 72.77 kB / 484.6 MB, free: 39.71 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.498e-05/0.3047, allocations: 45.02 kB / 484.6 MB, free: 39.68 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.885e-05/0.3048, allocations: 339.9 kB / 484.9 MB, free: 39.36 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001404/0.3049, allocations: 54.31 kB / 485 MB, free: 39.34 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001317/0.305, allocations: 86.62 kB / 485.1 MB, free: 39.3 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000242/0.3053, allocations: 140.1 kB / 485.2 MB, free: 39.24 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.3053, allocations: 0 / 485.2 MB, free: 39.24 MB / 446.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003225/0.3056, allocations: 209.8 kB / 485.4 MB, free: 39.14 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.3056, allocations: 6.344 kB / 485.4 MB, free: 39.14 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.3056, allocations: 7.078 kB / 485.4 MB, free: 39.14 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.3056, allocations: 0 / 485.4 MB, free: 39.14 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004029/0.306, allocations: 77.52 kB / 485.5 MB, free: 39.13 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.3061, allocations: 0 / 485.5 MB, free: 39.13 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001316/0.3062, allocations: 13.86 kB / 485.5 MB, free: 39.13 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.26e-05/0.3062, allocations: 3.344 kB / 485.5 MB, free: 39.13 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 1 (BreakerCommand.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.329e-05/0.3063, allocations: 139.9 kB / 485.7 MB, free: 38.99 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.125e-05/0.3063, allocations: 25.64 kB / 485.7 MB, free: 38.98 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.652e-05/0.3064, allocations: 28.06 kB / 485.7 MB, free: 38.96 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.514e-06/0.3064, allocations: 0 / 485.7 MB, free: 38.96 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.3064, allocations: 3.188 kB / 485.7 MB, free: 38.96 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.3064, allocations: 3.469 kB / 485.7 MB, free: 38.96 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005854/0.307, allocations: 473.7 kB / 486.2 MB, free: 38.63 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.043e-06/0.307, allocations: 0 / 486.2 MB, free: 38.63 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003651/0.3073, allocations: 61.94 kB / 486.2 MB, free: 38.63 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.3073, allocations: 3.062 kB / 486.2 MB, free: 38.63 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.39e-05/0.3074, allocations: 7.938 kB / 486.2 MB, free: 38.62 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.3074, allocations: 0 / 486.2 MB, free: 38.62 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.3074, allocations: 0 / 486.2 MB, free: 38.62 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004478/0.3078, allocations: 363.7 kB / 486.6 MB, free: 38.41 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.538e-05/0.3079, allocations: 31.3 kB / 486.6 MB, free: 38.39 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.964e-05/0.3079, allocations: 4 kB / 486.6 MB, free: 38.39 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001543/0.3081, allocations: 13.45 kB / 486.7 MB, free: 38.38 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.625e-05/0.3081, allocations: 17.94 kB / 486.7 MB, free: 38.38 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.946e-06/0.3081, allocations: 5.969 kB / 486.7 MB, free: 38.38 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001139/0.3082, allocations: 176.6 kB / 486.8 MB, free: 38.27 MB / 446.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3082, allocations: 0 / 486.8 MB, free: 38.27 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002725/0.3085, allocations: 44.78 kB / 486.9 MB, free: 38.27 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (generator.phi,generator.omega_m,generator.omega_e_filt,grid.port.theta) * Number of discrete variables: 1 (BreakerCommand.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 6.764e-05/0.3086, allocations: 92.41 kB / 487 MB, free: 38.18 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003356/0.3089, allocations: 140.5 kB / 487.1 MB, free: 38.14 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.3089, allocations: 7.938 kB / 487.1 MB, free: 38.13 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001313/0.309, allocations: 78.97 kB / 487.2 MB, free: 38.11 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003772/0.3094, allocations: 35.28 kB / 487.2 MB, free: 38.09 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000908/0.3103, allocations: 0.6549 MB / 487.9 MB, free: 37.65 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.138e-05/0.3104, allocations: 137.7 kB / 488 MB, free: 37.56 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 8.182e-05/0.3105, allocations: 24.3 kB / 488.1 MB, free: 37.56 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.384e-05/0.3105, allocations: 17.94 kB / 488.1 MB, free: 37.55 MB / 446.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3105, allocations: 0 / 488.1 MB, free: 37.55 MB / 446.1 MB Notification: Performance of Templates: time 0.004888/0.3154, allocations: 2.038 MB / 490.1 MB, free: 37.27 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical3.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical3.pipe ; mkfifo ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical3.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical3.pipe >> ../files/ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical3.sim & ./ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical3 -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical3.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.5794093570439145] Failed to read output from testmodel.py, exit status != 0: 0.3234657139983028 0.332405279 0.029856127000000003 Calling exit ...