Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical1.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.001607/0.001607, allocations: 112.2 kB / 21.19 MB, free: 0.7617 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.001443/0.001443, allocations: 209.9 kB / 24.49 MB, free: 4.145 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.405/1.405, allocations: 207.6 MB / 235.3 MB, free: 9.992 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.2999/0.2999, allocations: 49.56 MB / 337.1 MB, free: 4.113 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: translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical1") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical1") [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.002492/0.002492, allocations: 79.89 kB / 477.6 MB, free: 12.45 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1211/0.1236, allocations: 62.42 MB / 0.5273 GB, free: 13.84 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical1): time 0.004001/0.1276, allocations: 2.087 MB / 0.5294 GB, free: 11.73 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001346/0.1289, allocations: 0.6126 MB / 0.53 GB, free: 11.11 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001816/0.1291, allocations: 4 kB / 0.53 GB, free: 11.11 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001591/0.1293, allocations: 19.73 kB / 0.53 GB, free: 11.09 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002971/0.1296, allocations: 67.42 kB / 0.5301 GB, free: 11.02 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002156/0.1298, allocations: 47.94 kB / 0.5301 GB, free: 10.97 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003732/0.1302, allocations: 215 kB / 0.5303 GB, free: 10.76 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001457/0.1303, allocations: 32.52 kB / 0.5303 GB, free: 10.73 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002044/0.1305, allocations: 87.62 kB / 0.5304 GB, free: 10.64 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001862/0.1307, allocations: 87.5 kB / 0.5305 GB, free: 10.56 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.13e-05/0.1307, allocations: 12 kB / 0.5305 GB, free: 10.55 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.859e-05/0.1308, allocations: 20 kB / 0.5305 GB, free: 10.53 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 4.603e-05/0.1308, allocations: 35.83 kB / 0.5306 GB, free: 10.49 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001016/0.131, allocations: 83.55 kB / 0.5307 GB, free: 10.41 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003096/0.1313, allocations: 163.2 kB / 0.5308 GB, free: 10.25 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.1313, allocations: 0 / 0.5308 GB, free: 10.25 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1313, allocations: 0 / 0.5308 GB, free: 10.25 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.648e-06/0.1313, allocations: 3.938 kB / 0.5308 GB, free: 10.25 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0008644/0.1321, allocations: 433.2 kB / 0.5312 GB, free: 9.793 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.849e-05/0.1322, allocations: 8.031 kB / 0.5312 GB, free: 9.785 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001171/0.1323, allocations: 24.8 kB / 0.5313 GB, free: 9.762 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003983/0.1327, allocations: 183.2 kB / 0.5314 GB, free: 9.555 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.489e-05/0.1327, allocations: 12.38 kB / 0.5314 GB, free: 9.543 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.386e-05/0.1328, allocations: 20.31 kB / 0.5315 GB, free: 9.523 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002702/0.133, allocations: 131.6 kB / 0.5316 GB, free: 9.383 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.739e-05/0.133, allocations: 4 kB / 0.5316 GB, free: 9.379 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.539e-05/0.1331, allocations: 4 kB / 0.5316 GB, free: 9.375 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.764e-06/0.1331, allocations: 4 kB / 0.5316 GB, free: 9.371 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001956/0.1333, allocations: 75.94 kB / 0.5317 GB, free: 9.297 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000852/0.1341, allocations: 0.5034 MB / 0.5322 GB, free: 8.746 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002996/0.1344, allocations: 98.59 kB / 0.5323 GB, free: 8.641 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.78e-05/0.1345, allocations: 45.05 kB / 0.5323 GB, free: 8.594 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.007e-05/0.1345, allocations: 7.938 kB / 0.5323 GB, free: 8.586 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.921e-05/0.1346, allocations: 34.56 kB / 0.5323 GB, free: 8.543 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.282e-06/0.1346, allocations: 3.938 kB / 0.5323 GB, free: 8.539 MB / 414.1 MB Notification: Performance of matching and sorting (n=12): time 0.0008628/0.1354, allocations: 369.5 kB / 0.5327 GB, free: 8.145 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.97e-05/0.1355, allocations: 51.41 kB / 0.5327 GB, free: 8.082 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002509/0.1357, allocations: 225 kB / 0.533 GB, free: 7.855 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.977e-05/0.1357, allocations: 29.7 kB / 0.533 GB, free: 7.82 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001049/0.1358, allocations: 132.4 kB / 0.5331 GB, free: 7.688 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.977e-05/0.1359, allocations: 43.58 kB / 0.5332 GB, free: 7.645 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.222e-05/0.1359, allocations: 29.7 kB / 0.5332 GB, free: 7.609 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001689/0.1361, allocations: 326.8 kB / 0.5335 GB, free: 7.281 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.401e-05/0.1362, allocations: 35.98 kB / 0.5335 GB, free: 7.246 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.656e-05/0.1363, allocations: 58.55 kB / 0.5336 GB, free: 7.18 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001719/0.1365, allocations: 94.5 kB / 0.5337 GB, free: 7.078 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.1365, allocations: 4 kB / 0.5337 GB, free: 7.074 MB / 414.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002597/0.1367, allocations: 141.5 kB / 0.5338 GB, free: 6.93 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.136e-05/0.1367, allocations: 11.94 kB / 0.5338 GB, free: 6.918 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.1367, allocations: 4.062 kB / 0.5338 GB, free: 6.914 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.1368, allocations: 0 / 0.5338 GB, free: 6.914 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000153/0.1369, allocations: 35.98 kB / 0.5339 GB, free: 6.879 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.496e-06/0.1369, allocations: 4 kB / 0.5339 GB, free: 6.875 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.614e-05/0.137, allocations: 3.938 kB / 0.5339 GB, free: 6.871 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.059e-05/0.137, allocations: 4 kB / 0.5339 GB, free: 6.867 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 (16): * Single equations (assignments): 16 * 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.0001221/0.1371, allocations: 129.8 kB / 0.534 GB, free: 6.73 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.465e-05/0.1372, allocations: 23.8 kB / 0.534 GB, free: 6.707 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.489e-05/0.1372, allocations: 21.72 kB / 0.534 GB, free: 6.676 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.1372, allocations: 7.938 kB / 0.5341 GB, free: 6.668 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.1373, allocations: 0 / 0.5341 GB, free: 6.668 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.1373, allocations: 3.984 kB / 0.5341 GB, free: 6.664 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005663/0.1378, allocations: 413.5 kB / 0.5345 GB, free: 6.211 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.1378, allocations: 0 / 0.5345 GB, free: 6.211 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001608/0.138, allocations: 27.98 kB / 0.5345 GB, free: 6.184 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.138, allocations: 3.938 kB / 0.5345 GB, free: 6.18 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.422e-05/0.138, allocations: 8 kB / 0.5345 GB, free: 6.172 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.138, allocations: 8 kB / 0.5345 GB, free: 6.164 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.138, allocations: 0 / 0.5345 GB, free: 6.164 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003971/0.1384, allocations: 271.2 kB / 0.5348 GB, free: 5.883 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.866e-05/0.1385, allocations: 19.94 kB / 0.5348 GB, free: 5.863 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.898e-05/0.1385, allocations: 4 kB / 0.5348 GB, free: 5.859 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001218/0.1386, allocations: 4 kB / 0.5348 GB, free: 5.855 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.6e-05/0.1387, allocations: 11.98 kB / 0.5348 GB, free: 5.844 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.468e-06/0.1387, allocations: 7.984 kB / 0.5348 GB, free: 5.836 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001616/0.1388, allocations: 164.5 kB / 0.535 GB, free: 5.676 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1388, allocations: 0 / 0.535 GB, free: 5.676 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002666/0.1391, allocations: 32 kB / 0.535 GB, free: 5.645 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 (12): * Single equations (assignments): 12 * 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 9.58e-05/0.1392, allocations: 95.17 kB / 0.5351 GB, free: 5.543 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000231/0.1394, allocations: 87.84 kB / 0.5352 GB, free: 5.457 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.838e-06/0.1394, allocations: 4.125 kB / 0.5352 GB, free: 5.453 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.729e-05/0.1395, allocations: 39.92 kB / 0.5352 GB, free: 5.414 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003714/0.1399, allocations: 44.58 kB / 0.5352 GB, free: 5.371 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001027/0.1409, allocations: 0.5363 MB / 0.5358 GB, free: 4.805 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003789/0.1413, allocations: 0.7242 MB / 0.5365 GB, free: 4.055 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.135e-05/0.1414, allocations: 19.44 kB / 0.5365 GB, free: 4.035 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1414, allocations: 0 / 0.5365 GB, free: 4.035 MB / 414.1 MB Notification: Performance of Templates: time 0.004418/0.1458, allocations: 2.022 MB / 0.5385 GB, free: 2.012 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical1.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical1.pipe ; mkfifo ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical1.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical1.pipe >> ../files/ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical1.sim & ./ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical1.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.235975151881576] Failed to read output from testmodel.py, exit status != 0: 0.15523017710074782 0.352071912 0.218103083 Calling exit ...