Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical7.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.001416/0.001416, allocations: 107.1 kB / 20.44 MB, free: 1.195 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.001456/0.001456, allocations: 210.5 kB / 23.73 MB, free: 4.406 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.391/1.391, allocations: 207.7 MB / 234.6 MB, free: 9.801 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.2813/0.2813, allocations: 49.61 MB / 336.4 MB, free: 3.883 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.TestElectrical7,fileNamePrefix="ThermoPower_ThermoPower_Test_ElectricalComponents_TestElectrical7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.ElectricalComponents.TestElectrical7,fileNamePrefix="ThermoPower_ThermoPower_Test_ElectricalComponents_TestElectrical7",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.00218/0.00218, allocations: 79.88 kB / 476.4 MB, free: 12.75 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1087/0.1108, allocations: 62.42 MB / 0.5261 GB, free: 14.14 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical7): time 0.004517/0.1154, allocations: 2.894 MB / 0.529 GB, free: 11.23 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001469/0.1168, allocations: 0.8032 MB / 0.5298 GB, free: 10.42 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001716/0.117, allocations: 11.94 kB / 0.5298 GB, free: 10.41 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001896/0.1172, allocations: 59.31 kB / 0.5298 GB, free: 10.35 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003672/0.1176, allocations: 158.8 kB / 0.53 GB, free: 10.19 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002971/0.1179, allocations: 123.8 kB / 0.5301 GB, free: 10.07 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005873/0.1184, allocations: 0.5216 MB / 0.5306 GB, free: 9.547 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002213/0.1187, allocations: 97.95 kB / 0.5307 GB, free: 9.445 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002648/0.1189, allocations: 219.1 kB / 0.5309 GB, free: 9.23 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002745/0.1192, allocations: 202.9 kB / 0.5311 GB, free: 9.031 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.826e-05/0.1193, allocations: 32 kB / 0.5311 GB, free: 9 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001021/0.1194, allocations: 44 kB / 0.5312 GB, free: 8.957 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.42e-05/0.1195, allocations: 91.56 kB / 0.5313 GB, free: 8.867 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000186/0.1196, allocations: 191 kB / 0.5314 GB, free: 8.68 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005015/0.1201, allocations: 441.9 kB / 0.5319 GB, free: 8.246 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.1202, allocations: 0 / 0.5319 GB, free: 8.246 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1202, allocations: 3.938 kB / 0.5319 GB, free: 8.242 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.406e-06/0.1202, allocations: 0 / 0.5319 GB, free: 8.242 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: 77 * Number of variables: 77 Notification: Performance of Generate backend data structure: time 0.001371/0.1215, allocations: 0.7304 MB / 0.5326 GB, free: 7.48 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/0.1216, allocations: 12.03 kB / 0.5326 GB, free: 7.469 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.649e-05/0.1217, allocations: 70.72 kB / 0.5327 GB, free: 7.391 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001269/0.1218, allocations: 56.61 kB / 0.5327 GB, free: 7.336 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005147/0.1223, allocations: 312.5 kB / 0.533 GB, free: 7.004 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.655e-05/0.1223, allocations: 25.03 kB / 0.533 GB, free: 6.98 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.2e-05/0.1224, allocations: 40.33 kB / 0.5331 GB, free: 6.941 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005588/0.123, allocations: 318 kB / 0.5334 GB, free: 6.613 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.866e-05/0.123, allocations: 7.984 kB / 0.5334 GB, free: 6.605 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.5e-05/0.123, allocations: 12 kB / 0.5334 GB, free: 6.594 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.076e-05/0.123, allocations: 8 kB / 0.5334 GB, free: 6.586 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004101/0.1234, allocations: 222.4 kB / 0.5336 GB, free: 6.371 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001733/0.1252, allocations: 1.022 MB / 0.5346 GB, free: 5.289 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004817/0.1256, allocations: 249.3 kB / 0.5348 GB, free: 5.039 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002132/0.1259, allocations: 121.4 kB / 0.535 GB, free: 4.918 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.459e-05/0.1259, allocations: 288 / 0.535 GB, free: 4.918 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.549e-05/0.1259, allocations: 38.84 kB / 0.535 GB, free: 4.871 MB / 414.1 MB Notification: Performance of pre-optimization done (n=33): time 1.302e-06/0.1259, allocations: 3.938 kB / 0.535 GB, free: 4.867 MB / 414.1 MB Notification: Performance of matching and sorting (n=35): time 0.001996/0.1279, allocations: 0.8652 MB / 0.5358 GB, free: 3.969 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.85e-05/0.128, allocations: 59.34 kB / 0.5359 GB, free: 3.898 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004194/0.1284, allocations: 381.6 kB / 0.5363 GB, free: 3.52 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.477e-05/0.1284, allocations: 37.7 kB / 0.5363 GB, free: 3.477 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001671/0.1286, allocations: 224.9 kB / 0.5365 GB, free: 3.254 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001038/0.1287, allocations: 134.9 kB / 0.5366 GB, free: 3.121 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001037/0.1288, allocations: 74.08 kB / 0.5367 GB, free: 3.043 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001749/0.129, allocations: 350.8 kB / 0.5371 GB, free: 2.691 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001843/0.1291, allocations: 92.83 kB / 0.5371 GB, free: 2.602 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002245/0.1294, allocations: 144.6 kB / 0.5373 GB, free: 2.445 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004114/0.1298, allocations: 256 kB / 0.5375 GB, free: 2.18 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.1298, allocations: 0 / 0.5375 GB, free: 2.18 MB / 414.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0005767/0.1304, allocations: 345.2 kB / 0.5379 GB, free: 1.836 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.1304, allocations: 8 kB / 0.5379 GB, free: 1.828 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.1304, allocations: 0 / 0.5379 GB, free: 1.828 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.1304, allocations: 4 kB / 0.5379 GB, free: 1.824 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006888/0.1311, allocations: 152 kB / 0.538 GB, free: 1.676 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001158/0.1322, allocations: 1.334 MB / 0.5393 GB, free: 228 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002292/0.1325, allocations: 16.02 kB / 0.5393 GB, free: 212 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.551e-05/0.1325, allocations: 12.19 kB / 0.5393 GB, free: 200 kB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (48): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * 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: Performance of prepare postOptimizeDAE: time 0.0001586/0.1327, allocations: 153.8 kB / 0.5395 GB, free: 36 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.1975/0.3301, allocations: 49.23 kB / 0.5395 GB, free: 22.43 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000631/0.3308, allocations: 307.2 kB / 0.5398 GB, free: 22.39 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.3308, allocations: 3.75 kB / 0.5398 GB, free: 22.39 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.3308, allocations: 1.531 kB / 0.5398 GB, free: 22.39 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.063e-06/0.3308, allocations: 1.875 kB / 0.5398 GB, free: 22.39 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001018/0.3318, allocations: 0.7157 MB / 0.5405 GB, free: 22.13 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.3318, allocations: 4.562 kB / 0.5405 GB, free: 22.13 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004165/0.3322, allocations: 79.22 kB / 0.5406 GB, free: 22.13 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.31e-06/0.3322, allocations: 1.5 kB / 0.5406 GB, free: 22.13 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.227e-05/0.3322, allocations: 9.938 kB / 0.5406 GB, free: 22.13 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.438e-06/0.3322, allocations: 2.344 kB / 0.5406 GB, free: 22.13 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.3322, allocations: 0.8438 kB / 0.5406 GB, free: 22.13 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006401/0.3329, allocations: 0.5209 MB / 0.5411 GB, free: 21.98 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001361/0.333, allocations: 67.39 kB / 0.5412 GB, free: 21.98 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.737e-05/0.3331, allocations: 12.36 kB / 0.5412 GB, free: 21.98 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002218/0.3333, allocations: 9.422 kB / 0.5412 GB, free: 21.98 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.019e-05/0.3333, allocations: 22.44 kB / 0.5412 GB, free: 21.98 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.066e-05/0.3334, allocations: 17.62 kB / 0.5413 GB, free: 21.98 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002782/0.3336, allocations: 269 kB / 0.5415 GB, free: 21.9 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3336, allocations: 0.75 kB / 0.5415 GB, free: 21.9 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003599/0.334, allocations: 84.16 kB / 0.5416 GB, free: 21.9 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 9 (gen_a.phi,gen_a.omega_m,gen_a.omega_e_filt,gen_b.phi,gen_b.omega_m,gen_b.omega_e_filt,torqueGen_a.y,torqueGen_b.y,secondaryController.powerOffset) * 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 (36): * Single equations (assignments): 36 * 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.0007772/0.3348, allocations: 1.064 MB / 0.5426 GB, free: 21.23 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006305/0.3354, allocations: 269.8 kB / 0.5429 GB, free: 21.23 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.3354, allocations: 0 / 0.5429 GB, free: 21.23 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001978/0.3356, allocations: 130.2 kB / 0.543 GB, free: 21.21 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005063/0.3361, allocations: 85.09 kB / 0.5431 GB, free: 21.21 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005142/0.3413, allocations: 3.981 MB / 0.547 GB, free: 19.04 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002317/0.3415, allocations: 227.4 kB / 0.5472 GB, free: 18.94 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002161/0.3417, allocations: 44.7 kB / 0.5472 GB, free: 18.93 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000214/0.3419, allocations: 150.2 kB / 0.5474 GB, free: 18.82 MB / 414.1 MB Notification: Performance of SimCode: time 7.01e-07/0.3419, allocations: 1.219 kB / 0.5474 GB, free: 18.82 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04033/0.3823, allocations: 9.52 MB / 0.5567 GB, free: 16.85 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.06/11.45, allocations: 14.27 kB / 0.5567 GB, free: 16.84 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical7.pipe ; mkfifo ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical7.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical7.pipe >> ../files/ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical7.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_ElectricalComponents_TestElectrical7_fmu --startTime=0 --stopTime=300 --stepSize=0.12 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Test_ElectricalComponents_TestElectrical7.fmu > ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical7.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.18701070919633] Failed to read output from testmodel.py, exit status != 0: 11.556221803184599 11.56800759 11.445331423 Calling exit ...