Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_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.001334/0.001334, allocations: 77.94 kB / 21.28 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.001445/0.001445, allocations: 161.6 kB / 24.55 MB, free: 3.828 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.445/1.445, allocations: 177.2 MB / 204.9 MB, free: 9.293 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.1392/0.1392, allocations: 19.71 MB / 281 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.TestElectrical5,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical5") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical5,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical5") [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.002202/0.002202, allocations: 67.84 kB / 417.6 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2657/0.2679, allocations: 60.45 MB / 478.1 MB, free: 15.57 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical5): time 0.003913/0.2718, allocations: 2.497 MB / 480.6 MB, free: 13.66 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001432/0.2733, allocations: 0.7091 MB / 481.3 MB, free: 13.1 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002062/0.2735, allocations: 11.81 kB / 481.3 MB, free: 13.09 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001801/0.2736, allocations: 42.48 kB / 481.3 MB, free: 13.05 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003792/0.274, allocations: 123.7 kB / 481.4 MB, free: 12.94 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002506/0.2743, allocations: 80.77 kB / 481.5 MB, free: 12.88 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000513/0.2748, allocations: 403.8 kB / 481.9 MB, free: 12.63 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001634/0.275, allocations: 61.34 kB / 482 MB, free: 12.6 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003652/0.2753, allocations: 244.6 kB / 482.2 MB, free: 12.45 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002176/0.2755, allocations: 141.5 kB / 482.4 MB, free: 12.36 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.414e-05/0.2756, allocations: 23.91 kB / 482.4 MB, free: 12.36 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.57e-05/0.2757, allocations: 28.12 kB / 482.4 MB, free: 12.36 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.2e-05/0.2757, allocations: 71.81 kB / 482.5 MB, free: 12.29 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001679/0.2759, allocations: 143.7 kB / 482.6 MB, free: 12.2 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004355/0.2763, allocations: 328.8 kB / 482.9 MB, free: 11.98 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.2763, allocations: 0 / 482.9 MB, free: 11.98 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.2763, allocations: 1.375 kB / 482.9 MB, free: 11.98 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.652e-06/0.2763, allocations: 4 kB / 482.9 MB, free: 11.98 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.001202/0.2775, allocations: 0.5967 MB / 483.5 MB, free: 11.48 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.824e-05/0.2776, allocations: 9.219 kB / 483.5 MB, free: 11.48 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001248/0.2777, allocations: 48.81 kB / 483.6 MB, free: 11.45 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004552/0.2782, allocations: 267.1 kB / 483.9 MB, free: 11.21 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.418e-05/0.2782, allocations: 18.09 kB / 483.9 MB, free: 11.2 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.247e-05/0.2782, allocations: 28.42 kB / 483.9 MB, free: 11.19 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004865/0.2787, allocations: 242.2 kB / 484.1 MB, free: 11.02 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.493e-05/0.2787, allocations: 1.156 kB / 484.1 MB, free: 11.02 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.471e-05/0.2788, allocations: 10.34 kB / 484.1 MB, free: 11.02 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.163e-06/0.2788, allocations: 5.938 kB / 484.2 MB, free: 11.02 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003897/0.2792, allocations: 184.7 kB / 484.3 MB, free: 10.93 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001148/0.2803, allocations: 0.6988 MB / 485 MB, free: 10.33 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003289/0.2806, allocations: 177.5 kB / 485.2 MB, free: 10.24 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001985/0.2808, allocations: 104.8 kB / 485.3 MB, free: 10.18 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.871e-05/0.2809, allocations: 3.594 kB / 485.3 MB, free: 10.18 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.174e-05/0.2809, allocations: 32.12 kB / 485.3 MB, free: 10.14 MB / 382.1 MB Notification: Performance of pre-optimization done (n=25): time 1.873e-06/0.2809, allocations: 0 / 485.3 MB, free: 10.14 MB / 382.1 MB Notification: Performance of matching and sorting (n=27): time 0.00143/0.2823, allocations: 0.6722 MB / 486 MB, free: 9.715 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.044e-05/0.2824, allocations: 57.83 kB / 486.1 MB, free: 9.648 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003514/0.2827, allocations: 305.7 kB / 486.4 MB, free: 9.438 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.026e-05/0.2828, allocations: 35.05 kB / 486.4 MB, free: 9.398 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001886/0.2829, allocations: 177.4 kB / 486.6 MB, free: 9.238 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.9e-05/0.283, allocations: 102.6 kB / 486.7 MB, free: 9.148 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.797e-05/0.2831, allocations: 57.91 kB / 486.7 MB, free: 9.105 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001833/0.2833, allocations: 337.7 kB / 487.1 MB, free: 8.773 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001766/0.2835, allocations: 73.33 kB / 487.1 MB, free: 8.742 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002083/0.2837, allocations: 121.8 kB / 487.3 MB, free: 8.66 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003735/0.2841, allocations: 194.7 kB / 487.4 MB, free: 8.555 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.2841, allocations: 0 / 487.4 MB, free: 8.555 MB / 382.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0006769/0.2847, allocations: 318.2 kB / 487.8 MB, free: 8.383 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.2848, allocations: 5.281 kB / 487.8 MB, free: 8.379 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.229e-06/0.2848, allocations: 4 kB / 487.8 MB, free: 8.375 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002992/0.2851, allocations: 60.81 kB / 487.8 MB, free: 8.312 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003995/0.2855, allocations: 71.89 kB / 487.9 MB, free: 8.242 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002743/0.2882, allocations: 2.779 MB / 490.7 MB, free: 5.258 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002184/0.2884, allocations: 20.41 kB / 490.7 MB, free: 5.238 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.237e-05/0.2884, allocations: 19.92 kB / 490.7 MB, free: 5.219 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 (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.0001608/0.2886, allocations: 137.8 kB / 490.8 MB, free: 5.074 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.298e-05/0.2887, allocations: 31.81 kB / 490.9 MB, free: 5.043 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000585/0.2893, allocations: 261.4 kB / 491.1 MB, free: 4.777 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.294e-06/0.2893, allocations: 3.984 kB / 491.1 MB, free: 4.773 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.2893, allocations: 4 kB / 491.1 MB, free: 4.77 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001099/0.2894, allocations: 47.73 kB / 491.2 MB, free: 4.723 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.721e-05/0.2894, allocations: 4 kB / 491.2 MB, free: 4.719 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002064/0.2896, allocations: 19.92 kB / 491.2 MB, free: 4.699 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.904e-05/0.2897, allocations: 15.91 kB / 491.2 MB, free: 4.684 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008714/0.2905, allocations: 356.8 kB / 491.6 MB, free: 4.328 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007573/0.2913, allocations: 0.5264 MB / 492.1 MB, free: 3.785 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001898/0.2915, allocations: 95.98 kB / 492.2 MB, free: 3.691 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002395/0.2917, allocations: 215.1 kB / 492.4 MB, free: 3.484 MB / 382.1 MB Notification: Performance of Backend: time 4.81e-07/0.2917, allocations: 0 / 492.4 MB, free: 3.484 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001067/0.2928, allocations: 372.4 kB / 492.8 MB, free: 3.102 MB / 382.1 MB Notification: Performance of SimCode: time 0.001717/0.2945, allocations: 1.342 MB / 494.1 MB, free: 1.711 MB / 382.1 MB Notification: Performance of Templates: time 0.009574/0.3041, allocations: 4.202 MB / 498.3 MB, free: 13.55 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical5.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical5.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical5.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical5.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical5.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical5 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical5.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.623004402965307] Failed to read output from testmodel.py, exit status != 0: 0.313038629014045 0.327784565 0.048225875 Calling exit ...