Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_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.00145/0.00145, 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.001537/0.001537, allocations: 206.9 kB / 23.72 MB, free: 4.391 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.513/1.513, allocations: 207.7 MB / 234.6 MB, free: 9.809 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.3276/0.3276, allocations: 49.61 MB / 336.4 MB, free: 3.98 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.GasComponents.TestGT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestGT") translateModel(ThermoPower.Test.GasComponents.TestGT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestGT") [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.002455/0.002455, allocations: 71.91 kB / 476.8 MB, free: 12.28 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1344/0.1368, allocations: 62.43 MB / 0.5266 GB, free: 13.66 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGT): time 0.4812/0.618, allocations: 161.4 MB / 0.6843 GB, free: 3.5 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.003974/0.622, allocations: 1.88 MB / 0.6861 GB, free: 1.617 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006276/0.6226, allocations: 15.88 kB / 0.6861 GB, free: 1.602 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001235/0.6239, allocations: 357.6 kB / 0.6865 GB, free: 1.25 MB / 0.5137 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.001897/0.6258, allocations: 0.8167 MB / 0.6873 GB, free: 440 kB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002981/0.6288, allocations: 1.065 MB / 0.6883 GB, free: 15.37 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.002997/0.6317, allocations: 1.91 MB / 0.6902 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001374/0.6331, allocations: 0.5632 MB / 0.6907 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001816/0.6349, allocations: 0.8483 MB / 0.6915 GB, free: 12.03 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001593/0.6365, allocations: 0.8138 MB / 0.6923 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0003346/0.6369, allocations: 84 kB / 0.6924 GB, free: 11.13 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001833/0.6387, allocations: 0.6116 MB / 0.693 GB, free: 10.52 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.000892/0.6396, allocations: 0.8102 MB / 0.6938 GB, free: 9.703 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001374/0.641, allocations: 0.7536 MB / 0.6945 GB, free: 8.945 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.003434/0.6444, allocations: 2.451 MB / 0.6969 GB, free: 6.488 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.6444, allocations: 0 / 0.6969 GB, free: 6.488 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.744e-06/0.6444, allocations: 4 kB / 0.6969 GB, free: 6.484 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.226e-05/0.6444, allocations: 3.938 kB / 0.6969 GB, free: 6.48 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.003977/0.6484, allocations: 2.362 MB / 0.6992 GB, free: 4.07 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/0.6485, allocations: 12.03 kB / 0.6993 GB, free: 4.059 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009382/0.6494, allocations: 318.3 kB / 0.6996 GB, free: 3.746 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002398/0.6518, allocations: 1.328 MB / 0.7009 GB, free: 2.359 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001368/0.6519, allocations: 121.4 kB / 0.701 GB, free: 2.23 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001387/0.6521, allocations: 91.97 kB / 0.7011 GB, free: 2.141 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002278/0.6543, allocations: 1.844 MB / 0.7029 GB, free: 68 kB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.757e-05/0.6544, allocations: 0 / 0.7029 GB, free: 68 kB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001004/0.6545, allocations: 40 kB / 0.7029 GB, free: 28 kB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.278e-05/0.6545, allocations: 34.05 kB / 0.7029 GB, free: 15.99 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001391/0.6559, allocations: 0.8245 MB / 0.7037 GB, free: 15.17 MB / 0.545 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.007677/0.6636, allocations: 4.05 MB / 0.7077 GB, free: 11.02 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006871/0.6643, allocations: 289.3 kB / 0.708 GB, free: 10.72 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003079/0.6646, allocations: 137.5 kB / 0.7081 GB, free: 10.58 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.651e-05/0.6646, allocations: 8.594 kB / 0.7081 GB, free: 10.57 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.977e-05/0.6647, allocations: 42.56 kB / 0.7081 GB, free: 10.52 MB / 0.545 GB Notification: Performance of pre-optimization done (n=38): time 2.544e-06/0.6647, allocations: 3.938 kB / 0.7081 GB, free: 10.52 MB / 0.545 GB Notification: Performance of matching and sorting (n=40): time 0.002776/0.6674, allocations: 1.589 MB / 0.7097 GB, free: 8.887 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.23e-05/0.6675, allocations: 85.11 kB / 0.7098 GB, free: 8.785 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003764/0.6713, allocations: 2.971 MB / 0.7127 GB, free: 5.773 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0001011/0.6714, allocations: 33.7 kB / 0.7127 GB, free: 5.734 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009272/0.6723, allocations: 0.9926 MB / 0.7137 GB, free: 4.73 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001607/0.6725, allocations: 158.7 kB / 0.7138 GB, free: 4.574 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00024/0.6727, allocations: 126.2 kB / 0.714 GB, free: 4.441 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.00017/0.6729, allocations: 334 kB / 0.7143 GB, free: 4.109 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003947/0.6733, allocations: 209.1 kB / 0.7145 GB, free: 3.906 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005668/0.6738, allocations: 394 kB / 0.7148 GB, free: 3.434 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008854/0.6747, allocations: 0.5726 MB / 0.7154 GB, free: 2.781 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.6747, allocations: 0 / 0.7154 GB, free: 2.781 MB / 0.545 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001442/0.6762, allocations: 0.8185 MB / 0.7162 GB, free: 1.957 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.537e-05/0.6762, allocations: 8.781 kB / 0.7162 GB, free: 1.949 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.323e-05/0.6762, allocations: 7.938 kB / 0.7162 GB, free: 1.941 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.876e-05/0.6762, allocations: 16 kB / 0.7162 GB, free: 1.926 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001102/0.6773, allocations: 218.4 kB / 0.7164 GB, free: 1.715 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008445/0.6782, allocations: 1.209 MB / 0.7176 GB, free: 472 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006732/0.6789, allocations: 31.97 kB / 0.7177 GB, free: 440 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.69e-05/0.6789, allocations: 32 kB / 0.7177 GB, free: 408 kB / 0.545 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.0009813/0.6799, allocations: 0.5913 MB / 0.7183 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003075/0.6802, allocations: 194.7 kB / 0.7185 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009076/0.6811, allocations: 0.4996 MB / 0.7189 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.853e-06/0.6811, allocations: 4 kB / 0.7189 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.184e-06/0.6811, allocations: 3.938 kB / 0.7189 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.119e-06/0.6811, allocations: 4 kB / 0.719 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002926/0.6841, allocations: 1.537 MB / 0.7205 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.6841, allocations: 8.047 kB / 0.7205 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007465/0.6848, allocations: 144.6 kB / 0.7206 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.414e-06/0.6848, allocations: 0 / 0.7206 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.201e-05/0.6849, allocations: 12 kB / 0.7206 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008075/0.6857, allocations: 1.196 MB / 0.7218 GB, free: 12.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.6857, allocations: 0 / 0.7218 GB, free: 12.1 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001157/0.6868, allocations: 0.7357 MB / 0.7225 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008794/0.6877, allocations: 294.7 kB / 0.7228 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002028/0.6879, allocations: 15.94 kB / 0.7228 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007519/0.6887, allocations: 27.97 kB / 0.7228 GB, free: 11.01 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.317e-05/0.6887, allocations: 31.89 kB / 0.7228 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.386e-05/0.6888, allocations: 23.97 kB / 0.7229 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003171/0.692, allocations: 2.105 MB / 0.7249 GB, free: 8.836 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.692, allocations: 0 / 0.7249 GB, free: 8.836 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001049/0.693, allocations: 327.8 kB / 0.7252 GB, free: 8.516 MB / 0.5606 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.002136/0.6952, allocations: 0.576 MB / 0.7258 GB, free: 7.934 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001075/0.6962, allocations: 442.9 kB / 0.7262 GB, free: 7.496 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.42e-06/0.6962, allocations: 4.5 kB / 0.7262 GB, free: 7.492 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003738/0.6966, allocations: 160.4 kB / 0.7264 GB, free: 7.336 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00151/0.6981, allocations: 311 kB / 0.7267 GB, free: 7.027 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006506/0.7046, allocations: 3.664 MB / 0.7303 GB, free: 3.316 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001368/0.706, allocations: 0.8891 MB / 0.7311 GB, free: 2.391 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001251/0.7073, allocations: 305.1 kB / 0.7314 GB, free: 2.09 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003372/0.7076, allocations: 99.42 kB / 0.7315 GB, free: 1.992 MB / 0.5606 GB Notification: Performance of SimCode: time 8.61e-07/0.7076, allocations: 0 / 0.7315 GB, free: 1.992 MB / 0.5606 GB Notification: Performance of Templates: time 0.04133/0.7489, allocations: 22.16 MB / 0.7532 GB, free: 11.79 MB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f ThermoPower_ThermoPower.Test.GasComponents.TestGT.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.GasComponents.TestGT.pipe ; mkfifo ThermoPower_ThermoPower.Test.GasComponents.TestGT.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.GasComponents.TestGT.pipe >> ../files/ThermoPower_ThermoPower.Test.GasComponents.TestGT.sim & ./ThermoPower_ThermoPower.Test.GasComponents.TestGT -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.GasComponents.TestGT.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.576823016628623] Failed to read output from testmodel.py, exit status != 0: 0.758672047406435 1.023916782 0.376029187 Calling exit ...