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.001606/0.001606, 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.001553/0.001553, allocations: 211.5 kB / 24.48 MB, free: 3.938 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.364/1.364, allocations: 207.7 MB / 235.3 MB, free: 9.773 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.2928/0.2928, allocations: 49.61 MB / 337.2 MB, free: 3.867 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.002257/0.002257, allocations: 71.89 kB / 477.6 MB, free: 12.27 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1046/0.1069, allocations: 62.43 MB / 0.5274 GB, free: 13.64 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestCompressorInertia): time 0.3652/0.4721, allocations: 147.5 MB / 0.6714 GB, free: 1.438 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.005538/0.4776, allocations: 3.599 MB / 0.6749 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003971/0.478, allocations: 11.94 kB / 0.6749 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0008579/0.4789, allocations: 262.3 kB / 0.6752 GB, free: 13.56 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.001213/0.4801, allocations: 0.5794 MB / 0.6757 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004072/0.4842, allocations: 1.677 MB / 0.6774 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001677/0.4858, allocations: 1.337 MB / 0.6787 GB, free: 9.965 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000612/0.4864, allocations: 373.7 kB / 0.679 GB, free: 9.594 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008158/0.4873, allocations: 0.5372 MB / 0.6796 GB, free: 9.055 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000704/0.488, allocations: 0.5411 MB / 0.6801 GB, free: 8.512 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001107/0.4881, allocations: 56 kB / 0.6802 GB, free: 8.457 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001328/0.4894, allocations: 0.6196 MB / 0.6808 GB, free: 7.836 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0004401/0.4898, allocations: 474.7 kB / 0.6812 GB, free: 7.371 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0004612/0.4903, allocations: 441.6 kB / 0.6816 GB, free: 6.938 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001789/0.4921, allocations: 1.568 MB / 0.6832 GB, free: 5.367 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.4921, allocations: 3.938 kB / 0.6832 GB, free: 5.363 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.272e-06/0.4921, allocations: 0 / 0.6832 GB, free: 5.363 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.351e-05/0.4921, allocations: 0 / 0.6832 GB, free: 5.363 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.002252/0.4944, allocations: 1.433 MB / 0.6846 GB, free: 3.895 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.4944, allocations: 16.02 kB / 0.6846 GB, free: 3.879 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006955/0.4951, allocations: 183 kB / 0.6848 GB, free: 3.699 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001371/0.4965, allocations: 0.7901 MB / 0.6855 GB, free: 2.867 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.568e-05/0.4965, allocations: 37.31 kB / 0.6856 GB, free: 2.828 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.659e-05/0.4966, allocations: 52 kB / 0.6856 GB, free: 2.777 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001286/0.4979, allocations: 1.066 MB / 0.6867 GB, free: 1.594 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.2e-05/0.4979, allocations: 2.625 kB / 0.6867 GB, free: 1.594 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.519e-05/0.498, allocations: 35.86 kB / 0.6867 GB, free: 1.559 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.889e-05/0.498, allocations: 12 kB / 0.6867 GB, free: 1.547 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007853/0.4988, allocations: 497 kB / 0.6872 GB, free: 1.059 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.003847/0.5026, allocations: 1.826 MB / 0.689 GB, free: 15.19 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003403/0.503, allocations: 195 kB / 0.6891 GB, free: 14.99 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001257/0.5031, allocations: 72.83 kB / 0.6892 GB, free: 14.92 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002218/0.5033, allocations: 35.95 kB / 0.6892 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.155e-05/0.5033, allocations: 38.56 kB / 0.6893 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=20): time 1.924e-06/0.5033, allocations: 4 kB / 0.6893 GB, free: 14.83 MB / 0.5294 GB Notification: Performance of matching and sorting (n=20): time 0.0006669/0.504, allocations: 341.2 kB / 0.6896 GB, free: 14.49 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.858e-05/0.504, allocations: 51.41 kB / 0.6897 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001998/0.506, allocations: 1.656 MB / 0.6913 GB, free: 12.76 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.2e-05/0.5061, allocations: 33.7 kB / 0.6913 GB, free: 12.72 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004903/0.5066, allocations: 0.5706 MB / 0.6919 GB, free: 12.14 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 7.251e-05/0.5066, allocations: 75.45 kB / 0.6919 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001293/0.5068, allocations: 82.02 kB / 0.692 GB, free: 11.98 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001473/0.5069, allocations: 326 kB / 0.6923 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002306/0.5072, allocations: 138.6 kB / 0.6925 GB, free: 11.52 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002953/0.5074, allocations: 226 kB / 0.6927 GB, free: 11.26 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004732/0.5079, allocations: 341.4 kB / 0.693 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.96e-06/0.5079, allocations: 7.938 kB / 0.693 GB, free: 10.87 MB / 0.5294 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008068/0.5087, allocations: 0.4888 MB / 0.6935 GB, free: 10.37 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.5087, allocations: 4 kB / 0.6935 GB, free: 10.37 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.877e-06/0.5088, allocations: 4 kB / 0.6935 GB, free: 10.36 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.357e-05/0.5088, allocations: 8 kB / 0.6935 GB, free: 10.36 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005694/0.5093, allocations: 121 kB / 0.6936 GB, free: 10.24 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001138/0.5105, allocations: 1.787 MB / 0.6954 GB, free: 8.383 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003778/0.5109, allocations: 55.64 kB / 0.6954 GB, free: 8.328 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.388e-05/0.5109, allocations: 16 kB / 0.6954 GB, free: 8.312 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.0004996/0.5114, allocations: 385.4 kB / 0.6958 GB, free: 7.926 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001901/0.5116, allocations: 107.3 kB / 0.6959 GB, free: 7.82 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005473/0.5121, allocations: 315.3 kB / 0.6962 GB, free: 7.5 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.5122, allocations: 12.12 kB / 0.6962 GB, free: 7.488 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.259e-06/0.5122, allocations: 7.375 kB / 0.6962 GB, free: 7.484 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.5122, allocations: 0 / 0.6962 GB, free: 7.484 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007289/0.5129, allocations: 0.5304 MB / 0.6967 GB, free: 6.926 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.5129, allocations: 0 / 0.6967 GB, free: 6.926 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003622/0.5133, allocations: 75.89 kB / 0.6968 GB, free: 6.852 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.5133, allocations: 0 / 0.6968 GB, free: 6.852 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.056e-05/0.5133, allocations: 7.984 kB / 0.6968 GB, free: 6.844 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001092/0.5144, allocations: 1.782 MB / 0.6986 GB, free: 4.992 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/0.5144, allocations: 4.031 kB / 0.6986 GB, free: 4.988 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006658/0.515, allocations: 475.8 kB / 0.699 GB, free: 4.508 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003218/0.5154, allocations: 139.2 kB / 0.6991 GB, free: 4.371 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.531e-05/0.5154, allocations: 8 kB / 0.6992 GB, free: 4.363 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003931/0.5158, allocations: 19.97 kB / 0.6992 GB, free: 4.344 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.601e-05/0.5159, allocations: 11.98 kB / 0.6992 GB, free: 4.332 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.867e-05/0.5159, allocations: 20.02 kB / 0.6992 GB, free: 4.312 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001479/0.5174, allocations: 1.176 MB / 0.7004 GB, free: 3.129 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5174, allocations: 4.219 kB / 0.7004 GB, free: 3.125 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0007471/0.5181, allocations: 255.4 kB / 0.7006 GB, free: 2.875 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.001829/0.52, allocations: 0.5304 MB / 0.7011 GB, free: 2.34 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0006709/0.5206, allocations: 264.7 kB / 0.7014 GB, free: 2.082 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.5207, allocations: 0 / 0.7014 GB, free: 2.082 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002909/0.5209, allocations: 104.8 kB / 0.7015 GB, free: 1.98 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001044/0.522, allocations: 224.5 kB / 0.7017 GB, free: 1.762 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002974/0.525, allocations: 2.092 MB / 0.7037 GB, free: 15.62 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005937/0.5256, allocations: 0.5047 MB / 0.7042 GB, free: 15.09 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001837/0.5257, allocations: 67.44 kB / 0.7043 GB, free: 15.02 MB / 0.545 GB Notification: Performance of SimCode: time 3.31e-07/0.5257, allocations: 4 kB / 0.7043 GB, free: 15.02 MB / 0.545 GB Notification: Performance of Templates: time 0.03197/0.5577, allocations: 25.01 MB / 0.7287 GB, free: 5.961 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: 9.582793260924518] Failed to read output from testmodel.py, exit status != 0: 0.566319259814918 0.580241121 0.08507163999999995 Calling exit ...