Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical6.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.001843/0.001843, allocations: 77.86 kB / 21.29 MB, free: 0.5273 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.001854/0.001854, allocations: 157.7 kB / 24.54 MB, free: 3.832 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.419/1.419, allocations: 177.2 MB / 204.9 MB, free: 9.277 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.1402/0.1402, allocations: 19.71 MB / 281 MB, free: 13.05 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.TestElectrical6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical6") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical6") [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.002095/0.002095, allocations: 63.91 kB / 417.6 MB, free: 0.6953 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2838/0.2859, allocations: 60.46 MB / 478.1 MB, free: 15.55 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical6): time 0.004252/0.2901, allocations: 2.756 MB / 480.8 MB, free: 13.46 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001675/0.2918, allocations: 0.7752 MB / 481.6 MB, free: 12.84 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002006/0.292, allocations: 9 kB / 481.6 MB, free: 12.83 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001809/0.2922, allocations: 55.33 kB / 481.7 MB, free: 12.78 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004048/0.2926, allocations: 142.4 kB / 481.8 MB, free: 12.66 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002679/0.2929, allocations: 107.6 kB / 481.9 MB, free: 12.57 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005553/0.2934, allocations: 0.4932 MB / 482.4 MB, free: 12.26 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002245/0.2937, allocations: 87.66 kB / 482.5 MB, free: 12.2 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004394/0.2941, allocations: 300.8 kB / 482.8 MB, free: 12.02 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002909/0.2944, allocations: 186.1 kB / 483 MB, free: 11.89 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.313e-05/0.2944, allocations: 32.44 kB / 483 MB, free: 11.89 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.667e-05/0.2945, allocations: 39.97 kB / 483 MB, free: 11.89 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.385e-05/0.2946, allocations: 91.2 kB / 483.1 MB, free: 11.81 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001898/0.2948, allocations: 173 kB / 483.3 MB, free: 11.7 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005362/0.2954, allocations: 418.9 kB / 483.7 MB, free: 11.41 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.2954, allocations: 0 / 483.7 MB, free: 11.41 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.2954, allocations: 0 / 483.7 MB, free: 11.41 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.576e-06/0.2954, allocations: 5.062 kB / 483.7 MB, free: 11.4 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: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.001363/0.2967, allocations: 0.6944 MB / 484.4 MB, free: 10.84 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/0.2968, allocations: 9.656 kB / 484.4 MB, free: 10.84 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001466/0.2969, allocations: 53.17 kB / 484.5 MB, free: 10.81 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005264/0.2974, allocations: 291.2 kB / 484.7 MB, free: 10.56 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.996e-05/0.2975, allocations: 29.81 kB / 484.8 MB, free: 10.54 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.396e-05/0.2976, allocations: 42.12 kB / 484.8 MB, free: 10.52 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005179/0.2981, allocations: 294.9 kB / 485.1 MB, free: 10.33 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.692e-05/0.2981, allocations: 1.125 kB / 485.1 MB, free: 10.33 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.676e-05/0.2981, allocations: 10.28 kB / 485.1 MB, free: 10.32 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.216e-06/0.2981, allocations: 7.5 kB / 485.1 MB, free: 10.32 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004275/0.2986, allocations: 206.9 kB / 485.3 MB, free: 10.22 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001788/0.3003, allocations: 0.9231 MB / 486.2 MB, free: 9.473 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000429/0.3008, allocations: 236.3 kB / 486.5 MB, free: 9.34 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002039/0.301, allocations: 108 kB / 486.6 MB, free: 9.285 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.299e-05/0.301, allocations: 3.375 kB / 486.6 MB, free: 9.285 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.412e-05/0.301, allocations: 38.22 kB / 486.6 MB, free: 9.242 MB / 382.1 MB Notification: Performance of pre-optimization done (n=31): time 1.663e-06/0.301, allocations: 0 / 486.6 MB, free: 9.242 MB / 382.1 MB Notification: Performance of matching and sorting (n=33): time 0.001944/0.303, allocations: 0.7951 MB / 487.4 MB, free: 8.738 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.701e-05/0.303, allocations: 54.53 kB / 487.5 MB, free: 8.676 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000438/0.3035, allocations: 347.7 kB / 487.8 MB, free: 8.332 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.727e-05/0.3035, allocations: 33.7 kB / 487.8 MB, free: 8.293 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001949/0.3037, allocations: 220.5 kB / 488.1 MB, free: 8.07 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001174/0.3038, allocations: 122.9 kB / 488.2 MB, free: 7.949 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001118/0.3039, allocations: 70.02 kB / 488.3 MB, free: 7.871 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001926/0.3041, allocations: 350.8 kB / 488.6 MB, free: 7.52 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000193/0.3043, allocations: 92.58 kB / 488.7 MB, free: 7.43 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002286/0.3045, allocations: 141.5 kB / 488.8 MB, free: 7.277 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004352/0.305, allocations: 232.2 kB / 489 MB, free: 7.035 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.305, allocations: 3.938 kB / 489.1 MB, free: 7.031 MB / 382.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001092/0.3061, allocations: 417.2 kB / 489.5 MB, free: 6.613 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.968e-05/0.3061, allocations: 12.12 kB / 489.5 MB, free: 6.602 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.3061, allocations: 0 / 489.5 MB, free: 6.602 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006748/0.3068, allocations: 120.7 kB / 489.6 MB, free: 6.48 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004663/0.3072, allocations: 87.89 kB / 489.7 MB, free: 6.395 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003746/0.311, allocations: 3.083 MB / 492.8 MB, free: 3.109 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002553/0.3112, allocations: 15.95 kB / 492.8 MB, free: 3.094 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.621e-05/0.3113, allocations: 12.06 kB / 492.8 MB, free: 3.082 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (36): * Single equations (assignments): 34 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,9)} Notification: Performance of prepare postOptimizeDAE: time 0.00021/0.3115, allocations: 161.6 kB / 492.9 MB, free: 2.914 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.838e-05/0.3116, allocations: 43.7 kB / 493 MB, free: 2.871 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005746/0.3121, allocations: 293.8 kB / 493.3 MB, free: 2.57 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.3121, allocations: 0 / 493.3 MB, free: 2.57 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.3121, allocations: 0 / 493.3 MB, free: 2.57 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001446/0.3123, allocations: 59.67 kB / 493.3 MB, free: 2.512 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.97e-05/0.3123, allocations: 8 kB / 493.3 MB, free: 2.504 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002405/0.3126, allocations: 15.94 kB / 493.4 MB, free: 2.488 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.069e-05/0.3126, allocations: 23.95 kB / 493.4 MB, free: 2.465 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001058/0.3137, allocations: 404.6 kB / 493.8 MB, free: 2.062 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008643/0.3146, allocations: 0.5811 MB / 494.4 MB, free: 1.465 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002128/0.3148, allocations: 107.9 kB / 494.5 MB, free: 1.359 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000295/0.3151, allocations: 247.2 kB / 494.7 MB, free: 1.121 MB / 382.1 MB Notification: Performance of Backend: time 6.21e-07/0.3151, allocations: 0 / 494.7 MB, free: 1.121 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001217/0.3163, allocations: 421.6 kB / 495.1 MB, free: 0.6914 MB / 382.1 MB Notification: Performance of SimCode: time 0.002057/0.3184, allocations: 1.5 MB / 496.6 MB, free: 15.14 MB / 398.1 MB Notification: Performance of Templates: time 0.01161/0.33, allocations: 5.292 MB / 0.4901 GB, free: 9.91 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical6.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical6.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical6.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical6.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical6.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical6 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical6.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.751260400982574] Failed to read output from testmodel.py, exit status != 0: 0.338642077986151 0.35386599300000005 0.055289892 Calling exit ...