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.001909/0.001909, allocations: 84.38 kB / 20.68 MB, free: 1.035 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.001416/0.001416, allocations: 168.4 kB / 23.96 MB, free: 4.16 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.58/1.58, allocations: 177.1 MB / 204.3 MB, free: 9.195 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.1727/0.1727, allocations: 19.74 MB / 280.4 MB, free: 12.93 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: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 417 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.652e-05/2.803e-05, allocations: 2.281 kB / 417 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGT): time 0.4233/0.4233, allocations: 158.7 MB / 0.5622 GB, free: 14.83 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004188/0.4275, allocations: 2.12 MB / 0.5643 GB, free: 12.7 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004809/0.428, allocations: 15.88 kB / 0.5643 GB, free: 12.69 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001151/0.4292, allocations: 365.5 kB / 0.5646 GB, free: 12.33 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001644/0.4308, allocations: 0.8823 MB / 0.5655 GB, free: 11.44 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002822/0.4336, allocations: 1.138 MB / 0.5666 GB, free: 10.32 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002527/0.4361, allocations: 1.928 MB / 0.5685 GB, free: 8.383 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009826/0.4371, allocations: 0.5867 MB / 0.5691 GB, free: 7.781 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001735/0.4389, allocations: 1.091 MB / 0.5701 GB, free: 6.688 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001053/0.4399, allocations: 0.7638 MB / 0.5709 GB, free: 5.922 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001883/0.4401, allocations: 84 kB / 0.571 GB, free: 5.84 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00165/0.4418, allocations: 0.6387 MB / 0.5716 GB, free: 5.199 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007907/0.4425, allocations: 0.8337 MB / 0.5724 GB, free: 4.363 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007514/0.4433, allocations: 0.6038 MB / 0.573 GB, free: 3.758 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002905/0.4462, allocations: 2.465 MB / 0.5754 GB, free: 1.285 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.942e-06/0.4462, allocations: 0 / 0.5754 GB, free: 1.285 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.4462, allocations: 0 / 0.5754 GB, free: 1.285 MB / 462.1 MB Notification: Performance of Transformations before backend: time 3.203e-05/0.4462, allocations: 0 / 0.5754 GB, free: 1.285 MB / 462.1 MB 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.003639/0.4499, allocations: 2.374 MB / 0.5777 GB, free: 14.86 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.659e-05/0.4499, allocations: 8.031 kB / 0.5777 GB, free: 14.86 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001017/0.4509, allocations: 318.4 kB / 0.578 GB, free: 14.54 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002141/0.4531, allocations: 1.341 MB / 0.5793 GB, free: 13.15 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001297/0.4532, allocations: 121.3 kB / 0.5795 GB, free: 13.02 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001362/0.4533, allocations: 91.94 kB / 0.5795 GB, free: 12.93 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002296/0.4556, allocations: 1.85 MB / 0.5814 GB, free: 10.86 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.47e-05/0.4557, allocations: 0 / 0.5814 GB, free: 10.86 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000114/0.4558, allocations: 40 kB / 0.5814 GB, free: 10.82 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.221e-05/0.4558, allocations: 41.98 kB / 0.5814 GB, free: 10.77 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001357/0.4572, allocations: 0.8196 MB / 0.5822 GB, free: 9.953 MB / 478.1 MB 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.0072/0.4644, allocations: 4.041 MB / 0.5862 GB, free: 5.812 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007364/0.4651, allocations: 293.2 kB / 0.5865 GB, free: 5.508 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000263/0.4654, allocations: 130.6 kB / 0.5866 GB, free: 5.375 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.897e-05/0.4654, allocations: 4 kB / 0.5866 GB, free: 5.371 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.435e-05/0.4655, allocations: 46.56 kB / 0.5866 GB, free: 5.316 MB / 478.1 MB Notification: Performance of pre-optimization done (n=38): time 4.358e-06/0.4655, allocations: 3.984 kB / 0.5866 GB, free: 5.312 MB / 478.1 MB Notification: Performance of matching and sorting (n=40): time 0.002811/0.4683, allocations: 1.617 MB / 0.5882 GB, free: 3.656 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.119e-05/0.4684, allocations: 85.11 kB / 0.5883 GB, free: 3.555 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003712/0.4721, allocations: 3 MB / 0.5912 GB, free: 0.5156 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 7.427e-05/0.4721, allocations: 37.7 kB / 0.5913 GB, free: 484 kB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009013/0.473, allocations: 0.9888 MB / 0.5922 GB, free: 15.47 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001328/0.4732, allocations: 150.8 kB / 0.5924 GB, free: 15.32 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002181/0.4734, allocations: 126.2 kB / 0.5925 GB, free: 15.2 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.00016/0.4736, allocations: 338 kB / 0.5928 GB, free: 14.86 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003839/0.4739, allocations: 205.2 kB / 0.593 GB, free: 14.66 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005369/0.4745, allocations: 398 kB / 0.5934 GB, free: 14.19 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008781/0.4754, allocations: 0.5727 MB / 0.5939 GB, free: 13.53 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.4754, allocations: 4 kB / 0.5939 GB, free: 13.53 MB / 494.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001403/0.4768, allocations: 0.8243 MB / 0.5948 GB, free: 12.7 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.231e-05/0.4768, allocations: 8 kB / 0.5948 GB, free: 12.69 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.359e-05/0.4768, allocations: 8 kB / 0.5948 GB, free: 12.68 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.598e-05/0.4768, allocations: 11.94 kB / 0.5948 GB, free: 12.67 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001143/0.478, allocations: 218.8 kB / 0.595 GB, free: 12.46 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007934/0.4788, allocations: 1.207 MB / 0.5962 GB, free: 11.21 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006668/0.4794, allocations: 35.86 kB / 0.5962 GB, free: 11.17 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.835e-05/0.4795, allocations: 32 kB / 0.5962 GB, free: 11.14 MB / 494.1 MB 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.0008185/0.4803, allocations: 0.5911 MB / 0.5968 GB, free: 10.54 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002913/0.4806, allocations: 194.7 kB / 0.597 GB, free: 10.35 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008694/0.4815, allocations: 0.4977 MB / 0.5975 GB, free: 9.844 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.4815, allocations: 7.938 kB / 0.5975 GB, free: 9.836 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.201e-06/0.4815, allocations: 12.08 kB / 0.5975 GB, free: 9.824 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.87e-06/0.4815, allocations: 0 / 0.5975 GB, free: 9.824 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002564/0.4841, allocations: 1.569 MB / 0.599 GB, free: 8.207 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.4841, allocations: 0 / 0.599 GB, free: 8.207 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007713/0.4848, allocations: 128.9 kB / 0.5992 GB, free: 8.082 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.354e-06/0.4848, allocations: 6.25 kB / 0.5992 GB, free: 8.078 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.173e-05/0.4849, allocations: 15.92 kB / 0.5992 GB, free: 8.062 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007135/0.4856, allocations: 1.192 MB / 0.6003 GB, free: 6.824 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.01e-06/0.4856, allocations: 7.969 kB / 0.6003 GB, free: 6.816 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001111/0.4867, allocations: 0.7289 MB / 0.6011 GB, free: 6.062 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006118/0.4873, allocations: 302.6 kB / 0.6013 GB, free: 5.766 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000169/0.4875, allocations: 12 kB / 0.6014 GB, free: 5.754 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007047/0.4882, allocations: 31.91 kB / 0.6014 GB, free: 5.723 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.142e-05/0.4883, allocations: 32.14 kB / 0.6014 GB, free: 5.691 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.397e-05/0.4883, allocations: 23.97 kB / 0.6014 GB, free: 5.668 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002927/0.4912, allocations: 2.126 MB / 0.6035 GB, free: 3.523 MB / 494.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4912, allocations: 0 / 0.6035 GB, free: 3.523 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001056/0.4923, allocations: 327.8 kB / 0.6038 GB, free: 3.203 MB / 494.1 MB 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.002015/0.4943, allocations: 0.579 MB / 0.6044 GB, free: 2.773 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0009396/0.4952, allocations: 446.4 kB / 0.6048 GB, free: 2.336 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.915e-06/0.4953, allocations: 6.062 kB / 0.6048 GB, free: 2.328 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003602/0.4956, allocations: 159.5 kB / 0.605 GB, free: 2.172 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001491/0.4971, allocations: 309 kB / 0.6053 GB, free: 1.875 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005619/0.5027, allocations: 3.558 MB / 0.6088 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001032/0.5038, allocations: 0.8932 MB / 0.6096 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0007611/0.5045, allocations: 281.2 kB / 0.6099 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002717/0.5048, allocations: 96.48 kB / 0.61 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of SimCode: time 8.52e-07/0.5048, allocations: 0 / 0.61 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of Templates: time 0.03955/0.5443, allocations: 19.94 MB / 0.6295 GB, free: 9.227 MB / 0.5137 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 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGT.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.14405845105648] Failed to read output from testmodel.py, exit status != 0: 0.554216705262661 0.743308221 0.294262852 Calling exit ...