Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_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.001339/0.001339, 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.001476/0.001476, allocations: 217 kB / 23.75 MB, free: 4.668 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.459/1.459, allocations: 207.6 MB / 234.5 MB, free: 9.996 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.3153/0.3153, allocations: 49.57 MB / 336.3 MB, free: 4.102 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.TestElectrical5,fileNamePrefix="ThermoPower_ThermoPower_Test_ElectricalComponents_TestElectrical5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.ElectricalComponents.TestElectrical5,fileNamePrefix="ThermoPower_ThermoPower_Test_ElectricalComponents_TestElectrical5",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.002353/0.002353, allocations: 67.91 kB / 476.3 MB, free: 12.94 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.12/0.1223, allocations: 62.43 MB / 0.5261 GB, free: 14.32 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical5): time 0.004233/0.1265, allocations: 2.659 MB / 0.5287 GB, free: 11.64 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001687/0.1282, allocations: 0.7605 MB / 0.5295 GB, free: 10.87 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001966/0.1284, allocations: 7.938 kB / 0.5295 GB, free: 10.86 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001797/0.1286, allocations: 51.45 kB / 0.5295 GB, free: 10.81 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00034/0.1289, allocations: 123 kB / 0.5296 GB, free: 10.69 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002336/0.1292, allocations: 83.81 kB / 0.5297 GB, free: 10.61 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005006/0.1297, allocations: 402.2 kB / 0.5301 GB, free: 10.21 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000185/0.1299, allocations: 73.84 kB / 0.5302 GB, free: 10.14 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002386/0.1301, allocations: 163.3 kB / 0.5303 GB, free: 9.98 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002547/0.1304, allocations: 159.2 kB / 0.5305 GB, free: 9.824 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.554e-05/0.1304, allocations: 27.94 kB / 0.5305 GB, free: 9.797 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.661e-05/0.1305, allocations: 35.94 kB / 0.5305 GB, free: 9.762 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.328e-05/0.1306, allocations: 63.75 kB / 0.5306 GB, free: 9.699 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001629/0.1307, allocations: 167 kB / 0.5308 GB, free: 9.535 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004174/0.1311, allocations: 330.4 kB / 0.5311 GB, free: 9.211 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.1311, allocations: 0 / 0.5311 GB, free: 9.211 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1311, allocations: 3.938 kB / 0.5311 GB, free: 9.207 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.724e-06/0.1311, allocations: 0 / 0.5311 GB, free: 9.207 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.001136/0.1323, allocations: 0.5982 MB / 0.5317 GB, free: 8.578 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.947e-05/0.1323, allocations: 12.03 kB / 0.5317 GB, free: 8.566 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.095e-05/0.1324, allocations: 54.73 kB / 0.5317 GB, free: 8.504 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000133/0.1325, allocations: 40.7 kB / 0.5318 GB, free: 8.465 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005269/0.1331, allocations: 258.4 kB / 0.532 GB, free: 8.184 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.286e-05/0.1331, allocations: 20.81 kB / 0.532 GB, free: 8.164 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.119e-05/0.1332, allocations: 28.33 kB / 0.5321 GB, free: 8.137 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000478/0.1336, allocations: 246.8 kB / 0.5323 GB, free: 7.879 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.971e-05/0.1337, allocations: 4 kB / 0.5323 GB, free: 7.875 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.077e-05/0.1337, allocations: 8 kB / 0.5323 GB, free: 7.867 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.085e-05/0.1337, allocations: 4 kB / 0.5323 GB, free: 7.863 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004153/0.1341, allocations: 185.5 kB / 0.5325 GB, free: 7.68 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001312/0.1354, allocations: 0.7946 MB / 0.5333 GB, free: 6.836 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003624/0.1358, allocations: 182.5 kB / 0.5334 GB, free: 6.648 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002097/0.136, allocations: 100.8 kB / 0.5335 GB, free: 6.547 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.513e-05/0.136, allocations: 4 kB / 0.5335 GB, free: 6.543 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.307e-05/0.1361, allocations: 38.55 kB / 0.5336 GB, free: 6.496 MB / 414.1 MB Notification: Performance of pre-optimization done (n=25): time 1.523e-06/0.1361, allocations: 0 / 0.5336 GB, free: 6.496 MB / 414.1 MB Notification: Performance of matching and sorting (n=27): time 0.001537/0.1376, allocations: 0.6631 MB / 0.5342 GB, free: 5.805 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.126e-05/0.1376, allocations: 55.41 kB / 0.5343 GB, free: 5.738 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003372/0.138, allocations: 300.5 kB / 0.5346 GB, free: 5.438 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.928e-05/0.138, allocations: 29.7 kB / 0.5346 GB, free: 5.402 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001402/0.1381, allocations: 184.7 kB / 0.5348 GB, free: 5.215 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.465e-05/0.1382, allocations: 99.12 kB / 0.5349 GB, free: 5.117 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.465e-05/0.1383, allocations: 57.7 kB / 0.5349 GB, free: 5.055 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001589/0.1385, allocations: 342.8 kB / 0.5352 GB, free: 4.711 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001803/0.1386, allocations: 75.95 kB / 0.5353 GB, free: 4.637 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001952/0.1388, allocations: 106.6 kB / 0.5354 GB, free: 4.523 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003741/0.1392, allocations: 200.1 kB / 0.5356 GB, free: 4.32 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.1392, allocations: 0 / 0.5356 GB, free: 4.32 MB / 414.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0007045/0.1399, allocations: 319.1 kB / 0.5359 GB, free: 4 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.1399, allocations: 4 kB / 0.5359 GB, free: 3.996 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.1399, allocations: 0 / 0.5359 GB, free: 3.996 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003167/0.1403, allocations: 56.81 kB / 0.536 GB, free: 3.938 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003872/0.1407, allocations: 83.81 kB / 0.536 GB, free: 3.855 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002777/0.1434, allocations: 2.833 MB / 0.5388 GB, free: 0.793 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002362/0.1437, allocations: 19.92 kB / 0.5388 GB, free: 0.7734 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.81e-05/0.1437, allocations: 12 kB / 0.5388 GB, free: 0.7617 MB / 414.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.0001892/0.1439, allocations: 141.8 kB / 0.539 GB, free: 0.6133 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.364e-05/0.1439, allocations: 31.81 kB / 0.539 GB, free: 0.582 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005112/0.1444, allocations: 269.6 kB / 0.5393 GB, free: 320 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/0.1445, allocations: 4 kB / 0.5393 GB, free: 316 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.333e-06/0.1445, allocations: 0 / 0.5393 GB, free: 316 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.055e-06/0.1445, allocations: 7.922 kB / 0.5393 GB, free: 308 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2227/0.3672, allocations: 0.6217 MB / 0.5399 GB, free: 22.55 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.578e-06/0.3672, allocations: 3.5 kB / 0.5399 GB, free: 22.55 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003446/0.3675, allocations: 67.45 kB / 0.54 GB, free: 22.55 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.504e-06/0.3675, allocations: 1.969 kB / 0.54 GB, free: 22.55 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.158e-05/0.3676, allocations: 12.83 kB / 0.54 GB, free: 22.55 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.243e-06/0.3676, allocations: 1 kB / 0.54 GB, free: 22.55 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.277e-06/0.3676, allocations: 0.7031 kB / 0.54 GB, free: 22.55 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007776/0.3683, allocations: 443 kB / 0.5404 GB, free: 22.42 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001567/0.3685, allocations: 42.08 kB / 0.5404 GB, free: 22.42 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.221e-05/0.3685, allocations: 10 kB / 0.5404 GB, free: 22.42 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002202/0.3688, allocations: 17.09 kB / 0.5405 GB, free: 22.42 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.808e-05/0.3688, allocations: 15.39 kB / 0.5405 GB, free: 22.42 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.777e-05/0.3689, allocations: 12.41 kB / 0.5405 GB, free: 22.42 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002689/0.3691, allocations: 219.2 kB / 0.5407 GB, free: 22.34 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3691, allocations: 1.188 kB / 0.5407 GB, free: 22.34 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004277/0.3696, allocations: 72.34 kB / 0.5408 GB, free: 22.34 MB / 414.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.0009208/0.3705, allocations: 0.9701 MB / 0.5417 GB, free: 21.68 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009694/0.3714, allocations: 364.9 kB / 0.5421 GB, free: 21.56 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.3714, allocations: 0 / 0.5421 GB, free: 21.56 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002207/0.3717, allocations: 105.2 kB / 0.5422 GB, free: 21.55 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004756/0.3721, allocations: 58.44 kB / 0.5422 GB, free: 21.55 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004725/0.3769, allocations: 3.383 MB / 0.5455 GB, free: 19.75 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003677/0.3772, allocations: 0.7881 MB / 0.5463 GB, free: 19.05 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001879/0.3774, allocations: 34.52 kB / 0.5463 GB, free: 19.04 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001812/0.3776, allocations: 115.9 kB / 0.5464 GB, free: 18.95 MB / 414.1 MB Notification: Performance of SimCode: time 1.442e-06/0.3776, allocations: 0 / 0.5464 GB, free: 18.95 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04281/0.4204, allocations: 7.304 MB / 0.5536 GB, free: 17.92 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.56/11.98, allocations: 1.969 kB / 0.5536 GB, free: 17.92 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5.pipe ; mkfifo ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5.pipe >> ../files/ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5.sim & python3 -m fmpy simulate --output-file ThermoPower_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_ThermoPower_Test_ElectricalComponents_TestElectrical5.fmu > ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.02883071099859] Failed to read output from testmodel.py, exit status != 0: 12.094978239998454 12.114235048 11.980018379 Calling exit ...