Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical1.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.00134/0.00134, allocations: 75.73 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.001435/0.001435, allocations: 168.9 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.283/1.283, allocations: 158.6 MB / 186.3 MB, free: 6.176 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.2697/0.2697, allocations: 36.35 MB / 274.8 MB, free: 14.65 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.TestElectrical1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical1") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical1") [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.002374/0.002374, allocations: 79.89 kB / 415.2 MB, free: 14.11 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2876/0.2899, allocations: 62.38 MB / 477.6 MB, free: 43.46 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical1): time 0.002388/0.2923, allocations: 1.984 MB / 479.6 MB, free: 42.74 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007799/0.2931, allocations: 0.579 MB / 480.2 MB, free: 42.49 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001103/0.2932, allocations: 6.781 kB / 480.2 MB, free: 42.49 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001127/0.2933, allocations: 22.45 kB / 480.2 MB, free: 42.47 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001756/0.2935, allocations: 69.08 kB / 480.3 MB, free: 42.43 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001187/0.2936, allocations: 40.8 kB / 480.3 MB, free: 42.41 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001863/0.2938, allocations: 211.9 kB / 480.5 MB, free: 42.3 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001043/0.2939, allocations: 29.81 kB / 480.6 MB, free: 42.29 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001149/0.294, allocations: 82.42 kB / 480.6 MB, free: 42.26 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001189/0.2941, allocations: 73.12 kB / 480.7 MB, free: 42.23 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.392e-05/0.2942, allocations: 9.75 kB / 480.7 MB, free: 42.23 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.707e-05/0.2942, allocations: 31.75 kB / 480.8 MB, free: 42.22 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.96e-05/0.2943, allocations: 30.38 kB / 480.8 MB, free: 42.2 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.95e-05/0.2943, allocations: 79.06 kB / 480.9 MB, free: 42.16 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001754/0.2945, allocations: 163.5 kB / 481 MB, free: 42.09 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.2945, allocations: 0 / 481 MB, free: 42.09 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.2945, allocations: 0 / 481 MB, free: 42.09 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.748e-06/0.2945, allocations: 0 / 481 MB, free: 42.09 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0005798/0.2951, allocations: 431.7 kB / 481.4 MB, free: 41.73 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.906e-05/0.2951, allocations: 12.8 kB / 481.5 MB, free: 41.73 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.118e-05/0.2952, allocations: 22.48 kB / 481.5 MB, free: 41.72 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002284/0.2954, allocations: 190.7 kB / 481.7 MB, free: 41.55 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.179e-05/0.2954, allocations: 7.844 kB / 481.7 MB, free: 41.54 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.61e-05/0.2955, allocations: 15.83 kB / 481.7 MB, free: 41.54 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001868/0.2957, allocations: 128.5 kB / 481.8 MB, free: 41.46 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.2957, allocations: 0.7188 kB / 481.8 MB, free: 41.46 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.192e-05/0.2957, allocations: 6.812 kB / 481.8 MB, free: 41.46 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.2957, allocations: 6.844 kB / 481.8 MB, free: 41.46 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001599/0.2958, allocations: 78.11 kB / 481.9 MB, free: 41.43 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005481/0.2964, allocations: 448.7 kB / 482.3 MB, free: 41.08 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002387/0.2966, allocations: 97.5 kB / 482.4 MB, free: 41.03 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.892e-05/0.2967, allocations: 40.62 kB / 482.5 MB, free: 41.01 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.382e-05/0.2967, allocations: 3.219 kB / 482.5 MB, free: 41.01 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.13e-05/0.2967, allocations: 38.56 kB / 482.5 MB, free: 40.96 MB / 446.1 MB Notification: Performance of pre-optimization done (n=11): time 1.102e-06/0.2967, allocations: 224 / 482.5 MB, free: 40.96 MB / 446.1 MB Notification: Performance of matching and sorting (n=12): time 0.0006621/0.2974, allocations: 377.6 kB / 482.9 MB, free: 40.7 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.199e-05/0.2974, allocations: 54.59 kB / 482.9 MB, free: 40.64 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001422/0.2976, allocations: 205.6 kB / 483.1 MB, free: 40.51 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.468e-06/0.2976, allocations: 25.7 kB / 483.2 MB, free: 40.48 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.188e-05/0.2976, allocations: 132.5 kB / 483.3 MB, free: 40.36 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.147e-05/0.2976, allocations: 38.22 kB / 483.3 MB, free: 40.32 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.999e-05/0.2977, allocations: 38.92 kB / 483.4 MB, free: 40.29 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.378e-05/0.2977, allocations: 328 kB / 483.7 MB, free: 39.98 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.034e-05/0.2978, allocations: 31.45 kB / 483.7 MB, free: 39.96 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.322e-05/0.2979, allocations: 63.45 kB / 483.8 MB, free: 39.92 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000138/0.298, allocations: 88.06 kB / 483.9 MB, free: 39.87 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.298, allocations: 3.938 kB / 483.9 MB, free: 39.87 MB / 446.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002033/0.2982, allocations: 153 kB / 484 MB, free: 39.79 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.162e-05/0.2982, allocations: 3.125 kB / 484 MB, free: 39.79 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.2982, allocations: 9.703 kB / 484 MB, free: 39.78 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.2982, allocations: 0 / 484 MB, free: 39.78 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001428/0.2984, allocations: 38.77 kB / 484.1 MB, free: 39.78 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.678e-06/0.2984, allocations: 0 / 484.1 MB, free: 39.78 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.669e-05/0.2985, allocations: 3.156 kB / 484.1 MB, free: 39.78 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.418e-06/0.2985, allocations: 10.12 kB / 484.1 MB, free: 39.77 MB / 446.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 (16): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.171e-05/0.2986, allocations: 122.7 kB / 484.2 MB, free: 39.65 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.592e-05/0.2986, allocations: 24.84 kB / 484.2 MB, free: 39.64 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.341e-05/0.2986, allocations: 22.89 kB / 484.2 MB, free: 39.62 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.2986, allocations: 6.469 kB / 484.3 MB, free: 39.62 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.2986, allocations: 0 / 484.3 MB, free: 39.62 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.2986, allocations: 0 / 484.3 MB, free: 39.62 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003654/0.299, allocations: 366.1 kB / 484.6 MB, free: 39.33 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.299, allocations: 0 / 484.6 MB, free: 39.33 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001505/0.2992, allocations: 37.25 kB / 484.6 MB, free: 39.32 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.2992, allocations: 0 / 484.6 MB, free: 39.32 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.777e-06/0.2992, allocations: 0 / 484.6 MB, free: 39.32 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.2992, allocations: 4 kB / 484.7 MB, free: 39.32 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.2992, allocations: 3.156 kB / 484.7 MB, free: 39.32 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002665/0.2994, allocations: 264.3 kB / 484.9 MB, free: 39.13 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.631e-05/0.2995, allocations: 22.62 kB / 484.9 MB, free: 39.12 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.452e-05/0.2995, allocations: 4 kB / 484.9 MB, free: 39.12 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001188/0.2996, allocations: 2.438 kB / 484.9 MB, free: 39.12 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.885e-05/0.2997, allocations: 9.516 kB / 485 MB, free: 39.12 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.192e-06/0.2997, allocations: 2.594 kB / 485 MB, free: 39.12 MB / 446.1 MB Notification: Performance of sorting global known variables: time 9.421e-05/0.2998, allocations: 149 kB / 485.1 MB, free: 39.02 MB / 446.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2998, allocations: 4 kB / 485.1 MB, free: 39.02 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002527/0.3, allocations: 37.41 kB / 485.1 MB, free: 39.01 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (generator.phi,generator.omega_m,generator.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 (12): * Single equations (assignments): 12 * 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 5.873e-05/0.3001, allocations: 92 kB / 485.2 MB, free: 38.92 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001978/0.3003, allocations: 82.59 kB / 485.3 MB, free: 38.89 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.3003, allocations: 3.094 kB / 485.3 MB, free: 38.89 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.058e-05/0.3003, allocations: 39.75 kB / 485.4 MB, free: 38.88 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000369/0.3007, allocations: 49.2 kB / 485.4 MB, free: 38.86 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000732/0.3014, allocations: 0.5097 MB / 485.9 MB, free: 38.51 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.83e-05/0.3015, allocations: 128.2 kB / 486 MB, free: 38.42 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.409e-05/0.3016, allocations: 13.66 kB / 486 MB, free: 38.42 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.929e-05/0.3016, allocations: 21.67 kB / 486.1 MB, free: 38.41 MB / 446.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3016, allocations: 0 / 486.1 MB, free: 38.41 MB / 446.1 MB Notification: Performance of Templates: time 0.003971/0.3056, allocations: 1.561 MB / 487.6 MB, free: 38.19 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical1.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical1.pipe ; mkfifo ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical1.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical1.pipe >> ../files/ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical1.sim & ./ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical1 -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical1.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.48646451102104] Failed to read output from testmodel.py, exit status != 0: 0.31317839201074094 0.322780531 0.025983516 Calling exit ...