Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_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.001291/0.001291, allocations: 113.2 kB / 20.43 MB, free: 1.449 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.002385/0.002385, allocations: 214.4 kB / 23.74 MB, free: 4.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.458/1.458, allocations: 207.6 MB / 234.5 MB, free: 10.01 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo): time 0.3151/0.3151, allocations: 49.56 MB / 336.3 MB, free: 4.211 MB / 270.1 MB " [Timeout remaining time 179] Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_ThermoPower_Test_ElectricalComponents_TestElectrical2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.ElectricalComponents.TestElectrical2,fileNamePrefix="ThermoPower_ThermoPower_Test_ElectricalComponents_TestElectrical2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 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.002377/0.002377, allocations: 72.33 kB / 476.3 MB, free: 12.96 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.112/0.1144, allocations: 62.42 MB / 0.5261 GB, free: 14.34 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical2): time 0.003617/0.118, allocations: 2.207 MB / 0.5283 GB, free: 12.12 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001218/0.1192, allocations: 0.6358 MB / 0.5289 GB, free: 11.47 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001138/0.1193, allocations: 3.938 kB / 0.5289 GB, free: 11.47 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001346/0.1194, allocations: 31.66 kB / 0.5289 GB, free: 11.44 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002357/0.1197, allocations: 79.41 kB / 0.529 GB, free: 11.36 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001664/0.1198, allocations: 51.92 kB / 0.5291 GB, free: 11.31 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003422/0.1202, allocations: 242.9 kB / 0.5293 GB, free: 11.07 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001531/0.1203, allocations: 52.75 kB / 0.5293 GB, free: 11.02 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001572/0.1205, allocations: 95.53 kB / 0.5294 GB, free: 10.93 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001787/0.1207, allocations: 103.5 kB / 0.5295 GB, free: 10.82 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.154e-05/0.1207, allocations: 16 kB / 0.5295 GB, free: 10.81 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.67e-05/0.1208, allocations: 16 kB / 0.5296 GB, free: 10.79 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 4.5e-05/0.1208, allocations: 51.77 kB / 0.5296 GB, free: 10.74 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 9.961e-05/0.1209, allocations: 99.41 kB / 0.5297 GB, free: 10.64 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002867/0.1212, allocations: 203 kB / 0.5299 GB, free: 10.45 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.1212, allocations: 0 / 0.5299 GB, free: 10.45 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.1212, allocations: 0 / 0.5299 GB, free: 10.45 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.801e-06/0.1212, allocations: 0 / 0.5299 GB, free: 10.45 MB / 414.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.0008757/0.1221, allocations: 476.9 kB / 0.5303 GB, free: 9.949 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.481e-05/0.1221, allocations: 12.03 kB / 0.5304 GB, free: 9.938 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.135e-05/0.1222, allocations: 46.73 kB / 0.5304 GB, free: 9.883 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.705e-05/0.1223, allocations: 24.8 kB / 0.5304 GB, free: 9.859 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003465/0.1226, allocations: 193.2 kB / 0.5306 GB, free: 9.648 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.668e-05/0.1226, allocations: 16.31 kB / 0.5306 GB, free: 9.633 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.906e-05/0.1227, allocations: 20.36 kB / 0.5306 GB, free: 9.613 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002978/0.123, allocations: 151.5 kB / 0.5308 GB, free: 9.453 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.497e-05/0.123, allocations: 7.953 kB / 0.5308 GB, free: 9.445 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.64e-05/0.123, allocations: 7.984 kB / 0.5308 GB, free: 9.438 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.123, allocations: 4 kB / 0.5308 GB, free: 9.434 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002455/0.1232, allocations: 99.88 kB / 0.5309 GB, free: 9.336 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008819/0.1241, allocations: 0.5425 MB / 0.5314 GB, free: 8.746 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002546/0.1244, allocations: 126.5 kB / 0.5316 GB, free: 8.613 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001366/0.1245, allocations: 60.88 kB / 0.5316 GB, free: 8.551 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.905e-05/0.1245, allocations: 4 kB / 0.5316 GB, free: 8.547 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.104e-05/0.1246, allocations: 46.48 kB / 0.5317 GB, free: 8.492 MB / 414.1 MB Notification: Performance of pre-optimization done (n=16): time 1.343e-06/0.1246, allocations: 3.938 kB / 0.5317 GB, free: 8.488 MB / 414.1 MB Notification: Performance of matching and sorting (n=18): time 0.001086/0.1257, allocations: 485.5 kB / 0.5321 GB, free: 7.98 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.247e-05/0.1257, allocations: 51.41 kB / 0.5322 GB, free: 7.918 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002614/0.126, allocations: 232.9 kB / 0.5324 GB, free: 7.68 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.326e-05/0.126, allocations: 29.7 kB / 0.5324 GB, free: 7.645 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001075/0.1261, allocations: 140.5 kB / 0.5326 GB, free: 7.504 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.386e-05/0.1262, allocations: 63.44 kB / 0.5326 GB, free: 7.441 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.579e-05/0.1262, allocations: 37.7 kB / 0.5327 GB, free: 7.398 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001611/0.1264, allocations: 330.8 kB / 0.533 GB, free: 7.066 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001298/0.1265, allocations: 51.91 kB / 0.533 GB, free: 7.016 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001451/0.1267, allocations: 86.53 kB / 0.5331 GB, free: 6.922 MB / 414.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.001184/0.1278, allocations: 339.9 kB / 0.5334 GB, free: 6.582 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.1278, allocations: 0 / 0.5334 GB, free: 6.582 MB / 414.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003685/0.1282, allocations: 201.8 kB / 0.5336 GB, free: 6.379 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.1282, allocations: 4.156 kB / 0.5336 GB, free: 6.375 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.667e-06/0.1282, allocations: 7.984 kB / 0.5336 GB, free: 6.367 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.1282, allocations: 0 / 0.5336 GB, free: 6.367 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002583/0.1285, allocations: 51.97 kB / 0.5337 GB, free: 6.316 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.598e-06/0.1285, allocations: 4 kB / 0.5337 GB, free: 6.312 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001272/0.1286, allocations: 11.98 kB / 0.5337 GB, free: 6.301 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.232e-05/0.1287, allocations: 4 kB / 0.5337 GB, free: 6.297 MB / 414.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 0.0001413/0.1288, allocations: 137.7 kB / 0.5338 GB, free: 6.152 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.207e-05/0.1288, allocations: 31.8 kB / 0.5339 GB, free: 6.121 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.4e-05/0.1289, allocations: 26.11 kB / 0.5339 GB, free: 6.09 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.1289, allocations: 0 / 0.5339 GB, free: 6.09 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.1289, allocations: 4 kB / 0.5339 GB, free: 6.086 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.1289, allocations: 0 / 0.5339 GB, free: 6.086 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007654/0.1297, allocations: 0.5012 MB / 0.5344 GB, free: 5.535 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.1297, allocations: 0 / 0.5344 GB, free: 5.535 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000278/0.13, allocations: 47.97 kB / 0.5344 GB, free: 5.488 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.13, allocations: 0 / 0.5344 GB, free: 5.488 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.615e-05/0.13, allocations: 8 kB / 0.5344 GB, free: 5.48 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.13, allocations: 3.938 kB / 0.5344 GB, free: 5.477 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.13, allocations: 0 / 0.5344 GB, free: 5.477 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005244/0.1305, allocations: 339.1 kB / 0.5348 GB, free: 5.129 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.471e-05/0.1306, allocations: 31.83 kB / 0.5348 GB, free: 5.098 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.442e-05/0.1306, allocations: 8 kB / 0.5348 GB, free: 5.09 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001523/0.1308, allocations: 11.98 kB / 0.5348 GB, free: 5.078 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.455e-05/0.1308, allocations: 7.984 kB / 0.5348 GB, free: 5.07 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.997e-05/0.1308, allocations: 7.938 kB / 0.5348 GB, free: 5.062 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001712/0.131, allocations: 168.5 kB / 0.535 GB, free: 4.898 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.131, allocations: 0 / 0.535 GB, free: 4.898 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002872/0.1313, allocations: 44 kB / 0.535 GB, free: 4.855 MB / 414.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.0008414/0.1321, allocations: 0.8528 MB / 0.5359 GB, free: 3.977 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003554/0.1325, allocations: 132.5 kB / 0.536 GB, free: 3.848 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.1325, allocations: 4 kB / 0.536 GB, free: 3.844 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001406/0.1326, allocations: 67.81 kB / 0.5361 GB, free: 3.777 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004157/0.133, allocations: 41.05 kB / 0.5361 GB, free: 3.738 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003346/0.1364, allocations: 2.441 MB / 0.5385 GB, free: 1.199 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000376/0.1368, allocations: 0.7474 MB / 0.5392 GB, free: 436 kB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.656e-05/0.1369, allocations: 29.59 kB / 0.5392 GB, free: 408 kB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001339/0.137, allocations: 59.42 kB / 0.5393 GB, free: 348 kB / 414.1 MB Notification: Performance of SimCode: time 7.71e-07/0.137, allocations: 4 kB / 0.5393 GB, free: 344 kB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2283/0.3653, allocations: 4.56 MB / 0.5438 GB, free: 22.23 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.01/11.38, allocations: 5.266 kB / 0.5438 GB, free: 22.23 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical2.pipe ; mkfifo ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical2.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical2.pipe >> ../files/ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical2.sim & python3 -m fmpy simulate --output-file ThermoPower_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_ThermoPower_Test_ElectricalComponents_TestElectrical2.fmu > ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical2.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.304546179999306] Failed to read output from testmodel.py, exit status != 0: 11.48153345800165 11.493504058 11.369690469 Calling exit ...