Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGT.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.001744/0.001744, allocations: 79.42 kB / 21.27 MB, free: 388 kB / 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.001906/0.001906, allocations: 162.8 kB / 24.53 MB, free: 3.59 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.459/1.459, allocations: 177.2 MB / 204.9 MB, free: 9.293 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo): time 0.1439/0.1439, allocations: 19.7 MB / 281 MB, free: 13.07 MB / 270.1 MB " [Timeout remaining time 180] Using package ThermoPower with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.GasComponents.TestGT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGT") translateModel(ThermoPower.Test.GasComponents.TestGT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGT") [Timeout 660] "Notification: ThermoPower requested package Modelica of version 4.0.0. Modelica 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.002117/0.002117, allocations: 67.91 kB / 417.6 MB, free: 0.707 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2974/0.2996, allocations: 60.46 MB / 478.1 MB, free: 15.53 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGT): time 0.2076/0.5071, allocations: 158.7 MB / 0.6218 GB, free: 3.027 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.004315/0.5114, allocations: 2.104 MB / 0.6239 GB, free: 0.918 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004044/0.5118, allocations: 15.88 kB / 0.6239 GB, free: 0.9023 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001033/0.5129, allocations: 365.6 kB / 0.6242 GB, free: 0.543 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001616/0.5145, allocations: 0.8673 MB / 0.6251 GB, free: 15.67 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002784/0.5173, allocations: 1.133 MB / 0.6262 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.002302/0.5196, allocations: 1.879 MB / 0.628 GB, free: 12.67 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008683/0.5204, allocations: 0.575 MB / 0.6286 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001667/0.5221, allocations: 1.109 MB / 0.6296 GB, free: 10.96 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0011/0.5232, allocations: 0.8176 MB / 0.6304 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001509/0.5234, allocations: 84 kB / 0.6305 GB, free: 10.06 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001424/0.5248, allocations: 0.639 MB / 0.6312 GB, free: 9.422 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0007556/0.5255, allocations: 0.8024 MB / 0.6319 GB, free: 8.617 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0008829/0.5264, allocations: 0.7614 MB / 0.6327 GB, free: 7.852 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.002996/0.5294, allocations: 2.483 MB / 0.6351 GB, free: 5.359 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.5294, allocations: 3.938 kB / 0.6351 GB, free: 5.355 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.124e-06/0.5294, allocations: 0 / 0.6351 GB, free: 5.355 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 2.804e-05/0.5295, allocations: 0 / 0.6351 GB, free: 5.355 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 224 * Number of variables: 224 Notification: Performance of Generate backend data structure: time 0.003972/0.5334, allocations: 2.401 MB / 0.6375 GB, free: 2.906 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.204e-05/0.5335, allocations: 8.031 kB / 0.6375 GB, free: 2.898 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000984/0.5345, allocations: 318.4 kB / 0.6378 GB, free: 2.586 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002126/0.5366, allocations: 1.333 MB / 0.6391 GB, free: 1.199 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001425/0.5367, allocations: 121.4 kB / 0.6392 GB, free: 1.07 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001402/0.5369, allocations: 103.9 kB / 0.6393 GB, free: 0.9688 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2291/0.766, allocations: 1.831 MB / 0.6411 GB, free: 170.1 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.38e-05/0.766, allocations: 5.312 kB / 0.6411 GB, free: 170.1 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001381/0.7662, allocations: 43.78 kB / 0.6411 GB, free: 170.1 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.127e-05/0.7663, allocations: 36.14 kB / 0.6411 GB, free: 170.1 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001541/0.7678, allocations: 0.8207 MB / 0.642 GB, free: 169.8 MB / 0.5294 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006316/0.7741, allocations: 4.062 MB / 0.6459 GB, free: 167.3 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006002/0.7747, allocations: 294.8 kB / 0.6462 GB, free: 167.1 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002157/0.7749, allocations: 132.9 kB / 0.6463 GB, free: 167.1 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 4.664e-05/0.775, allocations: 9.344 kB / 0.6463 GB, free: 167.1 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.845e-05/0.775, allocations: 47 kB / 0.6464 GB, free: 167 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=38): time 2.234e-06/0.775, allocations: 0 / 0.6464 GB, free: 167 MB / 0.5294 GB Notification: Performance of matching and sorting (n=40): time 0.002287/0.7773, allocations: 1.609 MB / 0.6479 GB, free: 166 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.717e-05/0.7773, allocations: 89.48 kB / 0.648 GB, free: 165.9 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00297/0.7803, allocations: 3.001 MB / 0.651 GB, free: 164.6 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.007e-05/0.7804, allocations: 38.36 kB / 0.651 GB, free: 164.5 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005011/0.7809, allocations: 0.9939 MB / 0.652 GB, free: 163.7 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 6.978e-05/0.7809, allocations: 149.4 kB / 0.6521 GB, free: 163.5 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001696/0.7811, allocations: 130.7 kB / 0.6522 GB, free: 163.5 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 5.735e-05/0.7812, allocations: 334.7 kB / 0.6526 GB, free: 163.1 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000305/0.7815, allocations: 204.2 kB / 0.6528 GB, free: 163 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003762/0.7818, allocations: 394.6 kB / 0.6531 GB, free: 162.7 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006105/0.7824, allocations: 0.5721 MB / 0.6537 GB, free: 162.2 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.7824, allocations: 3.594 kB / 0.6537 GB, free: 162.2 MB / 0.5294 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001008/0.7835, allocations: 0.8314 MB / 0.6545 GB, free: 161.3 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.7835, allocations: 4 kB / 0.6545 GB, free: 161.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.716e-06/0.7835, allocations: 8 kB / 0.6545 GB, free: 161.3 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.962e-05/0.7835, allocations: 8 kB / 0.6545 GB, free: 161.3 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009909/0.7845, allocations: 226.7 kB / 0.6547 GB, free: 161.1 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003809/0.7849, allocations: 1.204 MB / 0.6559 GB, free: 159.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006363/0.7855, allocations: 31.92 kB / 0.6559 GB, free: 159.8 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.211e-05/0.7856, allocations: 35.98 kB / 0.656 GB, free: 159.8 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 1 (BooleanStep1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005354/0.7861, allocations: 0.5957 MB / 0.6566 GB, free: 159.2 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002099/0.7863, allocations: 198.1 kB / 0.6568 GB, free: 159 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006612/0.787, allocations: 0.5043 MB / 0.6572 GB, free: 158.5 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.509e-06/0.787, allocations: 7.938 kB / 0.6573 GB, free: 158.5 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.787, allocations: 0 / 0.6573 GB, free: 158.5 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.787, allocations: 4 kB / 0.6573 GB, free: 158.4 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001942/0.7889, allocations: 1.556 MB / 0.6588 GB, free: 156.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.7889, allocations: 3.312 kB / 0.6588 GB, free: 156.9 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007336/0.7897, allocations: 135.8 kB / 0.6589 GB, free: 156.7 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.7897, allocations: 4 kB / 0.6589 GB, free: 156.7 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.483e-05/0.7897, allocations: 11.94 kB / 0.6589 GB, free: 156.7 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003398/0.79, allocations: 1.195 MB / 0.6601 GB, free: 155.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.79, allocations: 3.938 kB / 0.6601 GB, free: 155.5 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007766/0.7908, allocations: 0.7414 MB / 0.6608 GB, free: 154.7 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004975/0.7913, allocations: 298.7 kB / 0.6611 GB, free: 154.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001415/0.7914, allocations: 8 kB / 0.6611 GB, free: 154.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006842/0.7921, allocations: 35.91 kB / 0.6611 GB, free: 154.4 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.818e-05/0.7922, allocations: 27.95 kB / 0.6612 GB, free: 154.3 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.33e-05/0.7922, allocations: 27.97 kB / 0.6612 GB, free: 154.3 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001902/0.7941, allocations: 2.121 MB / 0.6633 GB, free: 152.2 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.7941, allocations: 0 / 0.6633 GB, free: 152.2 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0008565/0.795, allocations: 327.8 kB / 0.6636 GB, free: 151.9 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (Generator.phi,Generator.omega_m,Generator.omega_e_filt,Grid.port.theta) * Number of discrete variables: 1 (BooleanStep1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001774/0.7968, allocations: 0.5855 MB / 0.6642 GB, free: 151.5 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.000797/0.7976, allocations: 453.5 kB / 0.6646 GB, free: 151 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/0.7976, allocations: 0.5 kB / 0.6646 GB, free: 151 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002776/0.7978, allocations: 155.8 kB / 0.6647 GB, free: 150.9 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001246/0.7991, allocations: 314.3 kB / 0.665 GB, free: 150.6 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003863/0.803, allocations: 3.68 MB / 0.6686 GB, free: 146.9 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007199/0.8037, allocations: 0.9017 MB / 0.6695 GB, free: 146 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0005853/0.8043, allocations: 273.2 kB / 0.6698 GB, free: 145.7 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002029/0.8045, allocations: 92.48 kB / 0.6699 GB, free: 145.6 MB / 0.5294 GB Notification: Performance of SimCode: time 6.01e-07/0.8045, allocations: 0 / 0.6699 GB, free: 145.6 MB / 0.5294 GB Notification: Performance of Templates: time 0.02816/0.8326, allocations: 20.03 MB / 0.6894 GB, free: 125.8 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGT.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGT.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGT.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGT.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGT.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGT -abortSlowSimulation -alarm=480 -s gbode -gbnls=internal -gberr=embedded -gbm=esdirk4 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGT.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.972535531967878] Failed to read output from testmodel.py, exit status != 0: 0.8407692749751732 0.849052817 0.31740189499999993 Calling exit ...