Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical2.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.001483/0.001483, 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.001857/0.001857, allocations: 217.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.49/1.49, allocations: 230.6 MB / 257.5 MB, free: 8.031 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.1679/0.1679, allocations: 26.82 MB / 340.7 MB, free: 8.23 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.TestElectrical2,fileNamePrefix="ThermoPower_4_0_0-dev_ThermoPower_Test_ElectricalComponents_TestElectrical2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.ElectricalComponents.TestElectrical2,fileNamePrefix="ThermoPower_4_0_0-dev_ThermoPower_Test_ElectricalComponents_TestElectrical2",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.00204/0.00204, allocations: 67.83 kB / 476.8 MB, free: 3.715 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3587/0.3608, allocations: 60.48 MB / 0.5247 GB, free: 9.59 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical2): time 0.003358/0.3641, allocations: 2.219 MB / 0.5269 GB, free: 8.043 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001064/0.3652, allocations: 0.6324 MB / 0.5275 GB, free: 7.594 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001153/0.3653, allocations: 2.062 kB / 0.5275 GB, free: 7.594 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001459/0.3655, allocations: 32.8 kB / 0.5275 GB, free: 7.57 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002376/0.3657, allocations: 77.38 kB / 0.5276 GB, free: 7.516 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001437/0.3658, allocations: 56.91 kB / 0.5277 GB, free: 7.484 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002631/0.3661, allocations: 251.4 kB / 0.5279 GB, free: 7.359 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001323/0.3662, allocations: 44.31 kB / 0.5279 GB, free: 7.336 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001994/0.3664, allocations: 99.67 kB / 0.528 GB, free: 7.293 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001676/0.3666, allocations: 110.2 kB / 0.5281 GB, free: 7.234 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.09e-05/0.3666, allocations: 14.44 kB / 0.5282 GB, free: 7.234 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.14e-05/0.3667, allocations: 17.22 kB / 0.5282 GB, free: 7.234 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.541e-05/0.3667, allocations: 40.98 kB / 0.5282 GB, free: 7.207 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.964e-05/0.3668, allocations: 107.4 kB / 0.5283 GB, free: 7.141 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002559/0.3671, allocations: 203.1 kB / 0.5285 GB, free: 7.047 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.3671, allocations: 0 / 0.5285 GB, free: 7.047 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.3671, allocations: 0 / 0.5285 GB, free: 7.047 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.871e-06/0.3671, allocations: 0 / 0.5285 GB, free: 7.047 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: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.0006949/0.3678, allocations: 477.2 kB / 0.529 GB, free: 6.664 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.149e-05/0.3678, allocations: 10.31 kB / 0.529 GB, free: 6.664 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.425e-05/0.3679, allocations: 46.45 kB / 0.529 GB, free: 6.617 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.919e-05/0.368, allocations: 29.83 kB / 0.529 GB, free: 6.602 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002729/0.3683, allocations: 197.5 kB / 0.5292 GB, free: 6.43 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.479e-05/0.3683, allocations: 17.33 kB / 0.5292 GB, free: 6.418 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.617e-05/0.3683, allocations: 22.92 kB / 0.5293 GB, free: 6.406 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002683/0.3686, allocations: 152 kB / 0.5294 GB, free: 6.32 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/0.3686, allocations: 1.062 kB / 0.5294 GB, free: 6.32 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.561e-05/0.3686, allocations: 9.812 kB / 0.5294 GB, free: 6.312 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.3686, allocations: 3.469 kB / 0.5294 GB, free: 6.312 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002377/0.3688, allocations: 98.22 kB / 0.5295 GB, free: 6.289 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000733/0.3696, allocations: 0.5447 MB / 0.5301 GB, free: 5.867 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000222/0.3698, allocations: 121 kB / 0.5302 GB, free: 5.809 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000144/0.3699, allocations: 70.11 kB / 0.5302 GB, free: 5.777 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.942e-05/0.37, allocations: 6.25 kB / 0.5302 GB, free: 5.773 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.096e-05/0.37, allocations: 36.36 kB / 0.5303 GB, free: 5.73 MB / 382.1 MB Notification: Performance of pre-optimization done (n=16): time 1.273e-06/0.37, allocations: 0 / 0.5303 GB, free: 5.73 MB / 382.1 MB Notification: Performance of matching and sorting (n=18): time 0.001074/0.3711, allocations: 497.8 kB / 0.5307 GB, free: 5.43 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.071e-05/0.3711, allocations: 54.05 kB / 0.5308 GB, free: 5.367 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002744/0.3714, allocations: 224.1 kB / 0.531 GB, free: 5.227 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.53e-05/0.3714, allocations: 30.45 kB / 0.531 GB, free: 5.191 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.565e-05/0.3715, allocations: 138.2 kB / 0.5312 GB, free: 5.07 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.696e-05/0.3715, allocations: 68.55 kB / 0.5312 GB, free: 5.016 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.762e-05/0.3716, allocations: 38.19 kB / 0.5313 GB, free: 4.988 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.707e-05/0.3716, allocations: 334.5 kB / 0.5316 GB, free: 4.664 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001516/0.3718, allocations: 54.73 kB / 0.5316 GB, free: 4.645 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001478/0.3719, allocations: 82.17 kB / 0.5317 GB, free: 4.598 MB / 382.1 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: grid.f = grid.fnom (0.15915494309189535 * generator.omega_e_nom = grid.fnom) Notification: Performance of analyzeInitialSystem (initialization): time 0.001058/0.373, allocations: 345.2 kB / 0.5321 GB, free: 4.477 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.373, allocations: 0 / 0.5321 GB, free: 4.477 MB / 382.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003113/0.3733, allocations: 194.4 kB / 0.5322 GB, free: 4.383 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.3733, allocations: 5.5 kB / 0.5322 GB, free: 4.383 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.3733, allocations: 1.375 kB / 0.5322 GB, free: 4.383 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/0.3733, allocations: 1.984 kB / 0.5322 GB, free: 4.383 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002393/0.3736, allocations: 57.3 kB / 0.5323 GB, free: 4.379 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/0.3736, allocations: 3.016 kB / 0.5323 GB, free: 4.379 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000116/0.3737, allocations: 14.23 kB / 0.5323 GB, free: 4.371 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.161e-05/0.3737, allocations: 5.438 kB / 0.5323 GB, free: 4.371 MB / 382.1 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: grid.f = grid.fnom. 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 (23): * Single equations (assignments): 23 * 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 9.566e-05/0.3738, allocations: 131.7 kB / 0.5325 GB, free: 4.242 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.319e-05/0.3739, allocations: 33.59 kB / 0.5325 GB, free: 4.219 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.667e-05/0.3739, allocations: 25.89 kB / 0.5325 GB, free: 4.195 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.374, allocations: 2.375 kB / 0.5325 GB, free: 4.195 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/0.374, allocations: 0 / 0.5325 GB, free: 4.195 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.456e-06/0.374, allocations: 2.562 kB / 0.5325 GB, free: 4.195 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006707/0.3746, allocations: 0.4929 MB / 0.533 GB, free: 3.832 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.3746, allocations: 0.7031 kB / 0.533 GB, free: 3.832 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002475/0.3749, allocations: 50.66 kB / 0.533 GB, free: 3.828 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.3749, allocations: 2.938 kB / 0.533 GB, free: 3.828 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.314e-05/0.3749, allocations: 5.438 kB / 0.5331 GB, free: 3.824 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.3749, allocations: 1.312 kB / 0.5331 GB, free: 3.824 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.3749, allocations: 4 kB / 0.5331 GB, free: 3.82 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004208/0.3753, allocations: 342.6 kB / 0.5334 GB, free: 3.605 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.746e-05/0.3754, allocations: 28.48 kB / 0.5334 GB, free: 3.59 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.093e-05/0.3754, allocations: 5.062 kB / 0.5334 GB, free: 3.586 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001538/0.3756, allocations: 10.89 kB / 0.5334 GB, free: 3.582 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.596e-05/0.3756, allocations: 9.5 kB / 0.5334 GB, free: 3.582 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.928e-06/0.3756, allocations: 12.22 kB / 0.5334 GB, free: 3.574 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001278/0.3758, allocations: 171.8 kB / 0.5336 GB, free: 3.461 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3758, allocations: 1 kB / 0.5336 GB, free: 3.461 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002665/0.376, allocations: 38.5 kB / 0.5336 GB, free: 3.457 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 (18): * Single equations (assignments): 18 * 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.0005456/0.3766, allocations: 0.8594 MB / 0.5345 GB, free: 2.719 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003005/0.3769, allocations: 133 kB / 0.5346 GB, free: 2.684 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.3769, allocations: 3.938 kB / 0.5346 GB, free: 2.68 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001294/0.377, allocations: 73.61 kB / 0.5347 GB, free: 2.656 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003613/0.3774, allocations: 37.39 kB / 0.5347 GB, free: 2.641 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002552/0.3799, allocations: 2.434 MB / 0.5371 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001592/0.3801, allocations: 0.7408 MB / 0.5378 GB, free: 192 kB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.286e-05/0.3802, allocations: 25.41 kB / 0.5378 GB, free: 180 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.774e-05/0.3803, allocations: 61.08 kB / 0.5379 GB, free: 136 kB / 382.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3803, allocations: 1.125 kB / 0.5379 GB, free: 136 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03355/0.4138, allocations: 4.595 MB / 0.5424 GB, free: 14.57 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.01/11.42, allocations: 4.031 kB / 0.5424 GB, free: 14.57 MB / 398.1 MB " [Timeout remaining time 648] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical2.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical2.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical2.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical2.sim & python3 -m fmpy simulate --output-file ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical2_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.005 ThermoPower_4_0_0-dev_ThermoPower_Test_ElectricalComponents_TestElectrical2.fmu > ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.347253771033138] Failed to read output from testmodel.py, exit status != 0: 11.528267085901462 11.543735144 11.173476581 Calling exit ...