Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbineStodola.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo", uses=false) Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ThermoPower.Test.GasComponents.TestGasTurbineStodola,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbineStodola") translateModel(ThermoPower.Test.GasComponents.TestGasTurbineStodola,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbineStodola") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001737/0.001737, allocations: 186.5 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.389/1.389, allocations: 205.1 MB / 223.1 MB, free: 8.488 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009587/0.0009585, allocations: 94.28 kB / 270.5 MB, free: 8.453 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.395/0.395, allocations: 48.84 MB / 366.7 MB, free: 46.57 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001059/0.00106, allocations: 51.92 kB / 436.6 MB, free: 11.45 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1067/0.1078, allocations: 59.15 MB / 495.7 MB, free: 164 kB / 378.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGasTurbineStodola): time 0.376/0.4838, allocations: 168.7 MB / 0.6489 GB, free: 10.57 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.005246/0.4891, allocations: 3.892 MB / 0.6527 GB, free: 6.672 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004274/0.4896, allocations: 11.94 kB / 0.6527 GB, free: 6.66 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000775/0.4904, allocations: 230.8 kB / 0.6529 GB, free: 6.434 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007732/0.4912, allocations: 422 kB / 0.6533 GB, free: 6.02 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003128/0.4943, allocations: 1.328 MB / 0.6546 GB, free: 4.707 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.001446/0.4958, allocations: 1.626 MB / 0.6562 GB, free: 3.078 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003909/0.4962, allocations: 312.7 kB / 0.6565 GB, free: 2.777 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000513/0.4967, allocations: 406.4 kB / 0.6569 GB, free: 2.379 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004713/0.4972, allocations: 434.4 kB / 0.6573 GB, free: 1.953 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 7.195e-05/0.4973, allocations: 24 kB / 0.6573 GB, free: 1.93 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002656/0.4999, allocations: 1.692 MB / 0.659 GB, free: 236 kB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002944/0.5003, allocations: 287.2 kB / 0.6593 GB, free: 15.95 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003599/0.5006, allocations: 382 kB / 0.6596 GB, free: 15.57 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001804/0.5024, allocations: 1.683 MB / 0.6613 GB, free: 13.89 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.5025, allocations: 3.938 kB / 0.6613 GB, free: 13.88 MB / 490.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.5025, allocations: 0 / 0.6613 GB, free: 13.88 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.516e-06/0.5025, allocations: 0 / 0.6613 GB, free: 13.88 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.001718/0.5042, allocations: 1.121 MB / 0.6624 GB, free: 12.71 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.395e-05/0.5042, allocations: 8.031 kB / 0.6624 GB, free: 12.71 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006247/0.5049, allocations: 142.8 kB / 0.6625 GB, free: 12.57 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007629/0.5056, allocations: 0.5119 MB / 0.663 GB, free: 12.01 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.087e-05/0.5057, allocations: 37.31 kB / 0.663 GB, free: 11.98 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.3e-05/0.5058, allocations: 48 kB / 0.6631 GB, free: 11.93 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009482/0.5067, allocations: 0.612 MB / 0.6637 GB, free: 11.3 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.673e-05/0.5067, allocations: 0 / 0.6637 GB, free: 11.3 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.018e-05/0.5068, allocations: 28.62 kB / 0.6637 GB, free: 11.28 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.099e-05/0.5068, allocations: 15.94 kB / 0.6637 GB, free: 11.26 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006866/0.5075, allocations: 473 kB / 0.6642 GB, free: 10.8 MB / 490.7 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.003956/0.5115, allocations: 2.316 MB / 0.6664 GB, free: 8.32 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002639/0.5118, allocations: 134.6 kB / 0.6666 GB, free: 8.18 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.955e-05/0.5119, allocations: 56.84 kB / 0.6666 GB, free: 8.121 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002652/0.5121, allocations: 125.1 kB / 0.6668 GB, free: 7.98 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.263e-05/0.5122, allocations: 39.19 kB / 0.6668 GB, free: 7.934 MB / 490.7 MB Notification: Performance of pre-optimization done (n=15): time 2.054e-06/0.5122, allocations: 0 / 0.6668 GB, free: 7.934 MB / 490.7 MB Notification: Performance of matching and sorting (n=15): time 0.0005165/0.5127, allocations: 240.7 kB / 0.667 GB, free: 7.691 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.335e-05/0.5128, allocations: 55.39 kB / 0.6671 GB, free: 7.625 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001118/0.5139, allocations: 0.977 MB / 0.668 GB, free: 6.637 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.231e-05/0.514, allocations: 37.69 kB / 0.6681 GB, free: 6.594 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003182/0.5143, allocations: 387.2 kB / 0.6684 GB, free: 6.207 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.511e-05/0.5143, allocations: 63.19 kB / 0.6685 GB, free: 6.145 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001361/0.5145, allocations: 82.03 kB / 0.6686 GB, free: 6.059 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001266/0.5146, allocations: 325.9 kB / 0.6689 GB, free: 5.734 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000205/0.5148, allocations: 126.1 kB / 0.669 GB, free: 5.605 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002906/0.5151, allocations: 254.3 kB / 0.6692 GB, free: 5.297 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004352/0.5156, allocations: 349.7 kB / 0.6696 GB, free: 4.891 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.4e-06/0.5156, allocations: 1 kB / 0.6696 GB, free: 4.891 MB / 490.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007062/0.5163, allocations: 464.6 kB / 0.67 GB, free: 4.43 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.979e-05/0.5163, allocations: 8.062 kB / 0.67 GB, free: 4.422 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.03e-05/0.5163, allocations: 8 kB / 0.67 GB, free: 4.414 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.118e-05/0.5164, allocations: 7.938 kB / 0.67 GB, free: 4.406 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004897/0.5169, allocations: 115.8 kB / 0.6702 GB, free: 4.293 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004228/0.5173, allocations: 0.6054 MB / 0.6707 GB, free: 3.664 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004484/0.5178, allocations: 75.3 kB / 0.6708 GB, free: 3.59 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.487e-05/0.5178, allocations: 28 kB / 0.6708 GB, free: 3.562 MB / 490.7 MB Warning: Assuming fixed start value for the following 1 variables: ConstantSpeed1.phi:VARIABLE(unit = "rad" fixed = true ) "Angle of flange with respect to support (= flange.phi - support.phi)" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (48): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002841/0.5181, allocations: 250.4 kB / 0.6711 GB, free: 3.309 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001222/0.5182, allocations: 76.2 kB / 0.6712 GB, free: 3.234 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003611/0.5186, allocations: 221 kB / 0.6714 GB, free: 3.012 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.5186, allocations: 0 / 0.6714 GB, free: 3.012 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.5186, allocations: 0 / 0.6714 GB, free: 3.012 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.5186, allocations: 4 kB / 0.6714 GB, free: 3.008 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001139/0.5198, allocations: 0.7972 MB / 0.6721 GB, free: 2.145 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.5198, allocations: 6.125 kB / 0.6722 GB, free: 2.141 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002325/0.52, allocations: 43.97 kB / 0.6722 GB, free: 2.098 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.989e-06/0.52, allocations: 4 kB / 0.6722 GB, free: 2.094 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.503e-05/0.5201, allocations: 3.984 kB / 0.6722 GB, free: 2.09 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003094/0.5204, allocations: 0.6016 MB / 0.6728 GB, free: 1.465 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.5204, allocations: 3.984 kB / 0.6728 GB, free: 1.461 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002036/0.5224, allocations: 1.899 MB / 0.6746 GB, free: 15.41 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002242/0.5227, allocations: 172.2 kB / 0.6748 GB, free: 15.23 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.992e-05/0.5228, allocations: 8 kB / 0.6748 GB, free: 15.22 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003937/0.5232, allocations: 23.92 kB / 0.6748 GB, free: 15.2 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.625e-05/0.5232, allocations: 11.98 kB / 0.6749 GB, free: 15.19 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.624e-05/0.5232, allocations: 15.98 kB / 0.6749 GB, free: 15.17 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.0008008/0.524, allocations: 0.6942 MB / 0.6755 GB, free: 14.48 MB / 0.4949 GB Notification: Performance of sort global known variables: time 1.3e-07/0.524, allocations: 0 / 0.6755 GB, free: 14.48 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.0008361/0.5249, allocations: 283.8 kB / 0.6758 GB, free: 14.21 MB / 0.4949 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (ConstantSpeed1.phi) * 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 (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001323/0.5262, allocations: 0.5517 MB / 0.6764 GB, free: 13.7 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.0004667/0.5267, allocations: 243.3 kB / 0.6766 GB, free: 13.46 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 4.95e-06/0.5267, allocations: 5.125 kB / 0.6766 GB, free: 13.46 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.0001448/0.5269, allocations: 67.91 kB / 0.6767 GB, free: 13.39 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001541/0.5284, allocations: 311.3 kB / 0.677 GB, free: 13.08 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001936/0.5304, allocations: 1.526 MB / 0.6784 GB, free: 11.52 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004783/0.5309, allocations: 0.9215 MB / 0.6793 GB, free: 10.57 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.0004611/0.5313, allocations: 134.7 kB / 0.6795 GB, free: 10.44 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001148/0.5314, allocations: 51.42 kB / 0.6795 GB, free: 10.39 MB / 0.4949 GB Notification: Performance of SimCode: time 2.51e-07/0.5315, allocations: 8 kB / 0.6795 GB, free: 10.38 MB / 0.4949 GB Notification: Performance of Templates: time 0.2033/0.7348, allocations: 14.16 MB / 0.6934 GB, free: 162 MB / 0.4949 GB make -j1 -f ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbineStodola.makefile (rm -f ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbineStodola.pipe ; mkfifo ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbineStodola.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbineStodola.pipe >> ../files/ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbineStodola.sim & ./ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbineStodola -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbineStodola.pipe 2>&1)