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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ThermoPower.Test.GasComponents.TestCompressorInertia,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestCompressorInertia") translateModel(ThermoPower.Test.GasComponents.TestCompressorInertia,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestCompressorInertia") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001061/0.001061, allocations: 111 kB / 16.62 MB, free: 6.816 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001075/0.001075, allocations: 186 kB / 17.55 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.312/1.312, allocations: 205.1 MB / 223.4 MB, free: 12.44 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2754/0.2754, allocations: 48.84 MB / 319.6 MB, free: 11.26 MB / 270.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001322/0.001323, allocations: 69.62 kB / 389.6 MB, free: 49 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1002/0.1015, allocations: 59.15 MB / 448.7 MB, free: 10.14 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestCompressorInertia): time 0.3848/0.4863, allocations: 168.5 MB / 0.6028 GB, free: 7.238 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005113/0.4915, allocations: 3.922 MB / 0.6066 GB, free: 4.066 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006167/0.4921, allocations: 9 kB / 0.6066 GB, free: 4.062 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008669/0.493, allocations: 236.1 kB / 0.6068 GB, free: 3.875 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009724/0.494, allocations: 0.5408 MB / 0.6074 GB, free: 3.484 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003725/0.4978, allocations: 1.54 MB / 0.6089 GB, free: 2.434 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001511/0.4993, allocations: 1.327 MB / 0.6102 GB, free: 1.695 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006557/0.5, allocations: 397.1 kB / 0.6105 GB, free: 1.441 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000782/0.5008, allocations: 0.5272 MB / 0.6111 GB, free: 1.16 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005818/0.5014, allocations: 0.5462 MB / 0.6116 GB, free: 0.875 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 7.938e-05/0.5014, allocations: 57.53 kB / 0.6116 GB, free: 0.875 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001398/0.5028, allocations: 0.7789 MB / 0.6124 GB, free: 0.5 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003433/0.5032, allocations: 474.2 kB / 0.6129 GB, free: 228 kB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004839/0.5037, allocations: 0.552 MB / 0.6134 GB, free: 15.83 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001711/0.5054, allocations: 1.589 MB / 0.615 GB, free: 14.84 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.5054, allocations: 0 / 0.615 GB, free: 14.84 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.5054, allocations: 0 / 0.615 GB, free: 14.84 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.707e-05/0.5055, allocations: 0 / 0.615 GB, free: 14.84 MB / 446.1 MB 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.002185/0.5077, allocations: 1.478 MB / 0.6164 GB, free: 13.7 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.5077, allocations: 13.92 kB / 0.6164 GB, free: 13.7 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006951/0.5084, allocations: 177.8 kB / 0.6166 GB, free: 13.61 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001069/0.5095, allocations: 0.8489 MB / 0.6174 GB, free: 13 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.989e-05/0.5095, allocations: 39.56 kB / 0.6174 GB, free: 12.98 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.348e-05/0.5096, allocations: 53.14 kB / 0.6175 GB, free: 12.96 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009376/0.5106, allocations: 0.6352 MB / 0.6181 GB, free: 12.59 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.779e-05/0.5106, allocations: 2.219 kB / 0.6181 GB, free: 12.59 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.264e-05/0.5106, allocations: 29.08 kB / 0.6181 GB, free: 12.56 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.209e-05/0.5107, allocations: 17.59 kB / 0.6182 GB, free: 12.56 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006629/0.5113, allocations: 493.2 kB / 0.6186 GB, free: 12.34 MB / 446.1 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.003824/0.5152, allocations: 2.569 MB / 0.6211 GB, free: 10.12 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003199/0.5155, allocations: 203.5 kB / 0.6213 GB, free: 9.91 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001369/0.5157, allocations: 80.81 kB / 0.6214 GB, free: 9.828 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002836/0.516, allocations: 117.1 kB / 0.6215 GB, free: 9.695 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.197e-05/0.516, allocations: 42.55 kB / 0.6216 GB, free: 9.645 MB / 446.1 MB Notification: Performance of pre-optimization done (n=20): time 1.724e-06/0.516, allocations: 0 / 0.6216 GB, free: 9.645 MB / 446.1 MB Notification: Performance of matching and sorting (n=20): time 0.0006374/0.5166, allocations: 345.6 kB / 0.6219 GB, free: 9.301 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.19e-05/0.5167, allocations: 59.34 kB / 0.622 GB, free: 9.23 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002087/0.5188, allocations: 1.886 MB / 0.6238 GB, free: 7.324 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.018e-05/0.5188, allocations: 33.7 kB / 0.6238 GB, free: 7.285 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004439/0.5193, allocations: 0.5596 MB / 0.6244 GB, free: 6.723 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.648e-05/0.5194, allocations: 78.98 kB / 0.6244 GB, free: 6.645 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001377/0.5195, allocations: 81.97 kB / 0.6245 GB, free: 6.559 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001482/0.5197, allocations: 321.9 kB / 0.6248 GB, free: 6.238 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002718/0.5199, allocations: 138 kB / 0.625 GB, free: 6.102 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002642/0.5202, allocations: 230 kB / 0.6252 GB, free: 5.828 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004328/0.5206, allocations: 335.4 kB / 0.6255 GB, free: 5.453 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.5207, allocations: 0 / 0.6255 GB, free: 5.453 MB / 446.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008071/0.5215, allocations: 0.5004 MB / 0.626 GB, free: 4.945 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.5215, allocations: 4 kB / 0.626 GB, free: 4.941 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.645e-06/0.5215, allocations: 4 kB / 0.626 GB, free: 4.938 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.997e-05/0.5215, allocations: 8 kB / 0.626 GB, free: 4.93 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005993/0.5221, allocations: 126.2 kB / 0.6261 GB, free: 4.809 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001041/0.5232, allocations: 1.79 MB / 0.6279 GB, free: 2.949 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005081/0.5237, allocations: 71.2 kB / 0.6279 GB, free: 2.879 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.396e-05/0.5238, allocations: 23.98 kB / 0.628 GB, free: 2.855 MB / 446.1 MB 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.0005625/0.5243, allocations: 389.8 kB / 0.6283 GB, free: 2.469 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002084/0.5246, allocations: 122.5 kB / 0.6285 GB, free: 2.348 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000554/0.5251, allocations: 339.8 kB / 0.6288 GB, free: 2.012 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.5251, allocations: 4 kB / 0.6288 GB, free: 2.008 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.5252, allocations: 7.922 kB / 0.6288 GB, free: 2 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.858e-06/0.5252, allocations: 4 kB / 0.6288 GB, free: 1.996 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008724/0.526, allocations: 0.6987 MB / 0.6295 GB, free: 1.242 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.5261, allocations: 3.938 kB / 0.6295 GB, free: 1.238 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003919/0.5265, allocations: 69.89 kB / 0.6295 GB, free: 1.172 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.959e-06/0.5265, allocations: 0 / 0.6295 GB, free: 1.172 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.208e-05/0.5265, allocations: 8 kB / 0.6296 GB, free: 1.164 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001018/0.5275, allocations: 1.785 MB / 0.6313 GB, free: 15.31 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.5275, allocations: 0 / 0.6313 GB, free: 15.31 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006867/0.5282, allocations: 0.4929 MB / 0.6318 GB, free: 14.8 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002914/0.5285, allocations: 235.9 kB / 0.632 GB, free: 14.55 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001147/0.5287, allocations: 4 kB / 0.632 GB, free: 14.54 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004686/0.5291, allocations: 24.55 kB / 0.632 GB, free: 14.52 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.642e-05/0.5292, allocations: 19.91 kB / 0.632 GB, free: 14.5 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.305e-05/0.5292, allocations: 15.98 kB / 0.6321 GB, free: 14.48 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.00168/0.5309, allocations: 1.346 MB / 0.6334 GB, free: 13.14 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.5309, allocations: 0 / 0.6334 GB, free: 13.14 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0007315/0.5317, allocations: 231.8 kB / 0.6336 GB, free: 12.91 MB / 462.1 MB 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.001274/0.5329, allocations: 0.519 MB / 0.6341 GB, free: 12.39 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.000726/0.5337, allocations: 283.7 kB / 0.6344 GB, free: 12.11 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/0.5337, allocations: 0 / 0.6344 GB, free: 12.11 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002955/0.534, allocations: 115.9 kB / 0.6345 GB, free: 12 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001734/0.5357, allocations: 385.1 kB / 0.6349 GB, free: 11.62 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002986/0.5387, allocations: 2.344 MB / 0.6371 GB, free: 9.242 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007044/0.5395, allocations: 1.11 MB / 0.6382 GB, free: 8.102 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0007005/0.5402, allocations: 232.5 kB / 0.6384 GB, free: 7.871 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001858/0.5404, allocations: 79.42 kB / 0.6385 GB, free: 7.793 MB / 462.1 MB Notification: Performance of SimCode: time 1.052e-06/0.5404, allocations: 0 / 0.6385 GB, free: 7.793 MB / 462.1 MB Notification: Performance of Templates: time 0.02912/0.5695, allocations: 17.7 MB / 0.6558 GB, free: 6.059 MB / 478.1 MB make -j1 -f ThermoPower_ThermoPower.Test.GasComponents.TestCompressorInertia.makefile (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)