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.001284/0.001284, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001408/0.001408, allocations: 213.6 kB / 23.73 MB, free: 4.156 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.393/1.393, allocations: 207.7 MB / 234.6 MB, free: 9.805 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.2936/0.2936, allocations: 49.6 MB / 336.4 MB, free: 3.891 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.002257/0.002257, allocations: 76.5 kB / 476.3 MB, free: 12.77 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1239/0.1262, allocations: 62.42 MB / 0.5261 GB, free: 14.16 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical5): time 0.004102/0.1303, allocations: 2.46 MB / 0.5285 GB, free: 11.68 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001366/0.1316, allocations: 0.7177 MB / 0.5292 GB, free: 10.95 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001425/0.1318, allocations: 7.938 kB / 0.5293 GB, free: 10.95 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000164/0.1319, allocations: 43.52 kB / 0.5293 GB, free: 10.9 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003142/0.1322, allocations: 131 kB / 0.5294 GB, free: 10.77 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002127/0.1325, allocations: 79.91 kB / 0.5295 GB, free: 10.7 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004618/0.1329, allocations: 410.1 kB / 0.5299 GB, free: 10.29 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001681/0.1331, allocations: 61.88 kB / 0.5299 GB, free: 10.23 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002225/0.1333, allocations: 167.3 kB / 0.5301 GB, free: 10.07 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002258/0.1335, allocations: 143.2 kB / 0.5302 GB, free: 9.93 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.842e-05/0.1336, allocations: 24 kB / 0.5303 GB, free: 9.906 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.534e-05/0.1337, allocations: 28 kB / 0.5303 GB, free: 9.879 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.554e-05/0.1338, allocations: 67.64 kB / 0.5304 GB, free: 9.812 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001396/0.1339, allocations: 143.2 kB / 0.5305 GB, free: 9.672 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000402/0.1343, allocations: 322.5 kB / 0.5308 GB, free: 9.355 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.88e-06/0.1343, allocations: 0 / 0.5308 GB, free: 9.355 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.1343, allocations: 0 / 0.5308 GB, free: 9.355 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.247e-06/0.1343, allocations: 7.938 kB / 0.5308 GB, free: 9.348 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.001108/0.1354, allocations: 0.5904 MB / 0.5314 GB, free: 8.727 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.1355, allocations: 12.03 kB / 0.5314 GB, free: 8.715 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.19e-05/0.1355, allocations: 62.66 kB / 0.5315 GB, free: 8.645 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001135/0.1356, allocations: 44.7 kB / 0.5315 GB, free: 8.602 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000506/0.1362, allocations: 266.3 kB / 0.5317 GB, free: 8.312 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.595e-05/0.1362, allocations: 16.81 kB / 0.5318 GB, free: 8.297 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.112e-05/0.1362, allocations: 28.33 kB / 0.5318 GB, free: 8.27 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004467/0.1367, allocations: 246.8 kB / 0.532 GB, free: 8.012 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.607e-05/0.1367, allocations: 0 / 0.532 GB, free: 8.012 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.08e-05/0.1367, allocations: 8 kB / 0.532 GB, free: 8.004 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.283e-06/0.1367, allocations: 11.94 kB / 0.532 GB, free: 7.992 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003865/0.1371, allocations: 173.6 kB / 0.5322 GB, free: 7.82 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001227/0.1383, allocations: 0.7478 MB / 0.5329 GB, free: 7.023 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003511/0.1387, allocations: 178.6 kB / 0.5331 GB, free: 6.84 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002023/0.1389, allocations: 100.8 kB / 0.5332 GB, free: 6.738 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.224e-05/0.1389, allocations: 3.938 kB / 0.5332 GB, free: 6.734 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.31e-05/0.1389, allocations: 34.56 kB / 0.5332 GB, free: 6.691 MB / 414.1 MB Notification: Performance of pre-optimization done (n=25): time 1.453e-06/0.1389, allocations: 0 / 0.5332 GB, free: 6.691 MB / 414.1 MB Notification: Performance of matching and sorting (n=27): time 0.001387/0.1403, allocations: 0.667 MB / 0.5339 GB, free: 5.996 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.512e-05/0.1404, allocations: 51.41 kB / 0.5339 GB, free: 5.934 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003316/0.1407, allocations: 304.5 kB / 0.5342 GB, free: 5.629 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.431e-05/0.1407, allocations: 29.7 kB / 0.5343 GB, free: 5.594 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001464/0.1409, allocations: 180.8 kB / 0.5344 GB, free: 5.41 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.362e-05/0.141, allocations: 107.1 kB / 0.5345 GB, free: 5.305 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.51e-05/0.1411, allocations: 57.69 kB / 0.5346 GB, free: 5.242 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001752/0.1412, allocations: 342.8 kB / 0.5349 GB, free: 4.898 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001713/0.1414, allocations: 71.95 kB / 0.535 GB, free: 4.828 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002007/0.1416, allocations: 114.7 kB / 0.5351 GB, free: 4.707 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000366/0.142, allocations: 192.1 kB / 0.5353 GB, free: 4.512 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.142, allocations: 4 kB / 0.5353 GB, free: 4.508 MB / 414.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0006388/0.1426, allocations: 319.1 kB / 0.5356 GB, free: 4.188 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.1426, allocations: 4 kB / 0.5356 GB, free: 4.184 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.1426, allocations: 0 / 0.5356 GB, free: 4.184 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002869/0.1429, allocations: 56.88 kB / 0.5356 GB, free: 4.125 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003716/0.1433, allocations: 75.95 kB / 0.5357 GB, free: 4.051 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002619/0.1459, allocations: 2.821 MB / 0.5385 GB, free: 1 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001856/0.1461, allocations: 19.95 kB / 0.5385 GB, free: 0.9805 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.026e-05/0.1461, allocations: 8 kB / 0.5385 GB, free: 0.9727 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.0001524/0.1463, allocations: 145.7 kB / 0.5386 GB, free: 0.8203 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.539e-05/0.1463, allocations: 35.88 kB / 0.5387 GB, free: 0.7852 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004729/0.1468, allocations: 261.6 kB / 0.5389 GB, free: 0.5234 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/0.1468, allocations: 7.984 kB / 0.5389 GB, free: 0.5156 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.102e-06/0.1468, allocations: 0 / 0.5389 GB, free: 0.5156 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.11e-05/0.1468, allocations: 3.938 kB / 0.5389 GB, free: 0.5117 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.234/0.3808, allocations: 0.603 MB / 0.5395 GB, free: 22.62 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.3808, allocations: 3.531 kB / 0.5395 GB, free: 22.62 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003519/0.3812, allocations: 68.27 kB / 0.5396 GB, free: 22.62 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.672e-06/0.3812, allocations: 4.562 kB / 0.5396 GB, free: 22.62 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.327e-05/0.3812, allocations: 11.09 kB / 0.5396 GB, free: 22.62 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.441e-06/0.3812, allocations: 1.469 kB / 0.5396 GB, free: 22.62 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/0.3812, allocations: 0 / 0.5396 GB, free: 22.62 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007392/0.3819, allocations: 446 kB / 0.54 GB, free: 22.49 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001548/0.3821, allocations: 45.16 kB / 0.5401 GB, free: 22.49 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.87e-05/0.3821, allocations: 8.594 kB / 0.5401 GB, free: 22.49 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001921/0.3823, allocations: 13.42 kB / 0.5401 GB, free: 22.49 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.695e-05/0.3824, allocations: 18.98 kB / 0.5401 GB, free: 22.49 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.31e-05/0.3824, allocations: 9.828 kB / 0.5401 GB, free: 22.49 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002143/0.3826, allocations: 214.8 kB / 0.5403 GB, free: 22.41 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3826, allocations: 3.75 kB / 0.5403 GB, free: 22.41 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003589/0.383, allocations: 69.34 kB / 0.5404 GB, free: 22.41 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.0007651/0.3837, allocations: 0.9694 MB / 0.5413 GB, free: 21.75 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008211/0.3845, allocations: 367.7 kB / 0.5417 GB, free: 21.63 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.3846, allocations: 0 / 0.5417 GB, free: 21.63 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001902/0.3847, allocations: 107.4 kB / 0.5418 GB, free: 21.62 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004262/0.3852, allocations: 59.02 kB / 0.5419 GB, free: 21.62 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003998/0.3892, allocations: 3.379 MB / 0.5452 GB, free: 19.87 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001592/0.3893, allocations: 185.2 kB / 0.5453 GB, free: 19.78 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001352/0.3895, allocations: 38.36 kB / 0.5454 GB, free: 19.77 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001508/0.3896, allocations: 116.5 kB / 0.5455 GB, free: 19.68 MB / 414.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3896, allocations: 0 / 0.5455 GB, free: 19.68 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04376/0.4334, allocations: 7.756 MB / 0.5531 GB, free: 18.06 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.39/11.83, allocations: 1.031 kB / 0.5531 GB, free: 18.06 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_ElectricalComponents_TestElectrical5_fmu --startTime=0 --stopTime=15 --stepSize=0.006 --timeout=50 --tolerance=1e-07 ThermoPower_ThermoPower_Test_ElectricalComponents_TestElectrical5.fmu > ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.59511097613722] Failed to read output from testmodel.py, exit status != 0: 11.938996120356023 11.956322604 11.818612825 Calling exit ...