Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5.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.001349/0.001349, allocations: 84.3 kB / 20.68 MB, free: 1.035 MB / 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.001392/0.001392, allocations: 168.8 kB / 23.95 MB, free: 4.172 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.276/1.276, allocations: 158.6 MB / 185.7 MB, free: 6.43 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.2732/0.2732, allocations: 36.34 MB / 274.3 MB, free: 0.6484 MB / 254.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.TestElectrical5,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical5,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.323e-06/1.323e-06, allocations: 0 / 414.8 MB, free: 11.65 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.046e-05/2.178e-05, allocations: 2.281 kB / 414.8 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical5): time 0.003922/0.003944, allocations: 2.468 MB / 417.3 MB, free: 9.16 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001587/0.00553, allocations: 0.7251 MB / 418 MB, free: 8.426 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002417/0.005772, allocations: 7.938 kB / 418 MB, free: 8.418 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000187/0.005959, allocations: 43.52 kB / 418.1 MB, free: 8.375 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003854/0.006344, allocations: 138.8 kB / 418.2 MB, free: 8.238 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002331/0.006578, allocations: 83.81 kB / 418.3 MB, free: 8.156 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005353/0.007113, allocations: 421.9 kB / 418.7 MB, free: 7.742 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001672/0.00728, allocations: 57.7 kB / 418.8 MB, free: 7.688 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003865/0.007667, allocations: 223.4 kB / 419 MB, free: 7.469 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002215/0.007888, allocations: 119.6 kB / 419.1 MB, free: 7.352 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.235e-05/0.00794, allocations: 24 kB / 419.1 MB, free: 7.328 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.999e-05/0.00803, allocations: 32 kB / 419.1 MB, free: 7.297 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.993e-05/0.0081, allocations: 67.67 kB / 419.2 MB, free: 7.23 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001467/0.008247, allocations: 111.6 kB / 419.3 MB, free: 7.121 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004098/0.008657, allocations: 326.7 kB / 419.6 MB, free: 6.801 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.00866, allocations: 0 / 419.6 MB, free: 6.801 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.72e-07/0.008661, allocations: 0 / 419.6 MB, free: 6.801 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.793e-06/0.008668, allocations: 0 / 419.6 MB, free: 6.801 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.001122/0.00979, allocations: 0.5905 MB / 420.2 MB, free: 6.176 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.009829, allocations: 12.03 kB / 420.2 MB, free: 6.164 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001267/0.009955, allocations: 40.7 kB / 420.3 MB, free: 6.125 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004665/0.01042, allocations: 265.6 kB / 420.5 MB, free: 5.836 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.412e-05/0.01045, allocations: 16.88 kB / 420.6 MB, free: 5.82 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.383e-05/0.0105, allocations: 28.31 kB / 420.6 MB, free: 5.793 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004933/0.01099, allocations: 240.2 kB / 420.8 MB, free: 5.543 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.717e-05/0.01101, allocations: 4.125 kB / 420.8 MB, free: 5.539 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.545e-05/0.01104, allocations: 8.375 kB / 420.8 MB, free: 5.531 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.939e-06/0.01105, allocations: 7.938 kB / 420.8 MB, free: 5.523 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004292/0.01147, allocations: 181.8 kB / 421 MB, free: 5.348 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001203/0.01268, allocations: 0.698 MB / 421.7 MB, free: 4.609 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003589/0.01304, allocations: 178.5 kB / 421.9 MB, free: 4.426 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002188/0.01326, allocations: 104.8 kB / 422 MB, free: 4.32 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.463e-05/0.01328, allocations: 8 kB / 422 MB, free: 4.312 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.413e-05/0.01331, allocations: 38.56 kB / 422 MB, free: 4.266 MB / 350.1 MB Notification: Performance of pre-optimization done (n=25): time 1.393e-06/0.01332, allocations: 0 / 422 MB, free: 4.266 MB / 350.1 MB Notification: Performance of matching and sorting (n=27): time 0.001515/0.01483, allocations: 0.657 MB / 422.7 MB, free: 3.578 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.013e-05/0.01488, allocations: 59.41 kB / 422.8 MB, free: 3.508 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003483/0.01523, allocations: 304.5 kB / 423.1 MB, free: 3.199 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.622e-05/0.01525, allocations: 33.7 kB / 423.1 MB, free: 3.16 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001486/0.0154, allocations: 184.7 kB / 423.3 MB, free: 2.977 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.807e-05/0.01549, allocations: 99.12 kB / 423.4 MB, free: 2.879 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.696e-05/0.01558, allocations: 53.7 kB / 423.4 MB, free: 2.82 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001718/0.01575, allocations: 342.7 kB / 423.8 MB, free: 2.477 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000188/0.01594, allocations: 75.97 kB / 423.8 MB, free: 2.402 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002187/0.01616, allocations: 114.5 kB / 423.9 MB, free: 2.281 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004051/0.01656, allocations: 196.2 kB / 424.1 MB, free: 2.082 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.01657, allocations: 4 kB / 424.1 MB, free: 2.078 MB / 350.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0007139/0.01728, allocations: 319.1 kB / 424.4 MB, free: 1.758 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.01729, allocations: 4 kB / 424.4 MB, free: 1.754 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.0173, allocations: 3.984 kB / 424.5 MB, free: 1.75 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000284/0.01758, allocations: 56.81 kB / 424.5 MB, free: 1.691 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003968/0.01798, allocations: 75.88 kB / 424.6 MB, free: 1.617 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002885/0.02087, allocations: 2.771 MB / 427.4 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001985/0.02107, allocations: 16.27 kB / 427.4 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.196e-05/0.02109, allocations: 19.92 kB / 427.4 MB, free: 14.6 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (30): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001675/0.02125, allocations: 141.8 kB / 427.5 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.684e-05/0.02132, allocations: 39.7 kB / 427.6 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005288/0.02185, allocations: 258.3 kB / 427.8 MB, free: 14.15 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.302e-06/0.02186, allocations: 7.938 kB / 427.8 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.312e-06/0.02186, allocations: 0 / 427.8 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.02186, allocations: 4 kB / 427.8 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009581/0.02282, allocations: 0.557 MB / 428.4 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.02282, allocations: 0 / 428.4 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003381/0.02316, allocations: 71.91 kB / 428.5 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.02316, allocations: 0 / 428.5 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.935e-05/0.02318, allocations: 4 kB / 428.5 MB, free: 13.47 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.02318, allocations: 4 kB / 428.5 MB, free: 13.47 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.02318, allocations: 0 / 428.5 MB, free: 13.47 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007425/0.02393, allocations: 460 kB / 428.9 MB, free: 13 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000104/0.02403, allocations: 47.8 kB / 429 MB, free: 12.96 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.827e-05/0.02407, allocations: 4 kB / 429 MB, free: 12.95 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002053/0.02427, allocations: 15.98 kB / 429 MB, free: 12.94 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.472e-05/0.02433, allocations: 11.97 kB / 429 MB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.172e-05/0.02435, allocations: 8 kB / 429 MB, free: 12.92 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002349/0.02459, allocations: 219.1 kB / 429.2 MB, free: 12.7 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.02459, allocations: 4 kB / 429.2 MB, free: 12.7 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003519/0.02494, allocations: 68 kB / 429.3 MB, free: 12.63 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (gen_a.phi,gen_a.omega_m,gen_a.omega_e_filt,gen_b.phi,gen_b.omega_m,gen_b.omega_e_filt) * 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 (28): * Single equations (assignments): 28 * 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 0.0001194/0.02506, allocations: 99.19 kB / 429.4 MB, free: 12.53 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008834/0.02594, allocations: 362.2 kB / 429.7 MB, free: 12.16 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.02594, allocations: 0 / 429.7 MB, free: 12.16 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002226/0.02616, allocations: 103.9 kB / 429.8 MB, free: 12.06 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004585/0.02662, allocations: 57.05 kB / 429.9 MB, free: 12.01 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00147/0.02809, allocations: 0.7842 MB / 430.7 MB, free: 11.2 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001883/0.02828, allocations: 190.7 kB / 430.9 MB, free: 10.99 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001124/0.02839, allocations: 34.95 kB / 430.9 MB, free: 10.95 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.2e-05/0.02849, allocations: 28.5 kB / 430.9 MB, free: 10.92 MB / 366.1 MB Notification: Performance of SimCode: time 3.3e-07/0.02849, allocations: 3.938 kB / 430.9 MB, free: 10.92 MB / 366.1 MB Notification: Performance of Templates: time 0.00863/0.03712, allocations: 3.601 MB / 434.5 MB, free: 7.32 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5.pipe ; mkfifo ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5.pipe >> ../files/ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5.sim & ./ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.5219224244356155] Failed to read output from testmodel.py, exit status != 0: 0.04565310478210449 0.06026754 0.048447951 Calling exit ...