Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.GasComponents.TestCompressorInertia.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.00144/0.00144, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.00158/0.00158, allocations: 219.7 kB / 23.73 MB, free: 4.16 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.389/1.389, allocations: 207.7 MB / 234.6 MB, free: 9.812 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.3001/0.3001, allocations: 49.6 MB / 336.4 MB, free: 3.883 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.TestCompressorInertia,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestCompressorInertia") translateModel(ThermoPower.Test.GasComponents.TestCompressorInertia,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestCompressorInertia") [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.00237/0.00237, allocations: 71.91 kB / 476.8 MB, free: 12.27 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.123/0.1253, allocations: 62.43 MB / 0.5266 GB, free: 13.65 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestCompressorInertia): time 0.4032/0.5286, allocations: 147.5 MB / 0.6707 GB, free: 1.465 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00594/0.5345, allocations: 3.604 MB / 0.6742 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004876/0.535, allocations: 7.938 kB / 0.6742 GB, free: 13.85 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0009646/0.536, allocations: 262.3 kB / 0.6744 GB, free: 13.59 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.00153/0.5375, allocations: 0.5872 MB / 0.675 GB, free: 13 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004836/0.5423, allocations: 1.668 MB / 0.6766 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001823/0.5442, allocations: 1.352 MB / 0.678 GB, free: 9.98 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007416/0.5449, allocations: 357.7 kB / 0.6783 GB, free: 9.625 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001116/0.546, allocations: 0.545 MB / 0.6788 GB, free: 9.078 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009542/0.547, allocations: 0.5333 MB / 0.6794 GB, free: 8.543 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001605/0.5471, allocations: 60 kB / 0.6794 GB, free: 8.484 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001513/0.5486, allocations: 0.6235 MB / 0.68 GB, free: 7.859 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0005322/0.5492, allocations: 474.6 kB / 0.6805 GB, free: 7.395 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0007526/0.5499, allocations: 449.6 kB / 0.6809 GB, free: 6.953 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002397/0.5523, allocations: 1.556 MB / 0.6824 GB, free: 5.395 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.5523, allocations: 0 / 0.6824 GB, free: 5.395 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.034e-06/0.5523, allocations: 0 / 0.6824 GB, free: 5.395 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.488e-05/0.5524, allocations: 0 / 0.6824 GB, free: 5.395 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.003529/0.5559, allocations: 1.449 MB / 0.6838 GB, free: 3.91 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.561e-05/0.556, allocations: 8.031 kB / 0.6838 GB, free: 3.902 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000923/0.5569, allocations: 187 kB / 0.684 GB, free: 3.719 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001741/0.5586, allocations: 0.7823 MB / 0.6848 GB, free: 2.895 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.659e-05/0.5587, allocations: 45.31 kB / 0.6848 GB, free: 2.848 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.326e-05/0.5588, allocations: 52 kB / 0.6849 GB, free: 2.797 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001414/0.5602, allocations: 1.066 MB / 0.6859 GB, free: 1.613 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.1e-05/0.5602, allocations: 0 / 0.6859 GB, free: 1.613 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.156e-05/0.5603, allocations: 23.94 kB / 0.6859 GB, free: 1.59 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.755e-05/0.5603, allocations: 19.94 kB / 0.686 GB, free: 1.57 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008209/0.5611, allocations: 493 kB / 0.6864 GB, free: 1.086 MB / 0.5137 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.004219/0.5653, allocations: 1.818 MB / 0.6882 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003581/0.5657, allocations: 202.9 kB / 0.6884 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001332/0.5658, allocations: 72.83 kB / 0.6885 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002247/0.566, allocations: 31.97 kB / 0.6885 GB, free: 14.91 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.404e-05/0.5661, allocations: 38.56 kB / 0.6885 GB, free: 14.87 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=20): time 1.703e-06/0.5661, allocations: 0 / 0.6885 GB, free: 14.87 MB / 0.5294 GB Notification: Performance of matching and sorting (n=20): time 0.0006923/0.5668, allocations: 341.2 kB / 0.6889 GB, free: 14.53 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.917e-05/0.5668, allocations: 55.41 kB / 0.6889 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002063/0.5689, allocations: 1.652 MB / 0.6905 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.824e-05/0.5689, allocations: 33.7 kB / 0.6906 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005332/0.5695, allocations: 0.5785 MB / 0.6911 GB, free: 12.17 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 6.978e-05/0.5695, allocations: 75.38 kB / 0.6912 GB, free: 12.1 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001294/0.5697, allocations: 78.02 kB / 0.6913 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001799/0.5698, allocations: 322 kB / 0.6916 GB, free: 11.7 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002294/0.5701, allocations: 138.6 kB / 0.6917 GB, free: 11.56 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003014/0.5704, allocations: 230 kB / 0.6919 GB, free: 11.29 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004646/0.5708, allocations: 341.5 kB / 0.6923 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-06/0.5708, allocations: 3.938 kB / 0.6923 GB, free: 10.9 MB / 0.5294 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008257/0.5717, allocations: 496.5 kB / 0.6927 GB, free: 10.41 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.164e-05/0.5717, allocations: 11.94 kB / 0.6927 GB, free: 10.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.065e-05/0.5717, allocations: 4 kB / 0.6927 GB, free: 10.39 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.094e-05/0.5717, allocations: 4 kB / 0.6928 GB, free: 10.39 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005821/0.5723, allocations: 124.7 kB / 0.6929 GB, free: 10.27 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001253/0.5735, allocations: 1.794 MB / 0.6946 GB, free: 8.406 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003945/0.5739, allocations: 51.66 kB / 0.6947 GB, free: 8.355 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.018e-05/0.574, allocations: 23.98 kB / 0.6947 GB, free: 8.332 MB / 0.5294 GB Warning: Assuming fixed start value for the following 1 variables: Inertia1.phi:VARIABLE(unit = \"rad\" fixed = true ) \"Absolute rotation angle of component\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (47): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * 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): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000573/0.5746, allocations: 388.2 kB / 0.6951 GB, free: 7.945 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001848/0.5747, allocations: 107.3 kB / 0.6952 GB, free: 7.84 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005831/0.5753, allocations: 325.2 kB / 0.6955 GB, free: 7.512 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.5753, allocations: 0 / 0.6955 GB, free: 7.512 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.5753, allocations: 4 kB / 0.6955 GB, free: 7.508 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.5753, allocations: 3.984 kB / 0.6955 GB, free: 7.504 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007442/0.5761, allocations: 0.5265 MB / 0.696 GB, free: 6.949 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.5761, allocations: 0 / 0.696 GB, free: 6.949 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003756/0.5765, allocations: 75.92 kB / 0.6961 GB, free: 6.875 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.5765, allocations: 0 / 0.6961 GB, free: 6.875 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.847e-05/0.5765, allocations: 8 kB / 0.6961 GB, free: 6.867 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001172/0.5777, allocations: 1.789 MB / 0.6978 GB, free: 5.008 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.5777, allocations: 0.875 kB / 0.6978 GB, free: 5.008 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006871/0.5784, allocations: 472.7 kB / 0.6983 GB, free: 4.531 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000351/0.5787, allocations: 143.2 kB / 0.6984 GB, free: 4.391 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.497e-05/0.5788, allocations: 4 kB / 0.6984 GB, free: 4.387 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003943/0.5792, allocations: 19.98 kB / 0.6984 GB, free: 4.367 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.386e-05/0.5792, allocations: 11.97 kB / 0.6984 GB, free: 4.355 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.021e-05/0.5793, allocations: 20.3 kB / 0.6985 GB, free: 4.336 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001527/0.5808, allocations: 1.18 MB / 0.6996 GB, free: 3.148 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.5808, allocations: 0 / 0.6996 GB, free: 3.148 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0008075/0.5816, allocations: 259.4 kB / 0.6999 GB, free: 2.895 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (Inertia1.phi,Inertia1.w) * 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 (20): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * 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): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001883/0.5835, allocations: 0.5329 MB / 0.7004 GB, free: 2.355 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0006919/0.5842, allocations: 263.7 kB / 0.7006 GB, free: 2.098 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.991e-06/0.5842, allocations: 4 kB / 0.7006 GB, free: 2.094 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0003016/0.5845, allocations: 108.9 kB / 0.7007 GB, free: 1.988 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001018/0.5855, allocations: 212.1 kB / 0.701 GB, free: 1.781 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003059/0.5885, allocations: 2.043 MB / 0.7029 GB, free: 15.7 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006377/0.5892, allocations: 0.5126 MB / 0.7034 GB, free: 15.16 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0005118/0.5897, allocations: 198.5 kB / 0.7036 GB, free: 14.96 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000154/0.5899, allocations: 67.42 kB / 0.7037 GB, free: 14.89 MB / 0.545 GB Notification: Performance of SimCode: time 5.01e-07/0.5899, allocations: 0 / 0.7037 GB, free: 14.89 MB / 0.545 GB Notification: Performance of Templates: time 0.02729/0.6171, allocations: 14.96 MB / 0.7183 GB, free: 15.91 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ThermoPower_ThermoPower.Test.GasComponents.TestCompressorInertia.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.GasComponents.TestCompressorInertia.pipe ; mkfifo ThermoPower_ThermoPower.Test.GasComponents.TestCompressorInertia.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.GasComponents.TestCompressorInertia.pipe >> ../files/ThermoPower_ThermoPower.Test.GasComponents.TestCompressorInertia.sim & ./ThermoPower_ThermoPower.Test.GasComponents.TestCompressorInertia -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.GasComponents.TestCompressorInertia.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.845123466104269] Failed to read output from testmodel.py, exit status != 0: 0.6263916995376348 0.64199867 0.086342397 Calling exit ...