Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001866/0.001866, allocations: 112.2 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002207/0.002207, allocations: 180.8 kB / 23.71 MB, free: 4.695 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.458/1.458, allocations: 207.6 MB / 234.5 MB, free: 10 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2917/0.2917, allocations: 49.56 MB / 336.3 MB, free: 4.125 MB / 270.1 MB " [Timeout remaining time 179] Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical2") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical2") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002158/0.002158, allocations: 71.89 kB / 476.8 MB, free: 12.46 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1138/0.116, allocations: 62.42 MB / 0.5266 GB, free: 13.86 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical2): time 0.003422/0.1194, allocations: 2.208 MB / 0.5287 GB, free: 11.63 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001105/0.1205, allocations: 0.6281 MB / 0.5293 GB, free: 10.99 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001003/0.1206, allocations: 4 kB / 0.5293 GB, free: 10.99 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001274/0.1208, allocations: 27.66 kB / 0.5294 GB, free: 10.96 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002257/0.121, allocations: 83.34 kB / 0.5294 GB, free: 10.88 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000156/0.1211, allocations: 55.86 kB / 0.5295 GB, free: 10.82 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003121/0.1214, allocations: 246.9 kB / 0.5297 GB, free: 10.58 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001332/0.1216, allocations: 44.5 kB / 0.5298 GB, free: 10.54 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001618/0.1217, allocations: 103.6 kB / 0.5299 GB, free: 10.44 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001673/0.1219, allocations: 107.4 kB / 0.53 GB, free: 10.33 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.115e-05/0.1219, allocations: 16 kB / 0.53 GB, free: 10.32 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.814e-05/0.122, allocations: 16 kB / 0.53 GB, free: 10.3 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.005e-05/0.122, allocations: 39.83 kB / 0.53 GB, free: 10.26 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001067/0.1222, allocations: 107.3 kB / 0.5301 GB, free: 10.16 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002806/0.1224, allocations: 199.1 kB / 0.5303 GB, free: 9.961 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.1224, allocations: 3.938 kB / 0.5303 GB, free: 9.957 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.123e-06/0.1224, allocations: 4 kB / 0.5303 GB, free: 9.953 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.57e-06/0.1224, allocations: 0 / 0.5303 GB, free: 9.953 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: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.0008545/0.1233, allocations: 461 kB / 0.5308 GB, free: 9.473 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.42e-05/0.1233, allocations: 12.02 kB / 0.5308 GB, free: 9.461 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001001/0.1234, allocations: 28.8 kB / 0.5308 GB, free: 9.434 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003324/0.1238, allocations: 205.1 kB / 0.531 GB, free: 9.211 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.85e-05/0.1238, allocations: 12.38 kB / 0.531 GB, free: 9.199 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.863e-05/0.1238, allocations: 12.38 kB / 0.531 GB, free: 9.188 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003044/0.1241, allocations: 155.6 kB / 0.5312 GB, free: 9.023 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.385e-05/0.1241, allocations: 3.953 kB / 0.5312 GB, free: 9.02 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.726e-05/0.1242, allocations: 8 kB / 0.5312 GB, free: 9.012 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.1242, allocations: 8 kB / 0.5312 GB, free: 9.004 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002537/0.1244, allocations: 103.9 kB / 0.5313 GB, free: 8.902 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008582/0.1253, allocations: 0.5387 MB / 0.5318 GB, free: 8.316 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002582/0.1255, allocations: 126.5 kB / 0.5319 GB, free: 8.184 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001349/0.1257, allocations: 60.83 kB / 0.532 GB, free: 8.121 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.844e-05/0.1257, allocations: 0 / 0.532 GB, free: 8.121 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.258e-05/0.1257, allocations: 42.56 kB / 0.532 GB, free: 8.07 MB / 414.1 MB Notification: Performance of pre-optimization done (n=16): time 1.052e-06/0.1257, allocations: 0 / 0.532 GB, free: 8.07 MB / 414.1 MB Notification: Performance of matching and sorting (n=18): time 0.001038/0.1268, allocations: 498 kB / 0.5325 GB, free: 7.551 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.822e-05/0.1268, allocations: 59.34 kB / 0.5326 GB, free: 7.48 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000247/0.1271, allocations: 224.9 kB / 0.5328 GB, free: 7.25 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.143e-05/0.1271, allocations: 33.64 kB / 0.5328 GB, free: 7.211 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.794e-05/0.1272, allocations: 140.5 kB / 0.533 GB, free: 7.07 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.829e-05/0.1272, allocations: 63.42 kB / 0.533 GB, free: 7.008 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.365e-05/0.1273, allocations: 41.72 kB / 0.5331 GB, free: 6.961 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001587/0.1275, allocations: 334.8 kB / 0.5334 GB, free: 6.625 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001223/0.1276, allocations: 47.97 kB / 0.5334 GB, free: 6.578 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001426/0.1277, allocations: 78.53 kB / 0.5335 GB, free: 6.492 MB / 414.1 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: grid.f = grid.fnom (0.15915494309189535 * generator.omega_e_nom = grid.fnom) Notification: Performance of analyzeInitialSystem (initialization): time 0.001113/0.1288, allocations: 342.2 kB / 0.5338 GB, free: 6.148 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.163e-06/0.1288, allocations: 4 kB / 0.5338 GB, free: 6.145 MB / 414.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003491/0.1292, allocations: 189.9 kB / 0.534 GB, free: 5.953 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.1292, allocations: 8.141 kB / 0.534 GB, free: 5.945 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.1292, allocations: 0 / 0.534 GB, free: 5.945 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.1292, allocations: 4 kB / 0.534 GB, free: 5.941 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002607/0.1295, allocations: 63.94 kB / 0.5341 GB, free: 5.879 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.154e-06/0.1295, allocations: 3.984 kB / 0.5341 GB, free: 5.875 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001213/0.1296, allocations: 16.03 kB / 0.5341 GB, free: 5.859 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.269e-05/0.1296, allocations: 7.984 kB / 0.5341 GB, free: 5.852 MB / 414.1 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: grid.f = grid.fnom. 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 (23): * Single equations (assignments): 23 * 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.0001241/0.1297, allocations: 129.8 kB / 0.5342 GB, free: 5.715 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.38e-05/0.1298, allocations: 31.8 kB / 0.5343 GB, free: 5.684 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.547e-05/0.1299, allocations: 26.11 kB / 0.5343 GB, free: 5.652 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.1299, allocations: 4 kB / 0.5343 GB, free: 5.648 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.1299, allocations: 0 / 0.5343 GB, free: 5.648 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.1299, allocations: 0 / 0.5343 GB, free: 5.648 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007346/0.1306, allocations: 0.4934 MB / 0.5348 GB, free: 5.105 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.245e-06/0.1306, allocations: 0 / 0.5348 GB, free: 5.105 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002683/0.1309, allocations: 51.91 kB / 0.5348 GB, free: 5.055 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.1309, allocations: 0 / 0.5348 GB, free: 5.055 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.422e-05/0.1309, allocations: 4 kB / 0.5348 GB, free: 5.051 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.1309, allocations: 8 kB / 0.5348 GB, free: 5.043 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.1309, allocations: 0 / 0.5348 GB, free: 5.043 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005268/0.1314, allocations: 335.2 kB / 0.5352 GB, free: 4.699 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.11e-05/0.1315, allocations: 27.84 kB / 0.5352 GB, free: 4.672 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.039e-05/0.1315, allocations: 4 kB / 0.5352 GB, free: 4.668 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001502/0.1317, allocations: 12 kB / 0.5352 GB, free: 4.656 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.118e-05/0.1317, allocations: 15.91 kB / 0.5352 GB, free: 4.641 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.193e-06/0.1317, allocations: 7.938 kB / 0.5352 GB, free: 4.633 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001651/0.1319, allocations: 172.4 kB / 0.5354 GB, free: 4.465 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1319, allocations: 0 / 0.5354 GB, free: 4.465 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002738/0.1322, allocations: 40 kB / 0.5354 GB, free: 4.426 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 (18): * Single equations (assignments): 18 * 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.255e-05/0.1323, allocations: 95.19 kB / 0.5355 GB, free: 4.324 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003369/0.1326, allocations: 132 kB / 0.5356 GB, free: 4.195 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.1326, allocations: 0 / 0.5356 GB, free: 4.195 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001352/0.1327, allocations: 63.91 kB / 0.5357 GB, free: 4.133 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003556/0.1331, allocations: 44.7 kB / 0.5357 GB, free: 4.09 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001029/0.1341, allocations: 0.571 MB / 0.5363 GB, free: 3.492 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004397/0.1346, allocations: 0.7474 MB / 0.537 GB, free: 2.719 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.91e-05/0.1347, allocations: 29.61 kB / 0.5371 GB, free: 2.691 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.788e-05/0.1347, allocations: 15.44 kB / 0.5371 GB, free: 2.676 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1347, allocations: 0 / 0.5371 GB, free: 2.676 MB / 414.1 MB Notification: Performance of Templates: time 0.005736/0.1404, allocations: 2.125 MB / 0.5391 GB, free: 0.5469 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical2.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical2.pipe ; mkfifo ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical2.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical2.pipe >> ../files/ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical2.sim & ./ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.929509789682925] Failed to read output from testmodel.py, exit status != 0: 0.3504911297932267 0.36227920999999996 0.23702551899999996 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f46ae3717b0>