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.001297/0.001297, allocations: 115.8 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.001495/0.001495, allocations: 214.2 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.412/1.412, allocations: 230.6 MB / 257.5 MB, free: 7.996 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.1473/0.1473, allocations: 26.81 MB / 340.7 MB, free: 8.191 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.002043/0.002043, allocations: 63.91 kB / 476.8 MB, free: 3.668 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3031/0.3051, allocations: 60.48 MB / 0.5247 GB, free: 9.52 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical5): time 0.003167/0.3083, allocations: 2.7 MB / 0.5273 GB, free: 7.625 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001262/0.3095, allocations: 0.7539 MB / 0.5281 GB, free: 7.082 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001668/0.3097, allocations: 7.438 kB / 0.5281 GB, free: 7.078 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001449/0.3099, allocations: 47.61 kB / 0.5281 GB, free: 7.047 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002731/0.3101, allocations: 123.3 kB / 0.5283 GB, free: 6.961 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001906/0.3103, allocations: 83.08 kB / 0.5283 GB, free: 6.914 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003981/0.3107, allocations: 403 kB / 0.5287 GB, free: 6.715 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001611/0.3109, allocations: 64.41 kB / 0.5288 GB, free: 6.684 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002502/0.3111, allocations: 164.6 kB / 0.5289 GB, free: 6.609 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002217/0.3113, allocations: 163.7 kB / 0.5291 GB, free: 6.527 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.493e-05/0.3114, allocations: 25.59 kB / 0.5291 GB, free: 6.527 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.994e-05/0.3115, allocations: 27.86 kB / 0.5291 GB, free: 6.527 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.062e-05/0.3115, allocations: 74.7 kB / 0.5292 GB, free: 6.477 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001281/0.3117, allocations: 171.2 kB / 0.5294 GB, free: 6.371 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003687/0.312, allocations: 321.5 kB / 0.5297 GB, free: 6.223 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.688e-06/0.312, allocations: 0 / 0.5297 GB, free: 6.223 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.312, allocations: 1.062 kB / 0.5297 GB, free: 6.223 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.243e-05/0.312, allocations: 0 / 0.5297 GB, free: 6.223 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.0009942/0.313, allocations: 0.605 MB / 0.5303 GB, free: 5.758 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.684e-05/0.3131, allocations: 9.719 kB / 0.5303 GB, free: 5.758 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.235e-05/0.3131, allocations: 55.14 kB / 0.5303 GB, free: 5.707 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001164/0.3133, allocations: 45.53 kB / 0.5304 GB, free: 5.684 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003989/0.3136, allocations: 257.3 kB / 0.5306 GB, free: 5.473 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.457e-05/0.3137, allocations: 18.66 kB / 0.5306 GB, free: 5.465 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.863e-05/0.3137, allocations: 37.42 kB / 0.5307 GB, free: 5.445 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004577/0.3142, allocations: 240.5 kB / 0.5309 GB, free: 5.324 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.576e-05/0.3142, allocations: 0.5625 kB / 0.5309 GB, free: 5.324 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.19e-05/0.3142, allocations: 7.016 kB / 0.5309 GB, free: 5.32 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.157e-05/0.3142, allocations: 5.469 kB / 0.5309 GB, free: 5.32 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004272/0.3147, allocations: 183.6 kB / 0.5311 GB, free: 5.266 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001069/0.3157, allocations: 0.8019 MB / 0.5319 GB, free: 4.68 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002979/0.316, allocations: 182.4 kB / 0.5321 GB, free: 4.598 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001832/0.3162, allocations: 102 kB / 0.5322 GB, free: 4.562 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.839e-05/0.3162, allocations: 3.5 kB / 0.5322 GB, free: 4.562 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.846e-05/0.3163, allocations: 39.59 kB / 0.5322 GB, free: 4.516 MB / 382.1 MB Notification: Performance of pre-optimization done (n=25): time 1.392e-06/0.3163, allocations: 3.938 kB / 0.5322 GB, free: 4.512 MB / 382.1 MB Notification: Performance of matching and sorting (n=27): time 0.001251/0.3175, allocations: 0.6638 MB / 0.5328 GB, free: 4.137 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.454e-05/0.3175, allocations: 58.14 kB / 0.5329 GB, free: 4.07 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002654/0.3178, allocations: 300.8 kB / 0.5332 GB, free: 3.902 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.546e-05/0.3178, allocations: 30.86 kB / 0.5332 GB, free: 3.867 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.23e-05/0.3179, allocations: 182.3 kB / 0.5334 GB, free: 3.715 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.55e-05/0.318, allocations: 106.9 kB / 0.5335 GB, free: 3.629 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.681e-05/0.318, allocations: 54.41 kB / 0.5335 GB, free: 3.594 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.668e-05/0.3181, allocations: 340.3 kB / 0.5339 GB, free: 3.27 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001592/0.3182, allocations: 79.09 kB / 0.5339 GB, free: 3.242 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001737/0.3184, allocations: 120.5 kB / 0.5341 GB, free: 3.176 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003113/0.3187, allocations: 191 kB / 0.5342 GB, free: 3.086 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.3187, allocations: 0 / 0.5342 GB, free: 3.086 MB / 382.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005754/0.3193, allocations: 325.6 kB / 0.5346 GB, free: 2.938 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.3193, allocations: 5.812 kB / 0.5346 GB, free: 2.938 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.3193, allocations: 1.719 kB / 0.5346 GB, free: 2.938 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000272/0.3196, allocations: 55.5 kB / 0.5346 GB, free: 2.918 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003719/0.32, allocations: 83.88 kB / 0.5347 GB, free: 2.906 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00173/0.3217, allocations: 2.818 MB / 0.5374 GB, free: 176 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002008/0.3219, allocations: 17.84 kB / 0.5375 GB, free: 168 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.662e-05/0.3219, allocations: 10.7 kB / 0.5375 GB, free: 164 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.0001188/0.322, allocations: 146.4 kB / 0.5376 GB, free: 24 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.178e-05/0.3221, allocations: 29.59 kB / 0.5376 GB, free: 8 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005082/0.3226, allocations: 266.2 kB / 0.5379 GB, free: 15.88 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.049e-06/0.3226, allocations: 3.922 kB / 0.5379 GB, free: 15.88 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.493e-06/0.3226, allocations: 192 / 0.5379 GB, free: 15.88 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.226e-06/0.3226, allocations: 11.02 kB / 0.5379 GB, free: 15.87 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009776/0.3236, allocations: 0.636 MB / 0.5385 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.3236, allocations: 0 / 0.5385 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002964/0.3239, allocations: 61.91 kB / 0.5386 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.3239, allocations: 2.328 kB / 0.5386 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.126e-05/0.3239, allocations: 10.91 kB / 0.5386 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.3239, allocations: 0.8906 kB / 0.5386 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.3239, allocations: 5.188 kB / 0.5386 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006656/0.3246, allocations: 445.7 kB / 0.539 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001055/0.3247, allocations: 45.97 kB / 0.5391 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.908e-05/0.3247, allocations: 6.984 kB / 0.5391 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001935/0.3249, allocations: 16.86 kB / 0.5391 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.394e-05/0.325, allocations: 19.5 kB / 0.5391 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.279e-05/0.325, allocations: 5.125 kB / 0.5391 GB, free: 15.16 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002394/0.3252, allocations: 216 kB / 0.5393 GB, free: 15.04 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3252, allocations: 0 / 0.5393 GB, free: 15.04 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003522/0.3256, allocations: 78.47 kB / 0.5394 GB, free: 15.03 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.0009676/0.3265, allocations: 0.9802 MB / 0.5404 GB, free: 14.24 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008449/0.3274, allocations: 359.5 kB / 0.5407 GB, free: 14.05 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3274, allocations: 3.938 kB / 0.5407 GB, free: 14.05 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002032/0.3276, allocations: 105.4 kB / 0.5408 GB, free: 14.02 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004264/0.328, allocations: 54.81 kB / 0.5409 GB, free: 14 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004616/0.3326, allocations: 3.379 MB / 0.5442 GB, free: 11.8 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000422/0.3331, allocations: 0.7919 MB / 0.5449 GB, free: 11.09 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001463/0.3332, allocations: 37.3 kB / 0.545 GB, free: 11.08 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001871/0.3334, allocations: 111.9 kB / 0.5451 GB, free: 11 MB / 398.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3334, allocations: 0 / 0.5451 GB, free: 11 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0391/0.3725, allocations: 7.295 MB / 0.5522 GB, free: 7.504 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.61/11.99, allocations: 7.703 kB / 0.5522 GB, free: 7.5 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 & python3 -m fmpy simulate --output-file ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical5_res.csv --start-time 0 --stop-time 15 --timeout 50 --relative-tolerance 1e-07 --interface-type ModelExchange --solver CVode --output-interval 0.006 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.692840517032892] Failed to read output from testmodel.py, exit status != 0: 12.095599310938269 12.12455507 11.807402543 Calling exit ...