Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_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.001664/0.001664, allocations: 79.47 kB / 20.52 MB, free: 1.367 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.001506/0.001506, allocations: 165.1 kB / 23.78 MB, free: 4.539 MB / 14.72 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.416/1.416, allocations: 177.2 MB / 204.2 MB, free: 9.285 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo): time 0.1386/0.1386, allocations: 19.7 MB / 280.3 MB, free: 13.07 MB / 270.1 MB " [Timeout remaining time 180] Using package ThermoPower with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/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(ThermoPower.Test.ElectricalComponents.TestElectrical1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical1") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical1") [Timeout 660] "Notification: ThermoPower requested package Modelica of version 4.0.0. Modelica 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.002215/0.002215, allocations: 71.89 kB / 416.8 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2494/0.2516, allocations: 60.47 MB / 477.3 MB, free: 15.55 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical1): time 0.003466/0.2551, allocations: 2 MB / 479.3 MB, free: 14.02 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001078/0.2562, allocations: 0.5629 MB / 479.9 MB, free: 13.58 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001028/0.2563, allocations: 6.875 kB / 479.9 MB, free: 13.57 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001186/0.2564, allocations: 24.94 kB / 479.9 MB, free: 13.55 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002106/0.2566, allocations: 70.55 kB / 480 MB, free: 13.49 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001378/0.2567, allocations: 39.2 kB / 480 MB, free: 13.46 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002767/0.257, allocations: 213.9 kB / 480.2 MB, free: 13.33 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001104/0.2571, allocations: 23.55 kB / 480.2 MB, free: 13.32 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002362/0.2574, allocations: 132.7 kB / 480.4 MB, free: 13.23 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001512/0.2575, allocations: 81.83 kB / 480.4 MB, free: 13.18 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.495e-05/0.2575, allocations: 11.28 kB / 480.4 MB, free: 13.18 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.002e-05/0.2576, allocations: 15 kB / 480.5 MB, free: 13.18 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.502e-05/0.2576, allocations: 31.58 kB / 480.5 MB, free: 13.15 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.69e-05/0.2577, allocations: 78.92 kB / 480.6 MB, free: 13.1 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002509/0.258, allocations: 165.7 kB / 480.7 MB, free: 12.99 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.258, allocations: 0 / 480.7 MB, free: 12.99 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.258, allocations: 1.188 kB / 480.7 MB, free: 12.99 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.258, allocations: 0 / 480.7 MB, free: 12.99 MB / 382.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.000788/0.2587, allocations: 429.4 kB / 481.2 MB, free: 12.61 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.078e-05/0.2588, allocations: 16.44 kB / 481.2 MB, free: 12.6 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.708e-05/0.2589, allocations: 24.08 kB / 481.2 MB, free: 12.59 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003249/0.2592, allocations: 185.3 kB / 481.4 MB, free: 12.41 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.79e-05/0.2592, allocations: 14.11 kB / 481.4 MB, free: 12.4 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.219e-05/0.2593, allocations: 13.06 kB / 481.4 MB, free: 12.39 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002639/0.2595, allocations: 140.6 kB / 481.5 MB, free: 12.29 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/0.2595, allocations: 5.219 kB / 481.5 MB, free: 12.28 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.486e-05/0.2595, allocations: 5.125 kB / 481.5 MB, free: 12.28 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.73e-06/0.2595, allocations: 6.812 kB / 481.6 MB, free: 12.27 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001868/0.2597, allocations: 78.78 kB / 481.6 MB, free: 12.24 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007143/0.2604, allocations: 429.7 kB / 482.1 MB, free: 11.86 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002838/0.2607, allocations: 104.2 kB / 482.2 MB, free: 11.79 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.491e-05/0.2608, allocations: 40.88 kB / 482.2 MB, free: 11.77 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.715e-05/0.2608, allocations: 1.344 kB / 482.2 MB, free: 11.77 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.901e-05/0.2609, allocations: 32.09 kB / 482.2 MB, free: 11.73 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 1.333e-06/0.2609, allocations: 5.594 kB / 482.2 MB, free: 11.73 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.000801/0.2617, allocations: 373 kB / 482.6 MB, free: 11.45 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.616e-05/0.2617, allocations: 57.86 kB / 482.7 MB, free: 11.38 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002248/0.2619, allocations: 205.1 kB / 482.9 MB, free: 11.22 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.095e-05/0.262, allocations: 29.7 kB / 482.9 MB, free: 11.19 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001112/0.2621, allocations: 129.7 kB / 483 MB, free: 11.06 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.07e-05/0.2621, allocations: 49.05 kB / 483.1 MB, free: 11.02 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.438e-05/0.2622, allocations: 31.77 kB / 483.1 MB, free: 10.99 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001535/0.2623, allocations: 331 kB / 483.4 MB, free: 10.66 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.095e-05/0.2624, allocations: 29.39 kB / 483.4 MB, free: 10.65 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001015/0.2625, allocations: 57.58 kB / 483.5 MB, free: 10.61 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001744/0.2627, allocations: 94.62 kB / 483.6 MB, free: 10.55 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.91e-07/0.2627, allocations: 1.25 kB / 483.6 MB, free: 10.55 MB / 382.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002571/0.2629, allocations: 142.9 kB / 483.7 MB, free: 10.46 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/0.263, allocations: 9.531 kB / 483.7 MB, free: 10.46 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.303e-06/0.263, allocations: 5 kB / 483.7 MB, free: 10.45 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/0.263, allocations: 1.094 kB / 483.7 MB, free: 10.45 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001548/0.2631, allocations: 36.53 kB / 483.8 MB, free: 10.45 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.2631, allocations: 1.031 kB / 483.8 MB, free: 10.45 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001034/0.2632, allocations: 7.438 kB / 483.8 MB, free: 10.44 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.796e-06/0.2632, allocations: 3.281 kB / 483.8 MB, free: 10.44 MB / 382.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 0.0001157/0.2634, allocations: 125.1 kB / 483.9 MB, free: 10.32 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.292e-05/0.2634, allocations: 15.34 kB / 483.9 MB, free: 10.31 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.583e-05/0.2635, allocations: 34.8 kB / 484 MB, free: 10.28 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.429e-06/0.2635, allocations: 5.156 kB / 484 MB, free: 10.27 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.387e-06/0.2635, allocations: 3.938 kB / 484 MB, free: 10.27 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.2635, allocations: 1.125 kB / 484 MB, free: 10.27 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005282/0.264, allocations: 372 kB / 484.3 MB, free: 9.945 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.264, allocations: 1.25 kB / 484.3 MB, free: 9.945 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001699/0.2642, allocations: 31.45 kB / 484.4 MB, free: 9.938 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.2642, allocations: 0 / 484.4 MB, free: 9.938 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.758e-06/0.2642, allocations: 1.719 kB / 484.4 MB, free: 9.938 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.2642, allocations: 4 kB / 484.4 MB, free: 9.934 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.2642, allocations: 1.688 kB / 484.4 MB, free: 9.934 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003699/0.2646, allocations: 266.2 kB / 484.6 MB, free: 9.73 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.197e-05/0.2646, allocations: 25.52 kB / 484.7 MB, free: 9.711 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.55e-05/0.2646, allocations: 1.094 kB / 484.7 MB, free: 9.711 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001249/0.2648, allocations: 2.594 kB / 484.7 MB, free: 9.711 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.368e-05/0.2648, allocations: 10.83 kB / 484.7 MB, free: 9.703 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.722e-06/0.2648, allocations: 3.594 kB / 484.7 MB, free: 9.703 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000147/0.265, allocations: 161.4 kB / 484.8 MB, free: 9.582 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.265, allocations: 0 / 484.8 MB, free: 9.582 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002687/0.2652, allocations: 36.66 kB / 484.9 MB, free: 9.574 MB / 382.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 9.509e-05/0.2653, allocations: 92.91 kB / 485 MB, free: 9.48 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002184/0.2655, allocations: 76.88 kB / 485 MB, free: 9.453 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.2655, allocations: 1.031 kB / 485 MB, free: 9.453 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.63e-05/0.2656, allocations: 44.27 kB / 485.1 MB, free: 9.434 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003698/0.266, allocations: 34.56 kB / 485.1 MB, free: 9.414 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009412/0.2669, allocations: 0.5085 MB / 485.6 MB, free: 9.027 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001211/0.2671, allocations: 121.8 kB / 485.7 MB, free: 8.922 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.919e-05/0.2671, allocations: 12.27 kB / 485.8 MB, free: 8.918 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.238e-05/0.2672, allocations: 16.38 kB / 485.8 MB, free: 8.91 MB / 382.1 MB Notification: Performance of SimCode: time 3.81e-07/0.2672, allocations: 1.156 kB / 485.8 MB, free: 8.91 MB / 382.1 MB Notification: Performance of Templates: time 0.004854/0.272, allocations: 1.586 MB / 487.4 MB, free: 7.91 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical1.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical1.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical1.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical1.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical1.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical1.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.378589935600758] Failed to read output from testmodel.py, exit status != 0: 0.28055570274591446 0.295446702 0.034262705000000004 Calling exit ...