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.001283/0.001283, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.001482/0.001482, allocations: 215.3 kB / 23.75 MB, free: 4.668 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.39/1.39, allocations: 230.6 MB / 257.5 MB, free: 8.016 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.1435/0.1435, allocations: 26.81 MB / 340.7 MB, free: 8.215 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: "" <> buildModelFMU(ThermoPower.Test.ElectricalComponents.TestElectrical5,fileNamePrefix="ThermoPower_4_0_0-dev_ThermoPower_Test_ElectricalComponents_TestElectrical5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.ElectricalComponents.TestElectrical5,fileNamePrefix="ThermoPower_4_0_0-dev_ThermoPower_Test_ElectricalComponents_TestElectrical5",fmuType="me",version="2.0",platforms={"static"}) [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.001976/0.001976, allocations: 67.89 kB / 476.8 MB, free: 3.703 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.325/0.327, allocations: 60.48 MB / 0.5247 GB, free: 9.582 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical5): time 0.003408/0.3304, allocations: 2.689 MB / 0.5273 GB, free: 7.688 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001217/0.3316, allocations: 0.7523 MB / 0.5281 GB, free: 7.148 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001584/0.3318, allocations: 8.562 kB / 0.5281 GB, free: 7.145 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001695/0.3319, allocations: 45.77 kB / 0.5281 GB, free: 7.113 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002903/0.3322, allocations: 123.3 kB / 0.5282 GB, free: 7.027 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002025/0.3324, allocations: 80.72 kB / 0.5283 GB, free: 6.984 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003878/0.3328, allocations: 403.1 kB / 0.5287 GB, free: 6.785 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001641/0.333, allocations: 65.69 kB / 0.5288 GB, free: 6.754 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002298/0.3332, allocations: 168 kB / 0.5289 GB, free: 6.676 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002262/0.3334, allocations: 163.6 kB / 0.5291 GB, free: 6.594 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.445e-05/0.3335, allocations: 25.62 kB / 0.5291 GB, free: 6.594 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.358e-05/0.3336, allocations: 27.22 kB / 0.5291 GB, free: 6.594 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.439e-05/0.3336, allocations: 68.45 kB / 0.5292 GB, free: 6.547 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001308/0.3338, allocations: 172.4 kB / 0.5294 GB, free: 6.441 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003816/0.3341, allocations: 323.2 kB / 0.5297 GB, free: 6.293 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.339e-06/0.3341, allocations: 0 / 0.5297 GB, free: 6.293 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.3342, allocations: 4 kB / 0.5297 GB, free: 6.289 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.925e-06/0.3342, allocations: 1.25 kB / 0.5297 GB, free: 6.289 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.0009719/0.3351, allocations: 0.6067 MB / 0.5303 GB, free: 5.828 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.82e-05/0.3352, allocations: 10.2 kB / 0.5303 GB, free: 5.828 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.521e-05/0.3352, allocations: 55.39 kB / 0.5303 GB, free: 5.777 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001168/0.3354, allocations: 49.11 kB / 0.5304 GB, free: 5.75 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004251/0.3358, allocations: 253.5 kB / 0.5306 GB, free: 5.543 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.48e-05/0.3358, allocations: 19.11 kB / 0.5306 GB, free: 5.535 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.41e-05/0.3359, allocations: 32.67 kB / 0.5307 GB, free: 5.52 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000477/0.3363, allocations: 252.8 kB / 0.5309 GB, free: 5.387 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.788e-05/0.3364, allocations: 1.031 kB / 0.5309 GB, free: 5.387 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.117e-05/0.3364, allocations: 10.06 kB / 0.5309 GB, free: 5.379 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.361e-05/0.3364, allocations: 5.188 kB / 0.5309 GB, free: 5.379 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000428/0.3368, allocations: 175.8 kB / 0.5311 GB, free: 5.332 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001089/0.3379, allocations: 0.7982 MB / 0.5319 GB, free: 4.75 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003064/0.3382, allocations: 180.7 kB / 0.532 GB, free: 4.668 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001794/0.3384, allocations: 105.1 kB / 0.5321 GB, free: 4.625 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.834e-05/0.3384, allocations: 3.328 kB / 0.5322 GB, free: 4.625 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.395e-05/0.3384, allocations: 32.56 kB / 0.5322 GB, free: 4.586 MB / 382.1 MB Notification: Performance of pre-optimization done (n=25): time 1.223e-06/0.3384, allocations: 0 / 0.5322 GB, free: 4.586 MB / 382.1 MB Notification: Performance of matching and sorting (n=27): time 0.001244/0.3397, allocations: 0.6672 MB / 0.5328 GB, free: 4.207 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.351e-05/0.3397, allocations: 58.73 kB / 0.5329 GB, free: 4.141 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002879/0.34, allocations: 297.3 kB / 0.5332 GB, free: 3.977 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.727e-05/0.34, allocations: 31.08 kB / 0.5332 GB, free: 3.941 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.577e-05/0.3401, allocations: 185.6 kB / 0.5334 GB, free: 3.785 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.253e-05/0.3402, allocations: 110.9 kB / 0.5335 GB, free: 3.695 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.957e-05/0.3402, allocations: 53.47 kB / 0.5335 GB, free: 3.66 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.941e-05/0.3403, allocations: 340 kB / 0.5339 GB, free: 3.336 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001559/0.3405, allocations: 76.44 kB / 0.5339 GB, free: 3.312 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001696/0.3406, allocations: 116 kB / 0.534 GB, free: 3.25 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003225/0.341, allocations: 194.8 kB / 0.5342 GB, free: 3.156 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.341, allocations: 4.641 kB / 0.5342 GB, free: 3.152 MB / 382.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005895/0.3416, allocations: 321.2 kB / 0.5345 GB, free: 3.008 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.3416, allocations: 8.688 kB / 0.5345 GB, free: 3.008 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.3416, allocations: 2.344 kB / 0.5346 GB, free: 3.008 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002767/0.3419, allocations: 55.27 kB / 0.5346 GB, free: 2.988 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003529/0.3422, allocations: 82.77 kB / 0.5347 GB, free: 2.977 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001697/0.3439, allocations: 2.828 MB / 0.5374 GB, free: 240 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001949/0.3441, allocations: 16.92 kB / 0.5375 GB, free: 232 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.686e-05/0.3441, allocations: 7.422 kB / 0.5375 GB, free: 232 kB / 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.0001237/0.3442, allocations: 146.7 kB / 0.5376 GB, free: 88 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.271e-05/0.3443, allocations: 30.44 kB / 0.5376 GB, free: 72 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004858/0.3448, allocations: 259.5 kB / 0.5379 GB, free: 15.95 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/0.3448, allocations: 2.156 kB / 0.5379 GB, free: 15.95 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-06/0.3448, allocations: 2.125 kB / 0.5379 GB, free: 15.95 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.165e-05/0.3448, allocations: 9.203 kB / 0.5379 GB, free: 15.94 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001016/0.3458, allocations: 0.6359 MB / 0.5385 GB, free: 15.53 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.554e-06/0.3458, allocations: 1.375 kB / 0.5385 GB, free: 15.53 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003057/0.3461, allocations: 65.84 kB / 0.5386 GB, free: 15.53 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.3461, allocations: 1.844 kB / 0.5386 GB, free: 15.53 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.213e-05/0.3461, allocations: 9.125 kB / 0.5386 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.307e-06/0.3461, allocations: 6.062 kB / 0.5386 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.3461, allocations: 1.219 kB / 0.5386 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006717/0.3468, allocations: 449.8 kB / 0.539 GB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001117/0.3469, allocations: 42.44 kB / 0.5391 GB, free: 15.24 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.158e-05/0.347, allocations: 11.2 kB / 0.5391 GB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001831/0.3472, allocations: 11.23 kB / 0.5391 GB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.991e-05/0.3472, allocations: 15.95 kB / 0.5391 GB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.522e-05/0.3472, allocations: 9.578 kB / 0.5391 GB, free: 15.23 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002292/0.3475, allocations: 219.4 kB / 0.5393 GB, free: 15.11 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3475, allocations: 0 / 0.5393 GB, free: 15.11 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003713/0.3478, allocations: 70.61 kB / 0.5394 GB, free: 15.1 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (gen_a.phi,gen_a.omega_m,gen_a.omega_e_filt,gen_b.phi,gen_b.omega_m,gen_b.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 (28): * Single equations (assignments): 28 * 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 0.0009937/0.3488, allocations: 0.9812 MB / 0.5403 GB, free: 14.31 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008839/0.3497, allocations: 354.8 kB / 0.5407 GB, free: 14.13 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.3497, allocations: 4.125 kB / 0.5407 GB, free: 14.12 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001931/0.3499, allocations: 109.2 kB / 0.5408 GB, free: 14.09 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004588/0.3504, allocations: 60.75 kB / 0.5409 GB, free: 14.06 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004829/0.3552, allocations: 3.375 MB / 0.5441 GB, free: 11.87 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004779/0.3557, allocations: 0.7971 MB / 0.5449 GB, free: 11.16 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001574/0.3558, allocations: 32.38 kB / 0.545 GB, free: 11.15 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001888/0.356, allocations: 120.4 kB / 0.5451 GB, free: 11.06 MB / 398.1 MB Notification: Performance of SimCode: time 9.72e-07/0.356, allocations: 4 kB / 0.5451 GB, free: 11.05 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03833/0.3944, allocations: 7.284 MB / 0.5522 GB, free: 7.57 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.29/11.68, allocations: 15.34 kB / 0.5522 GB, free: 7.562 MB / 398.1 MB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoPower_4_0_0-dev_ThermoPower_Test_ElectricalComponents_TestElectrical5_fmu --startTime=0 --stopTime=15 --stepSize=0.006 --timeout=50 --tolerance=1e-07 ThermoPower_4_0_0-dev_ThermoPower_Test_ElectricalComponents_TestElectrical5.fmu > ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical5.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.19875699095428] Failed to read output from testmodel.py, exit status != 0: 11.790938913007267 11.815753243 11.47696822 Calling exit ...