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.00131/0.00131, allocations: 116.9 kB / 18.49 MB, free: 4.559 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.00143/0.00143, allocations: 217.4 kB / 21.46 MB, free: 1.605 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 / 231.8 MB, free: 4.059 MB / 174.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.4499/0.4499, allocations: 49.5 MB / 333.2 MB, free: 0.7773 MB / 254.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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.ElectricalComponents.TestElectrical5,fileNamePrefix="ThermoPower_ThermoPower_Test_ElectricalComponents_TestElectrical5",fmuType="cs",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.002164/0.002164, allocations: 68.7 kB / 471.5 MB, free: 41.06 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1065/0.1086, allocations: 62.33 MB / 0.5213 GB, free: 2.332 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical5): time 0.00316/0.1118, allocations: 2.669 MB / 0.5239 GB, free: 15.64 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00138/0.1132, allocations: 0.7526 MB / 0.5247 GB, free: 14.88 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001498/0.1133, allocations: 11.94 kB / 0.5247 GB, free: 14.87 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001626/0.1135, allocations: 43.47 kB / 0.5247 GB, free: 14.83 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003166/0.1138, allocations: 127 kB / 0.5248 GB, free: 14.7 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002075/0.114, allocations: 79.84 kB / 0.5249 GB, free: 14.62 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004711/0.1145, allocations: 406.1 kB / 0.5253 GB, free: 14.22 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001727/0.1146, allocations: 65.52 kB / 0.5254 GB, free: 14.16 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000216/0.1149, allocations: 163.3 kB / 0.5255 GB, free: 14 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002343/0.1151, allocations: 167.1 kB / 0.5257 GB, free: 13.83 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.005e-05/0.1151, allocations: 24 kB / 0.5257 GB, free: 13.81 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.043e-05/0.1152, allocations: 28 kB / 0.5257 GB, free: 13.78 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.426e-05/0.1153, allocations: 63.77 kB / 0.5258 GB, free: 13.72 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001692/0.1155, allocations: 175 kB / 0.526 GB, free: 13.55 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003995/0.1159, allocations: 318.5 kB / 0.5263 GB, free: 13.23 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1159, allocations: 0 / 0.5263 GB, free: 13.23 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1159, allocations: 4 kB / 0.5263 GB, free: 13.23 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.302e-06/0.1159, allocations: 7.938 kB / 0.5263 GB, free: 13.22 MB / 398.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.001168/0.117, allocations: 0.6695 MB / 0.5269 GB, free: 12.5 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.379e-05/0.1171, allocations: 19.89 kB / 0.5269 GB, free: 12.48 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.559e-05/0.1171, allocations: 4.625 kB / 0.527 GB, free: 12.48 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.132e-05/0.1172, allocations: 58.73 kB / 0.527 GB, free: 12.41 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001126/0.1173, allocations: 40.7 kB / 0.527 GB, free: 12.38 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004726/0.1177, allocations: 320.2 kB / 0.5274 GB, free: 12.03 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.998e-05/0.1178, allocations: 20.81 kB / 0.5274 GB, free: 12.01 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.862e-05/0.1178, allocations: 36.3 kB / 0.5274 GB, free: 11.97 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004566/0.1183, allocations: 246.6 kB / 0.5276 GB, free: 11.72 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.464e-05/0.1183, allocations: 0 / 0.5276 GB, free: 11.72 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.392e-05/0.1183, allocations: 12 kB / 0.5277 GB, free: 11.71 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.865e-06/0.1183, allocations: 4 kB / 0.5277 GB, free: 11.7 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004071/0.1187, allocations: 181.6 kB / 0.5278 GB, free: 11.52 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001236/0.12, allocations: 0.8519 MB / 0.5287 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003465/0.1203, allocations: 174.7 kB / 0.5288 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002206/0.1205, allocations: 104.8 kB / 0.5289 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.986e-05/0.1206, allocations: 3.938 kB / 0.5289 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.411e-05/0.1206, allocations: 38.55 kB / 0.529 GB, free: 10.27 MB / 398.1 MB Notification: Performance of pre-optimization done (n=25): time 1.343e-06/0.1206, allocations: 0 / 0.529 GB, free: 10.27 MB / 398.1 MB Notification: Performance of matching and sorting (n=27): time 0.001472/0.1221, allocations: 0.7473 MB / 0.5297 GB, free: 9.477 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.246e-05/0.1221, allocations: 55.41 kB / 0.5298 GB, free: 9.41 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003336/0.1224, allocations: 300.5 kB / 0.53 GB, free: 9.102 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.522e-05/0.1225, allocations: 33.7 kB / 0.5301 GB, free: 9.062 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001363/0.1226, allocations: 184.8 kB / 0.5302 GB, free: 8.879 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.481e-05/0.1227, allocations: 103.1 kB / 0.5303 GB, free: 8.777 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.645e-05/0.1228, allocations: 49.7 kB / 0.5304 GB, free: 8.723 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001611/0.1229, allocations: 342.8 kB / 0.5307 GB, free: 8.379 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001822/0.1231, allocations: 75.95 kB / 0.5308 GB, free: 8.305 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002117/0.1233, allocations: 110.8 kB / 0.5309 GB, free: 8.188 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003821/0.1237, allocations: 188.2 kB / 0.5311 GB, free: 7.996 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.1237, allocations: 0 / 0.5311 GB, free: 7.996 MB / 398.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0006822/0.1244, allocations: 323 kB / 0.5314 GB, free: 7.672 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.1244, allocations: 4 kB / 0.5314 GB, free: 7.668 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/0.1244, allocations: 7.984 kB / 0.5314 GB, free: 7.66 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002939/0.1247, allocations: 52.83 kB / 0.5314 GB, free: 7.605 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003783/0.1251, allocations: 79.94 kB / 0.5315 GB, free: 7.527 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002724/0.1278, allocations: 3.032 MB / 0.5345 GB, free: 4.215 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001911/0.128, allocations: 15.97 kB / 0.5345 GB, free: 4.199 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.076e-05/0.128, allocations: 15.98 kB / 0.5345 GB, free: 4.184 MB / 398.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.0001515/0.1282, allocations: 145.8 kB / 0.5347 GB, free: 4.031 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.806e-05/0.1282, allocations: 31.81 kB / 0.5347 GB, free: 4 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004889/0.1287, allocations: 257.2 kB / 0.5349 GB, free: 3.742 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.1287, allocations: 4 kB / 0.5349 GB, free: 3.738 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.082e-06/0.1287, allocations: 0 / 0.5349 GB, free: 3.738 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.855e-06/0.1287, allocations: 7.922 kB / 0.5349 GB, free: 3.73 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000966/0.1297, allocations: 0.6588 MB / 0.5356 GB, free: 3.016 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.1297, allocations: 0 / 0.5356 GB, free: 3.016 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000317/0.13, allocations: 67.91 kB / 0.5357 GB, free: 2.949 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.13, allocations: 7.875 kB / 0.5357 GB, free: 2.941 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.698e-05/0.13, allocations: 4 kB / 0.5357 GB, free: 2.938 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.13, allocations: 0 / 0.5357 GB, free: 2.938 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.13, allocations: 3.984 kB / 0.5357 GB, free: 2.934 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007106/0.1308, allocations: 460.6 kB / 0.5361 GB, free: 2.465 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001796/0.1309, allocations: 121 kB / 0.5362 GB, free: 2.328 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.546e-05/0.131, allocations: 7.938 kB / 0.5362 GB, free: 2.32 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001924/0.1312, allocations: 15.98 kB / 0.5362 GB, free: 2.305 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.423e-05/0.1312, allocations: 15.97 kB / 0.5363 GB, free: 2.289 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.312e-05/0.1312, allocations: 12 kB / 0.5363 GB, free: 2.277 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002262/0.1315, allocations: 211.1 kB / 0.5365 GB, free: 2.07 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1315, allocations: 0 / 0.5365 GB, free: 2.07 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003443/0.1318, allocations: 76 kB / 0.5365 GB, free: 1.996 MB / 398.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.001029/0.1328, allocations: 0.9777 MB / 0.5375 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00091/0.1337, allocations: 366.6 kB / 0.5378 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.1337, allocations: 0 / 0.5378 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002207/0.134, allocations: 103.8 kB / 0.5379 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004279/0.1344, allocations: 62.8 kB / 0.538 GB, free: 468 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004762/0.1392, allocations: 3.37 MB / 0.5413 GB, free: 13 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004431/0.1396, allocations: 0.7954 MB / 0.5421 GB, free: 12.17 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000127/0.1397, allocations: 34.95 kB / 0.5421 GB, free: 12.13 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001816/0.1399, allocations: 119.4 kB / 0.5422 GB, free: 12.02 MB / 414.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1399, allocations: 0 / 0.5422 GB, free: 12.02 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02943/0.1693, allocations: 7.072 MB / 0.5491 GB, free: 4.887 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.8/10.97, allocations: 12 kB / 0.5491 GB, free: 4.875 MB / 414.1 MB " [Timeout remaining time 649] (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.0682835149928] Failed to read output from testmodel.py, exit status != 0: 11.113106860022526 11.140411176 11.019862132 Calling exit ...