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.001047/0.001046, allocations: 95.42 kB / 16.3 MB, free: 6.457 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.001111/0.001111, allocations: 181.6 kB / 17.19 MB, free: 6.34 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.412/1.412, allocations: 205.4 MB / 223.4 MB, free: 13.18 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2856/0.2856, allocations: 48.78 MB / 320.4 MB, free: 11.32 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.0006012/0.0006013, allocations: 12.41 kB / 391.1 MB, free: 50.2 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1022/0.1028, allocations: 60.27 MB / 451.4 MB, free: 9.602 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestCompressorInertia): time 0.3629/0.4657, allocations: 136.8 MB / 0.5744 GB, free: 15.93 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005714/0.4714, allocations: 4.254 MB / 0.5786 GB, free: 15.59 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004926/0.472, allocations: 4.531 kB / 0.5786 GB, free: 15.59 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006845/0.4727, allocations: 202.1 kB / 0.5788 GB, free: 15.49 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009398/0.4736, allocations: 477.2 kB / 0.5792 GB, free: 15.36 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003413/0.477, allocations: 1.235 MB / 0.5804 GB, free: 15.07 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001164/0.4782, allocations: 0.7564 MB / 0.5812 GB, free: 14.93 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004556/0.4787, allocations: 343.9 kB / 0.5815 GB, free: 14.79 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000647/0.4793, allocations: 469 kB / 0.582 GB, free: 14.65 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000417/0.4798, allocations: 375.4 kB / 0.5823 GB, free: 14.51 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 6.511e-05/0.4798, allocations: 27.69 kB / 0.5823 GB, free: 14.51 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001172/0.481, allocations: 0.4903 MB / 0.5828 GB, free: 14.41 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003257/0.4814, allocations: 431.7 kB / 0.5832 GB, free: 14.27 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001856/0.4816, allocations: 215.2 kB / 0.5834 GB, free: 14.2 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001084/0.4826, allocations: 1.142 MB / 0.5845 GB, free: 13.69 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.654e-06/0.4827, allocations: 7.938 kB / 0.5846 GB, free: 13.68 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.4827, allocations: 0 / 0.5846 GB, free: 13.68 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.425e-05/0.4827, allocations: 0 / 0.5846 GB, free: 13.68 MB / 430.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.001852/0.4846, allocations: 1.289 MB / 0.5858 GB, free: 12.76 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.342e-05/0.4846, allocations: 11.91 kB / 0.5858 GB, free: 12.75 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006789/0.4853, allocations: 188.7 kB / 0.586 GB, free: 12.67 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001217/0.4865, allocations: 0.8075 MB / 0.5868 GB, free: 12.23 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.979e-05/0.4865, allocations: 39.25 kB / 0.5868 GB, free: 12.23 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.654e-05/0.4866, allocations: 49.12 kB / 0.5869 GB, free: 12.23 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008722/0.4875, allocations: 0.6261 MB / 0.5875 GB, free: 12.05 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.768e-05/0.4875, allocations: 6.5 kB / 0.5875 GB, free: 12.04 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.851e-05/0.4876, allocations: 22.75 kB / 0.5875 GB, free: 12.04 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.206e-05/0.4876, allocations: 12.59 kB / 0.5875 GB, free: 12.04 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000619/0.4882, allocations: 493.8 kB / 0.588 GB, free: 11.97 MB / 430.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.003938/0.4922, allocations: 2.578 MB / 0.5905 GB, free: 10.47 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002737/0.4925, allocations: 197 kB / 0.5907 GB, free: 10.43 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002555/0.4927, allocations: 110.2 kB / 0.5908 GB, free: 10.32 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.756e-05/0.4928, allocations: 39.84 kB / 0.5908 GB, free: 10.28 MB / 430.1 MB Notification: Performance of pre-optimization done (n=20): time 1.764e-06/0.4928, allocations: 0 / 0.5908 GB, free: 10.28 MB / 430.1 MB Notification: Performance of matching and sorting (n=20): time 0.0006116/0.4934, allocations: 360.3 kB / 0.5912 GB, free: 10.16 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.544e-05/0.4935, allocations: 57.42 kB / 0.5912 GB, free: 10.09 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001913/0.4954, allocations: 1.904 MB / 0.5931 GB, free: 9.633 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.029e-05/0.4954, allocations: 34.95 kB / 0.5931 GB, free: 9.602 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003742/0.4958, allocations: 0.5702 MB / 0.5937 GB, free: 9.398 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.955e-05/0.4959, allocations: 75.78 kB / 0.5938 GB, free: 9.348 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.641e-05/0.4959, allocations: 6.125 kB / 0.5938 GB, free: 9.348 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001062/0.496, allocations: 324.5 kB / 0.5941 GB, free: 9.035 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001823/0.4962, allocations: 137.6 kB / 0.5942 GB, free: 9.004 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000229/0.4964, allocations: 228.9 kB / 0.5944 GB, free: 8.852 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002059/0.4967, allocations: 144.4 kB / 0.5946 GB, free: 8.836 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.4967, allocations: 2.875 kB / 0.5946 GB, free: 8.836 MB / 430.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006917/0.4974, allocations: 0.5017 MB / 0.5951 GB, free: 8.668 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.4974, allocations: 9.906 kB / 0.5951 GB, free: 8.664 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.104e-06/0.4974, allocations: 2.469 kB / 0.5951 GB, free: 8.664 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.734e-05/0.4974, allocations: 7.438 kB / 0.5951 GB, free: 8.664 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005995/0.498, allocations: 118.2 kB / 0.5952 GB, free: 8.641 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009384/0.499, allocations: 1.795 MB / 0.5969 GB, free: 6.852 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004842/0.4995, allocations: 73.52 kB / 0.597 GB, free: 6.809 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.266e-05/0.4995, allocations: 22.05 kB / 0.597 GB, free: 6.805 MB / 430.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 (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004519/0.5, allocations: 380.3 kB / 0.5974 GB, free: 6.645 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001731/0.5002, allocations: 125.4 kB / 0.5975 GB, free: 6.578 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004944/0.5007, allocations: 356.3 kB / 0.5979 GB, free: 6.465 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.5007, allocations: 2.625 kB / 0.5979 GB, free: 6.465 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.5007, allocations: 1.969 kB / 0.5979 GB, free: 6.465 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.5007, allocations: 0 / 0.5979 GB, free: 6.465 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007339/0.5014, allocations: 0.7097 MB / 0.5986 GB, free: 6.086 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.5015, allocations: 6.062 kB / 0.5986 GB, free: 6.082 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003631/0.5018, allocations: 70.33 kB / 0.5986 GB, free: 6.066 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.5018, allocations: 0 / 0.5986 GB, free: 6.066 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.916e-05/0.5019, allocations: 9.766 kB / 0.5986 GB, free: 6.062 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008445/0.5027, allocations: 1.784 MB / 0.6004 GB, free: 4.281 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.5027, allocations: 0 / 0.6004 GB, free: 4.281 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005418/0.5033, allocations: 498.9 kB / 0.6009 GB, free: 4.043 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003933/0.5037, allocations: 256.9 kB / 0.6011 GB, free: 3.863 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001138/0.5038, allocations: 3.625 kB / 0.6011 GB, free: 3.863 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004474/0.5043, allocations: 26.97 kB / 0.6011 GB, free: 3.852 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.118e-05/0.5043, allocations: 14.77 kB / 0.6011 GB, free: 3.848 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.928e-05/0.5043, allocations: 21.83 kB / 0.6012 GB, free: 3.84 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0014/0.5057, allocations: 1.355 MB / 0.6025 GB, free: 3.527 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.643e-06/0.5058, allocations: 0 / 0.6025 GB, free: 3.527 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0007252/0.5065, allocations: 238.6 kB / 0.6027 GB, free: 3.5 MB / 430.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 (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001107/0.5076, allocations: 486.9 kB / 0.6032 GB, free: 3.156 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000638/0.5082, allocations: 288.4 kB / 0.6035 GB, free: 3.102 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/0.5083, allocations: 0.875 kB / 0.6035 GB, free: 3.102 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002632/0.5085, allocations: 109.7 kB / 0.6036 GB, free: 3.082 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001529/0.5101, allocations: 377.3 kB / 0.6039 GB, free: 2.957 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002592/0.5127, allocations: 2.285 MB / 0.6062 GB, free: 1.75 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006277/0.5133, allocations: 1.134 MB / 0.6073 GB, free: 0.8633 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.000636/0.514, allocations: 236.5 kB / 0.6075 GB, free: 0.7734 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001592/0.5141, allocations: 78.33 kB / 0.6076 GB, free: 0.7617 MB / 430.1 MB Notification: Performance of SimCode: time 5.31e-07/0.5141, allocations: 0 / 0.6076 GB, free: 0.7617 MB / 430.1 MB Notification: Performance of Templates: time 0.02658/0.5407, allocations: 16.87 MB / 0.624 GB, free: 2.227 MB / 446.1 MB make -j1 -f ThermoPower_ThermoPower.Test.GasComponents.TestCompressorInertia.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: