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.001322/0.001322, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001378/0.001378, allocations: 214.3 kB / 23.73 MB, free: 4.16 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.423/1.423, allocations: 230.6 MB / 257.5 MB, free: 7.805 MB / 206.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.1465/0.1465, allocations: 26.84 MB / 340.7 MB, free: 7.98 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.002139/0.002139, allocations: 71.83 kB / 477.3 MB, free: 3.031 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2735/0.2756, allocations: 60.48 MB / 0.5251 GB, free: 9.742 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical1): time 0.002824/0.2784, allocations: 1.99 MB / 0.5271 GB, free: 8.402 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009507/0.2794, allocations: 0.5765 MB / 0.5276 GB, free: 8.008 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00012/0.2795, allocations: 6.094 kB / 0.5276 GB, free: 8.004 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001117/0.2796, allocations: 23.56 kB / 0.5277 GB, free: 7.988 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001991/0.2798, allocations: 70.02 kB / 0.5277 GB, free: 7.938 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001303/0.2799, allocations: 39.45 kB / 0.5278 GB, free: 7.918 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002152/0.2801, allocations: 216.9 kB / 0.528 GB, free: 7.809 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001102/0.2803, allocations: 27.45 kB / 0.528 GB, free: 7.797 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001738/0.2804, allocations: 90.91 kB / 0.5281 GB, free: 7.754 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001314/0.2806, allocations: 74.03 kB / 0.5282 GB, free: 7.723 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.906e-05/0.2806, allocations: 12.59 kB / 0.5282 GB, free: 7.723 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.745e-05/0.2806, allocations: 14.56 kB / 0.5282 GB, free: 7.723 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.857e-05/0.2807, allocations: 38.06 kB / 0.5282 GB, free: 7.695 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.519e-05/0.2807, allocations: 69.84 kB / 0.5283 GB, free: 7.66 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002131/0.281, allocations: 170.2 kB / 0.5285 GB, free: 7.586 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.281, allocations: 2.219 kB / 0.5285 GB, free: 7.586 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.281, allocations: 0 / 0.5285 GB, free: 7.586 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.181e-05/0.281, allocations: 0 / 0.5285 GB, free: 7.586 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.0006237/0.2816, allocations: 430.4 kB / 0.5289 GB, free: 7.227 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.051e-05/0.2816, allocations: 8.906 kB / 0.5289 GB, free: 7.227 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.017e-05/0.2817, allocations: 23.52 kB / 0.5289 GB, free: 7.215 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002696/0.282, allocations: 183.7 kB / 0.5291 GB, free: 7.047 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.351e-05/0.282, allocations: 8.438 kB / 0.5291 GB, free: 7.043 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.435e-05/0.282, allocations: 18.34 kB / 0.5291 GB, free: 7.035 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002186/0.2822, allocations: 144.2 kB / 0.5292 GB, free: 6.941 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.351e-05/0.2823, allocations: 0 / 0.5292 GB, free: 6.941 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.269e-05/0.2823, allocations: 1.062 kB / 0.5292 GB, free: 6.941 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.2823, allocations: 2.781 kB / 0.5292 GB, free: 6.941 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001719/0.2825, allocations: 77.89 kB / 0.5293 GB, free: 6.922 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006037/0.2831, allocations: 441.4 kB / 0.5297 GB, free: 6.566 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002815/0.2833, allocations: 105.4 kB / 0.5298 GB, free: 6.512 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.683e-05/0.2834, allocations: 42.02 kB / 0.5299 GB, free: 6.492 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.652e-05/0.2834, allocations: 5.984 kB / 0.5299 GB, free: 6.488 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.233e-05/0.2835, allocations: 32.95 kB / 0.5299 GB, free: 6.449 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 1.222e-06/0.2835, allocations: 224 / 0.5299 GB, free: 6.449 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.0007677/0.2842, allocations: 379.4 kB / 0.5303 GB, free: 6.184 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.83e-05/0.2842, allocations: 57.62 kB / 0.5303 GB, free: 6.117 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002025/0.2845, allocations: 208.5 kB / 0.5305 GB, free: 5.973 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.002e-05/0.2845, allocations: 30.27 kB / 0.5306 GB, free: 5.938 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.889e-05/0.2845, allocations: 132 kB / 0.5307 GB, free: 5.816 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.91e-05/0.2845, allocations: 49.34 kB / 0.5307 GB, free: 5.777 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.898e-05/0.2846, allocations: 29.95 kB / 0.5308 GB, free: 5.754 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.495e-05/0.2846, allocations: 327.9 kB / 0.5311 GB, free: 5.434 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.663e-05/0.2847, allocations: 30.02 kB / 0.5311 GB, free: 5.426 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.266e-05/0.2848, allocations: 58.25 kB / 0.5312 GB, free: 5.391 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001718/0.285, allocations: 103 kB / 0.5313 GB, free: 5.328 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.285, allocations: 0.5625 kB / 0.5313 GB, free: 5.328 MB / 382.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002216/0.2852, allocations: 140.8 kB / 0.5314 GB, free: 5.254 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/0.2852, allocations: 6.219 kB / 0.5314 GB, free: 5.254 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.2852, allocations: 4.688 kB / 0.5314 GB, free: 5.25 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/0.2853, allocations: 2.188 kB / 0.5314 GB, free: 5.25 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001512/0.2854, allocations: 36.55 kB / 0.5314 GB, free: 5.246 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/0.2854, allocations: 1.125 kB / 0.5314 GB, free: 5.246 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001031/0.2855, allocations: 13.75 kB / 0.5314 GB, free: 5.238 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.846e-06/0.2855, allocations: 2.625 kB / 0.5315 GB, free: 5.238 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 7.483e-05/0.2856, allocations: 129.9 kB / 0.5316 GB, free: 5.109 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.81e-05/0.2856, allocations: 19.38 kB / 0.5316 GB, free: 5.098 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.227e-05/0.2857, allocations: 24.55 kB / 0.5316 GB, free: 5.078 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.2857, allocations: 1.188 kB / 0.5316 GB, free: 5.078 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.2857, allocations: 1.844 kB / 0.5316 GB, free: 5.078 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.2857, allocations: 0.6562 kB / 0.5316 GB, free: 5.078 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004264/0.2861, allocations: 367.1 kB / 0.532 GB, free: 4.789 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.2861, allocations: 4 kB / 0.532 GB, free: 4.785 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001517/0.2863, allocations: 27.67 kB / 0.532 GB, free: 4.785 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.2863, allocations: 1.25 kB / 0.532 GB, free: 4.785 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.062e-05/0.2863, allocations: 5.812 kB / 0.532 GB, free: 4.781 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.2863, allocations: 0 / 0.532 GB, free: 4.781 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.2863, allocations: 0 / 0.532 GB, free: 4.781 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002929/0.2866, allocations: 270.6 kB / 0.5323 GB, free: 4.59 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.35e-05/0.2866, allocations: 21.66 kB / 0.5323 GB, free: 4.578 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.671e-05/0.2867, allocations: 1.406 kB / 0.5323 GB, free: 4.578 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001224/0.2868, allocations: 12.38 kB / 0.5323 GB, free: 4.57 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.57e-05/0.2868, allocations: 6.875 kB / 0.5323 GB, free: 4.57 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.462e-06/0.2868, allocations: 2.75 kB / 0.5323 GB, free: 4.57 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000111/0.2869, allocations: 156 kB / 0.5325 GB, free: 4.469 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2869, allocations: 0 / 0.5325 GB, free: 4.469 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002596/0.2872, allocations: 26.91 kB / 0.5325 GB, free: 4.469 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 5.851e-05/0.2872, allocations: 94.38 kB / 0.5326 GB, free: 4.375 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002023/0.2875, allocations: 79.36 kB / 0.5326 GB, free: 4.355 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.2875, allocations: 128 / 0.5326 GB, free: 4.355 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.912e-05/0.2875, allocations: 54.64 kB / 0.5327 GB, free: 4.332 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003493/0.2879, allocations: 39.5 kB / 0.5327 GB, free: 4.316 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007781/0.2887, allocations: 0.5219 MB / 0.5332 GB, free: 3.941 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.729e-05/0.2887, allocations: 121.6 kB / 0.5334 GB, free: 3.859 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.759e-05/0.2888, allocations: 13.94 kB / 0.5334 GB, free: 3.859 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.083e-05/0.2889, allocations: 15.78 kB / 0.5334 GB, free: 3.852 MB / 382.1 MB Notification: Performance of SimCode: time 3.2e-07/0.2889, allocations: 0 / 0.5334 GB, free: 3.852 MB / 382.1 MB Notification: Performance of Templates: time 0.004808/0.2937, allocations: 1.761 MB / 0.5351 GB, free: 3.59 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.43159669265151] Failed to read output from testmodel.py, exit status != 0: 0.301345881074667 0.31405168899999997 0.030120285000000004 Calling exit ...