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.001404/0.001404, allocations: 111.1 kB / 20.44 MB, free: 1.352 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.001522/0.001522, allocations: 213.3 kB / 23.73 MB, free: 4.531 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.464/1.464, allocations: 230.6 MB / 257.5 MB, free: 7.801 MB / 206.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.1616/0.1616, allocations: 26.83 MB / 340.7 MB, free: 7.973 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.002053/0.002053, allocations: 76.08 kB / 477.3 MB, free: 3.004 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4375/0.4396, allocations: 60.48 MB / 0.5251 GB, free: 9.938 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGT): time 0.2519/0.6915, allocations: 158.7 MB / 0.6802 GB, free: 5.637 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.004973/0.6965, allocations: 2.104 MB / 0.6822 GB, free: 3.527 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008218/0.6973, allocations: 15.88 kB / 0.6822 GB, free: 3.512 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001339/0.6986, allocations: 369.6 kB / 0.6826 GB, free: 3.148 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.002394/0.701, allocations: 0.8674 MB / 0.6834 GB, free: 2.277 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003212/0.7042, allocations: 1.115 MB / 0.6845 GB, free: 1.18 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002925/0.7072, allocations: 1.933 MB / 0.6864 GB, free: 15.24 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001167/0.7083, allocations: 0.5905 MB / 0.687 GB, free: 14.63 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002101/0.7104, allocations: 0.867 MB / 0.6878 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001661/0.7121, allocations: 0.8292 MB / 0.6886 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0003358/0.7124, allocations: 84 kB / 0.6887 GB, free: 12.85 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00201/0.7144, allocations: 0.6351 MB / 0.6893 GB, free: 12.21 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0008743/0.7153, allocations: 0.8102 MB / 0.6901 GB, free: 11.4 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001189/0.7165, allocations: 0.7574 MB / 0.6909 GB, free: 10.64 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.003418/0.7199, allocations: 2.487 MB / 0.6933 GB, free: 8.145 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.7199, allocations: 0 / 0.6933 GB, free: 8.145 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.894e-06/0.7199, allocations: 0 / 0.6933 GB, free: 8.145 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.134e-05/0.72, allocations: 3.938 kB / 0.6933 GB, free: 8.141 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.005125/0.7251, allocations: 2.389 MB / 0.6956 GB, free: 5.703 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.216e-05/0.7252, allocations: 12.03 kB / 0.6956 GB, free: 5.691 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001561/0.7267, allocations: 314.4 kB / 0.6959 GB, free: 5.383 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003459/0.7302, allocations: 1.344 MB / 0.6973 GB, free: 3.984 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001662/0.7304, allocations: 121.4 kB / 0.6974 GB, free: 3.855 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002113/0.7306, allocations: 87.95 kB / 0.6975 GB, free: 3.77 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002742/0.7333, allocations: 1.846 MB / 0.6993 GB, free: 1.691 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.188e-05/0.7334, allocations: 4 kB / 0.6993 GB, free: 1.688 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001304/0.7335, allocations: 40 kB / 0.6993 GB, free: 1.648 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.545e-05/0.7335, allocations: 41.98 kB / 0.6993 GB, free: 1.609 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001517/0.7351, allocations: 0.8196 MB / 0.7001 GB, free: 0.7852 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.008244/0.7433, allocations: 4.055 MB / 0.7041 GB, free: 12.63 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007173/0.744, allocations: 297.8 kB / 0.7044 GB, free: 12.32 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002631/0.7443, allocations: 126.6 kB / 0.7045 GB, free: 12.19 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 4.006e-05/0.7443, allocations: 8 kB / 0.7045 GB, free: 12.18 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.879e-05/0.7444, allocations: 54.48 kB / 0.7046 GB, free: 12.12 MB / 0.545 GB Notification: Performance of pre-optimization done (n=38): time 2.995e-06/0.7444, allocations: 0 / 0.7046 GB, free: 12.12 MB / 0.545 GB Notification: Performance of matching and sorting (n=40): time 0.003132/0.7475, allocations: 1.605 MB / 0.7061 GB, free: 10.48 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.922e-05/0.7476, allocations: 89.09 kB / 0.7062 GB, free: 10.37 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0043/0.7519, allocations: 3 MB / 0.7091 GB, free: 7.332 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 8.29e-05/0.752, allocations: 37.7 kB / 0.7092 GB, free: 7.289 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009695/0.7529, allocations: 0.9966 MB / 0.7102 GB, free: 6.281 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001595/0.7531, allocations: 150.8 kB / 0.7103 GB, free: 6.133 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002146/0.7533, allocations: 130.2 kB / 0.7104 GB, free: 6 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001737/0.7535, allocations: 334 kB / 0.7107 GB, free: 5.668 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003991/0.7539, allocations: 201.2 kB / 0.7109 GB, free: 5.469 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005726/0.7545, allocations: 402 kB / 0.7113 GB, free: 4.996 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009294/0.7554, allocations: 0.5642 MB / 0.7119 GB, free: 4.348 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.995e-06/0.7554, allocations: 4 kB / 0.7119 GB, free: 4.344 MB / 0.545 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001588/0.757, allocations: 0.8269 MB / 0.7127 GB, free: 3.508 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.742e-05/0.757, allocations: 18.98 kB / 0.7127 GB, free: 3.492 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.237e-05/0.757, allocations: 4 kB / 0.7127 GB, free: 3.488 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.903e-05/0.7571, allocations: 12 kB / 0.7127 GB, free: 3.477 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001116/0.7582, allocations: 215.7 kB / 0.7129 GB, free: 3.266 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009159/0.7591, allocations: 1.207 MB / 0.7141 GB, free: 2.012 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006992/0.7598, allocations: 32.11 kB / 0.7141 GB, free: 1.98 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.375e-05/0.7599, allocations: 36 kB / 0.7142 GB, free: 1.945 MB / 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.0008867/0.7608, allocations: 0.5872 MB / 0.7147 GB, free: 1.348 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003417/0.7611, allocations: 198.7 kB / 0.7149 GB, free: 1.152 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009482/0.762, allocations: 0.5069 MB / 0.7154 GB, free: 0.6406 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.325e-06/0.7621, allocations: 8 kB / 0.7154 GB, free: 0.6328 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.735e-06/0.7621, allocations: 4 kB / 0.7154 GB, free: 0.6289 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.304e-06/0.7621, allocations: 3.984 kB / 0.7154 GB, free: 0.625 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00303/0.7651, allocations: 1.566 MB / 0.717 GB, free: 15 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/0.7651, allocations: 0 / 0.717 GB, free: 15 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007681/0.7659, allocations: 131.9 kB / 0.7171 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.482e-06/0.7659, allocations: 0 / 0.7171 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.544e-05/0.7659, allocations: 11.98 kB / 0.7171 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000842/0.7668, allocations: 1.199 MB / 0.7183 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.676e-06/0.7668, allocations: 0 / 0.7183 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001203/0.768, allocations: 0.7448 MB / 0.719 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008597/0.7688, allocations: 298.6 kB / 0.7193 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000222/0.769, allocations: 8 kB / 0.7193 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007208/0.7698, allocations: 35.97 kB / 0.7193 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.326e-05/0.7698, allocations: 23.95 kB / 0.7193 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.098e-05/0.7699, allocations: 27.97 kB / 0.7194 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00324/0.7732, allocations: 2.122 MB / 0.7214 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7732, allocations: 0 / 0.7214 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001441/0.7746, allocations: 331.8 kB / 0.7218 GB, free: 9.996 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.002273/0.7769, allocations: 0.5745 MB / 0.7223 GB, free: 9.57 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001167/0.778, allocations: 449.9 kB / 0.7228 GB, free: 9.133 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 8.326e-06/0.778, allocations: 0.5 kB / 0.7228 GB, free: 9.129 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0005266/0.7786, allocations: 155.8 kB / 0.7229 GB, free: 8.977 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001789/0.7804, allocations: 307.6 kB / 0.7232 GB, free: 8.676 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006877/0.7872, allocations: 3.695 MB / 0.7268 GB, free: 4.938 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001513/0.7888, allocations: 0.9007 MB / 0.7277 GB, free: 4 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0009499/0.7897, allocations: 273.2 kB / 0.7279 GB, free: 3.73 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003365/0.79, allocations: 87.42 kB / 0.728 GB, free: 3.645 MB / 0.5606 GB Notification: Performance of SimCode: time 8.11e-07/0.79, allocations: 0 / 0.728 GB, free: 3.645 MB / 0.5606 GB Notification: Performance of Templates: time 0.2571/1.047, allocations: 22.29 MB / 0.7498 GB, free: 186.1 MB / 0.5606 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.480981243774295] Failed to read output from testmodel.py, exit status != 0: 1.0566159784793854 1.0657256309999998 0.34357730799999997 Calling exit ...