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.001349/0.001349, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001498/0.001498, allocations: 211.3 kB / 23.73 MB, free: 4.387 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.373/1.373, allocations: 207.7 MB / 234.6 MB, free: 9.789 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.2888/0.2888, allocations: 49.59 MB / 336.4 MB, free: 3.969 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.002305/0.002305, allocations: 71.91 kB / 476.8 MB, free: 12.29 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1058/0.1081, allocations: 62.44 MB / 0.5266 GB, free: 13.66 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical1): time 0.003248/0.1114, allocations: 1.974 MB / 0.5286 GB, free: 11.66 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001015/0.1124, allocations: 0.5815 MB / 0.5291 GB, free: 11.07 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.254e-05/0.1125, allocations: 3.938 kB / 0.5291 GB, free: 11.07 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001249/0.1126, allocations: 23.72 kB / 0.5291 GB, free: 11.05 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001968/0.1128, allocations: 63.48 kB / 0.5292 GB, free: 10.98 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001404/0.113, allocations: 47.94 kB / 0.5293 GB, free: 10.94 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002719/0.1132, allocations: 207 kB / 0.5295 GB, free: 10.73 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001291/0.1134, allocations: 36.5 kB / 0.5295 GB, free: 10.7 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000148/0.1135, allocations: 91.56 kB / 0.5296 GB, free: 10.61 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001343/0.1136, allocations: 75.56 kB / 0.5296 GB, free: 10.54 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.92e-05/0.1137, allocations: 12 kB / 0.5297 GB, free: 10.52 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.109e-05/0.1137, allocations: 20 kB / 0.5297 GB, free: 10.5 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 3.403e-05/0.1138, allocations: 23.92 kB / 0.5297 GB, free: 10.48 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 8.456e-05/0.1139, allocations: 83.52 kB / 0.5298 GB, free: 10.4 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002471/0.1141, allocations: 163.2 kB / 0.5299 GB, free: 10.24 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.606e-06/0.1141, allocations: 0 / 0.5299 GB, free: 10.24 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.1141, allocations: 0 / 0.5299 GB, free: 10.24 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.39e-06/0.1141, allocations: 0 / 0.5299 GB, free: 10.24 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.0007499/0.1149, allocations: 433.2 kB / 0.5303 GB, free: 9.785 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.369e-05/0.1149, allocations: 8.031 kB / 0.5304 GB, free: 9.777 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.379e-05/0.115, allocations: 24.8 kB / 0.5304 GB, free: 9.754 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003134/0.1153, allocations: 191.1 kB / 0.5306 GB, free: 9.539 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.541e-05/0.1153, allocations: 8.375 kB / 0.5306 GB, free: 9.531 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.039e-05/0.1153, allocations: 12.38 kB / 0.5306 GB, free: 9.52 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00025/0.1156, allocations: 131.7 kB / 0.5307 GB, free: 9.379 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.414e-05/0.1156, allocations: 4 kB / 0.5307 GB, free: 9.375 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.533e-05/0.1156, allocations: 8 kB / 0.5307 GB, free: 9.367 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.082e-06/0.1156, allocations: 7.938 kB / 0.5307 GB, free: 9.359 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001851/0.1158, allocations: 71.94 kB / 0.5308 GB, free: 9.289 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007075/0.1165, allocations: 444.3 kB / 0.5312 GB, free: 8.82 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002788/0.1168, allocations: 98.53 kB / 0.5313 GB, free: 8.715 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.598e-05/0.1169, allocations: 52.94 kB / 0.5314 GB, free: 8.66 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.357e-05/0.1169, allocations: 0 / 0.5314 GB, free: 8.66 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.42e-05/0.1169, allocations: 42.55 kB / 0.5314 GB, free: 8.609 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.012e-06/0.1169, allocations: 0 / 0.5314 GB, free: 8.609 MB / 414.1 MB Notification: Performance of matching and sorting (n=12): time 0.0008044/0.1178, allocations: 372.9 kB / 0.5318 GB, free: 8.211 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.382e-05/0.1178, allocations: 55.41 kB / 0.5318 GB, free: 8.145 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002239/0.118, allocations: 203 kB / 0.532 GB, free: 7.938 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.964e-05/0.118, allocations: 25.7 kB / 0.532 GB, free: 7.906 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001048/0.1181, allocations: 136.3 kB / 0.5322 GB, free: 7.766 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.917e-05/0.1182, allocations: 43.58 kB / 0.5322 GB, free: 7.723 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.396e-05/0.1182, allocations: 33.7 kB / 0.5322 GB, free: 7.684 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000178/0.1184, allocations: 326.8 kB / 0.5325 GB, free: 7.355 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001167/0.1185, allocations: 31.98 kB / 0.5326 GB, free: 7.324 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001043/0.1186, allocations: 58.48 kB / 0.5326 GB, free: 7.258 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001755/0.1188, allocations: 90.56 kB / 0.5327 GB, free: 7.16 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.1188, allocations: 0 / 0.5327 GB, free: 7.16 MB / 414.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002595/0.1191, allocations: 145.5 kB / 0.5329 GB, free: 7.012 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.309e-05/0.1191, allocations: 8 kB / 0.5329 GB, free: 7.004 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.1191, allocations: 3.938 kB / 0.5329 GB, free: 7 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.1191, allocations: 0 / 0.5329 GB, free: 7 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001522/0.1193, allocations: 39.92 kB / 0.5329 GB, free: 6.961 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.583e-05/0.1193, allocations: 7.984 kB / 0.5329 GB, free: 6.953 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.911e-05/0.1194, allocations: 4 kB / 0.5329 GB, free: 6.949 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.143e-06/0.1194, allocations: 64 / 0.5329 GB, free: 6.949 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.0001148/0.1195, allocations: 137.8 kB / 0.533 GB, free: 6.805 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.086e-05/0.1195, allocations: 19.84 kB / 0.5331 GB, free: 6.785 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.148e-05/0.1196, allocations: 25.33 kB / 0.5331 GB, free: 6.754 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/0.1196, allocations: 4 kB / 0.5331 GB, free: 6.75 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.1196, allocations: 0 / 0.5331 GB, free: 6.75 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.1196, allocations: 3.984 kB / 0.5331 GB, free: 6.746 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005211/0.1201, allocations: 358.1 kB / 0.5334 GB, free: 6.359 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.566e-06/0.1201, allocations: 4 kB / 0.5334 GB, free: 6.355 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001533/0.1203, allocations: 27.92 kB / 0.5335 GB, free: 6.328 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.31e-06/0.1203, allocations: 8 kB / 0.5335 GB, free: 6.32 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.113e-05/0.1203, allocations: 4 kB / 0.5335 GB, free: 6.316 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.1203, allocations: 0 / 0.5335 GB, free: 6.316 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.1203, allocations: 3.984 kB / 0.5335 GB, free: 6.312 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003719/0.1207, allocations: 263.2 kB / 0.5337 GB, free: 6.039 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.744e-05/0.1207, allocations: 19.94 kB / 0.5338 GB, free: 6.02 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.831e-05/0.1208, allocations: 12 kB / 0.5338 GB, free: 6.008 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001344/0.1209, allocations: 3.984 kB / 0.5338 GB, free: 6.004 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.091e-05/0.1209, allocations: 7.984 kB / 0.5338 GB, free: 5.996 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.253e-06/0.1209, allocations: 11.94 kB / 0.5338 GB, free: 5.984 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001555/0.1211, allocations: 152.4 kB / 0.5339 GB, free: 5.836 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1211, allocations: 0 / 0.5339 GB, free: 5.836 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002627/0.1214, allocations: 32 kB / 0.534 GB, free: 5.805 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 0.000109/0.1215, allocations: 95.19 kB / 0.5341 GB, free: 5.699 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002219/0.1217, allocations: 87.83 kB / 0.5341 GB, free: 5.613 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1217, allocations: 0 / 0.5341 GB, free: 5.613 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.372e-05/0.1218, allocations: 35.98 kB / 0.5342 GB, free: 5.578 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003623/0.1221, allocations: 48.22 kB / 0.5342 GB, free: 5.531 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009724/0.1231, allocations: 0.5044 MB / 0.5347 GB, free: 5.004 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001148/0.1232, allocations: 120.7 kB / 0.5348 GB, free: 4.867 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.682e-05/0.1233, allocations: 17.41 kB / 0.5348 GB, free: 4.852 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.357e-05/0.1233, allocations: 15.44 kB / 0.5349 GB, free: 4.836 MB / 414.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1233, allocations: 4 kB / 0.5349 GB, free: 4.832 MB / 414.1 MB Notification: Performance of Templates: time 0.004956/0.1283, allocations: 1.748 MB / 0.5366 GB, free: 3.086 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: 4.5876280423253775] Failed to read output from testmodel.py, exit status != 0: 0.13677610829472542 0.30116658099999993 0.184550751 Calling exit ...