Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_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.001627/0.001627, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.001953/0.001953, allocations: 210 kB / 24.48 MB, free: 3.938 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.457/1.457, allocations: 230.6 MB / 258.2 MB, free: 7.789 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.1484/0.1484, allocations: 26.85 MB / 341.5 MB, free: 7.949 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.TestCompressorInertia,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestCompressorInertia") translateModel(ThermoPower.Test.GasComponents.TestCompressorInertia,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestCompressorInertia") [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.002098/0.002098, allocations: 75.86 kB / 478 MB, free: 2.988 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3/0.3021, allocations: 60.49 MB / 0.5259 GB, free: 9.754 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestCompressorInertia): time 0.1862/0.4883, allocations: 146.8 MB / 0.6693 GB, free: 1.383 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.005453/0.4937, allocations: 3.482 MB / 0.6727 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004188/0.4941, allocations: 11.88 kB / 0.6727 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0008965/0.495, allocations: 258.3 kB / 0.6729 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001374/0.4964, allocations: 0.6339 MB / 0.6736 GB, free: 12.99 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004084/0.5005, allocations: 1.614 MB / 0.6751 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001757/0.5022, allocations: 1.383 MB / 0.6765 GB, free: 10 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006507/0.5029, allocations: 388.4 kB / 0.6769 GB, free: 9.613 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009322/0.5038, allocations: 0.545 MB / 0.6774 GB, free: 9.066 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000825/0.5047, allocations: 0.5411 MB / 0.6779 GB, free: 8.523 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.000155/0.5048, allocations: 56 kB / 0.678 GB, free: 8.469 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001616/0.5064, allocations: 0.6781 MB / 0.6786 GB, free: 7.789 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0004971/0.5069, allocations: 470.6 kB / 0.6791 GB, free: 7.328 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0006573/0.5076, allocations: 449.6 kB / 0.6795 GB, free: 6.887 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002219/0.5098, allocations: 1.611 MB / 0.6811 GB, free: 5.273 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.5098, allocations: 0 / 0.6811 GB, free: 5.273 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.653e-06/0.5098, allocations: 0 / 0.6811 GB, free: 5.273 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 3.196e-05/0.5098, allocations: 0 / 0.6811 GB, free: 5.273 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.002648/0.5125, allocations: 1.465 MB / 0.6825 GB, free: 3.773 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.729e-05/0.5125, allocations: 12.03 kB / 0.6825 GB, free: 3.762 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008634/0.5134, allocations: 191 kB / 0.6827 GB, free: 3.574 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001536/0.5149, allocations: 0.8101 MB / 0.6835 GB, free: 2.727 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.346e-05/0.515, allocations: 41.31 kB / 0.6835 GB, free: 2.684 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.542e-05/0.5151, allocations: 48 kB / 0.6836 GB, free: 2.637 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001398/0.5165, allocations: 1.066 MB / 0.6846 GB, free: 1.453 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.116e-05/0.5165, allocations: 0 / 0.6846 GB, free: 1.453 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.516e-05/0.5165, allocations: 24 kB / 0.6847 GB, free: 1.43 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.376e-05/0.5166, allocations: 12 kB / 0.6847 GB, free: 1.418 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008046/0.5174, allocations: 489 kB / 0.6851 GB, free: 0.9375 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.004233/0.5216, allocations: 1.826 MB / 0.6869 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003634/0.522, allocations: 186.5 kB / 0.6871 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001326/0.5221, allocations: 76.86 kB / 0.6872 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002129/0.5223, allocations: 35.97 kB / 0.6872 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.473e-05/0.5223, allocations: 34.56 kB / 0.6872 GB, free: 14.72 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=20): time 1.623e-06/0.5223, allocations: 0 / 0.6872 GB, free: 14.72 MB / 0.5294 GB Notification: Performance of matching and sorting (n=20): time 0.0007346/0.5231, allocations: 341.2 kB / 0.6876 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.107e-05/0.5231, allocations: 55.41 kB / 0.6876 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002246/0.5254, allocations: 1.681 MB / 0.6893 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.694e-05/0.5254, allocations: 37.64 kB / 0.6893 GB, free: 12.58 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005171/0.5259, allocations: 0.5786 MB / 0.6899 GB, free: 12 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 7.364e-05/0.526, allocations: 87.31 kB / 0.6899 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001368/0.5262, allocations: 85.95 kB / 0.69 GB, free: 11.82 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000153/0.5263, allocations: 321.9 kB / 0.6903 GB, free: 11.5 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002471/0.5266, allocations: 138.6 kB / 0.6905 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003068/0.5269, allocations: 226 kB / 0.6907 GB, free: 11.09 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000506/0.5274, allocations: 341.4 kB / 0.691 GB, free: 10.71 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.5274, allocations: 0 / 0.691 GB, free: 10.71 MB / 0.5294 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008833/0.5282, allocations: 496.5 kB / 0.6915 GB, free: 10.22 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/0.5283, allocations: 8 kB / 0.6915 GB, free: 10.21 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.777e-06/0.5283, allocations: 4 kB / 0.6915 GB, free: 10.21 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.5283, allocations: 4 kB / 0.6915 GB, free: 10.2 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005462/0.5288, allocations: 119.8 kB / 0.6916 GB, free: 10.09 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001206/0.53, allocations: 1.794 MB / 0.6934 GB, free: 8.223 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003983/0.5304, allocations: 51.59 kB / 0.6934 GB, free: 8.172 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.335e-05/0.5305, allocations: 16 kB / 0.6934 GB, free: 8.156 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.00053/0.531, allocations: 385.4 kB / 0.6938 GB, free: 7.77 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002289/0.5312, allocations: 115.2 kB / 0.6939 GB, free: 7.656 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005563/0.5318, allocations: 330.3 kB / 0.6942 GB, free: 7.328 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.5318, allocations: 4.188 kB / 0.6942 GB, free: 7.324 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.5318, allocations: 0 / 0.6942 GB, free: 7.324 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.354e-06/0.5318, allocations: 7.938 kB / 0.6942 GB, free: 7.316 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007844/0.5326, allocations: 0.5346 MB / 0.6947 GB, free: 6.754 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.5326, allocations: 0 / 0.6947 GB, free: 6.754 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003487/0.533, allocations: 75.89 kB / 0.6948 GB, free: 6.68 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.011e-06/0.533, allocations: 3.984 kB / 0.6948 GB, free: 6.676 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.773e-05/0.533, allocations: 4 kB / 0.6948 GB, free: 6.672 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001118/0.5341, allocations: 1.774 MB / 0.6966 GB, free: 4.828 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/0.5341, allocations: 8.016 kB / 0.6966 GB, free: 4.82 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006853/0.5348, allocations: 483.8 kB / 0.697 GB, free: 4.332 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000353/0.5351, allocations: 135.3 kB / 0.6972 GB, free: 4.199 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.98e-05/0.5352, allocations: 7.984 kB / 0.6972 GB, free: 4.191 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003919/0.5356, allocations: 19.98 kB / 0.6972 GB, free: 4.172 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.276e-05/0.5357, allocations: 19.84 kB / 0.6972 GB, free: 4.152 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.156e-05/0.5357, allocations: 19.98 kB / 0.6972 GB, free: 4.133 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001572/0.5373, allocations: 1.193 MB / 0.6984 GB, free: 2.934 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.5373, allocations: 4 kB / 0.6984 GB, free: 2.93 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0007901/0.5381, allocations: 267.3 kB / 0.6986 GB, free: 2.668 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.001876/0.5399, allocations: 0.5412 MB / 0.6992 GB, free: 2.273 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.000692/0.5406, allocations: 271.8 kB / 0.6994 GB, free: 2.008 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.5406, allocations: 0 / 0.6994 GB, free: 2.008 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002845/0.5409, allocations: 108.8 kB / 0.6995 GB, free: 1.902 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001017/0.5419, allocations: 211.1 kB / 0.6997 GB, free: 1.699 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003228/0.5452, allocations: 2.115 MB / 0.7018 GB, free: 15.54 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006265/0.5458, allocations: 0.5118 MB / 0.7023 GB, free: 15 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001883/0.546, allocations: 83.36 kB / 0.7024 GB, free: 14.92 MB / 0.545 GB Notification: Performance of SimCode: time 4.31e-07/0.546, allocations: 0 / 0.7024 GB, free: 14.92 MB / 0.545 GB Notification: Performance of Templates: time 0.03581/0.5818, allocations: 25.48 MB / 0.7273 GB, free: 5.438 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestCompressorInertia.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestCompressorInertia.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestCompressorInertia.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestCompressorInertia.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestCompressorInertia.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestCompressorInertia -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestCompressorInertia.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.020756757003255] Failed to read output from testmodel.py, exit status != 0: 0.5911879830528051 0.833254421 0.320234366 Calling exit ...