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.001371/0.00137, allocations: 103 kB / 17.74 MB, free: 5.367 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.001334/0.001335, allocations: 188.5 kB / 18.66 MB, free: 4.449 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.387/1.387, allocations: 205.1 MB / 224.5 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2844/0.2844, allocations: 48.84 MB / 320.7 MB, free: 11.02 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.001755/0.001756, allocations: 71.88 kB / 451.2 MB, free: 8.574 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1138/0.1156, allocations: 59.16 MB / 0.4984 GB, free: 13.28 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestCompressorInertia): time 0.4588/0.5744, allocations: 170.6 MB / 0.665 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.005009/0.5795, allocations: 3.909 MB / 0.6688 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004113/0.5799, allocations: 7.938 kB / 0.6688 GB, free: 11.72 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0008012/0.5807, allocations: 274.3 kB / 0.6691 GB, free: 11.45 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.001019/0.5818, allocations: 0.5677 MB / 0.6697 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003842/0.5856, allocations: 1.639 MB / 0.6713 GB, free: 9.25 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001613/0.5873, allocations: 1.326 MB / 0.6726 GB, free: 7.922 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000537/0.5878, allocations: 417.5 kB / 0.673 GB, free: 7.508 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00066/0.5885, allocations: 0.5256 MB / 0.6735 GB, free: 6.98 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005763/0.5891, allocations: 0.5216 MB / 0.674 GB, free: 6.457 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001114/0.5892, allocations: 56 kB / 0.674 GB, free: 6.402 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001435/0.5906, allocations: 0.6821 MB / 0.6747 GB, free: 5.719 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0003784/0.591, allocations: 470.8 kB / 0.6751 GB, free: 5.258 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0004999/0.5915, allocations: 0.5438 MB / 0.6757 GB, free: 4.711 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001698/0.5932, allocations: 1.566 MB / 0.6772 GB, free: 3.141 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.5933, allocations: 0 / 0.6772 GB, free: 3.141 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.372e-06/0.5933, allocations: 3.938 kB / 0.6772 GB, free: 3.137 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.411e-05/0.5933, allocations: 0 / 0.6772 GB, free: 3.137 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.002128/0.5954, allocations: 1.471 MB / 0.6786 GB, free: 1.613 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.697e-05/0.5955, allocations: 11.89 kB / 0.6787 GB, free: 1.602 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006737/0.5962, allocations: 186.3 kB / 0.6788 GB, free: 1.418 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001229/0.5974, allocations: 0.8547 MB / 0.6797 GB, free: 0.5078 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.313e-05/0.5974, allocations: 41.31 kB / 0.6797 GB, free: 476 kB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.391e-05/0.5975, allocations: 48 kB / 0.6798 GB, free: 428 kB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009798/0.5985, allocations: 0.6316 MB / 0.6804 GB, free: 15.77 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.018e-05/0.5985, allocations: 2.25 kB / 0.6804 GB, free: 15.77 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.255e-05/0.5986, allocations: 23.94 kB / 0.6804 GB, free: 15.75 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.22e-05/0.5986, allocations: 16 kB / 0.6804 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006956/0.5993, allocations: 496.9 kB / 0.6809 GB, free: 15.25 MB / 0.5294 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.003966/0.6033, allocations: 2.545 MB / 0.6834 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003078/0.6036, allocations: 194.5 kB / 0.6836 GB, free: 12.35 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00012/0.6038, allocations: 80.88 kB / 0.6836 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002559/0.604, allocations: 113.1 kB / 0.6837 GB, free: 12.14 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.21e-05/0.6041, allocations: 38.56 kB / 0.6838 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=20): time 1.523e-06/0.6041, allocations: 3.938 kB / 0.6838 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of matching and sorting (n=20): time 0.0006146/0.6047, allocations: 360.3 kB / 0.6841 GB, free: 11.73 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.856e-05/0.6047, allocations: 51.41 kB / 0.6842 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002047/0.6068, allocations: 1.878 MB / 0.686 GB, free: 9.766 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.154e-05/0.6069, allocations: 33.7 kB / 0.686 GB, free: 9.727 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004465/0.6073, allocations: 0.5635 MB / 0.6866 GB, free: 9.16 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 5.548e-05/0.6074, allocations: 75.08 kB / 0.6867 GB, free: 9.086 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000123/0.6075, allocations: 81.97 kB / 0.6867 GB, free: 9 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001163/0.6076, allocations: 325.9 kB / 0.687 GB, free: 8.676 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002055/0.6078, allocations: 134.6 kB / 0.6872 GB, free: 8.543 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002613/0.6081, allocations: 242.4 kB / 0.6874 GB, free: 8.262 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004154/0.6085, allocations: 329.5 kB / 0.6877 GB, free: 7.891 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/0.6085, allocations: 4 kB / 0.6877 GB, free: 7.887 MB / 0.5294 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007675/0.6093, allocations: 0.5077 MB / 0.6882 GB, free: 7.371 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.6093, allocations: 7.906 kB / 0.6882 GB, free: 7.363 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.6093, allocations: 4 kB / 0.6882 GB, free: 7.359 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.781e-05/0.6094, allocations: 8 kB / 0.6882 GB, free: 7.352 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005555/0.6099, allocations: 116.9 kB / 0.6884 GB, free: 7.238 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009531/0.6109, allocations: 1.789 MB / 0.6901 GB, free: 5.379 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004489/0.6114, allocations: 67.25 kB / 0.6902 GB, free: 5.312 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.651e-05/0.6114, allocations: 20 kB / 0.6902 GB, free: 5.293 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.0004706/0.6119, allocations: 386.6 kB / 0.6906 GB, free: 4.906 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001846/0.6121, allocations: 123.4 kB / 0.6907 GB, free: 4.785 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005245/0.6126, allocations: 347.1 kB / 0.691 GB, free: 4.441 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.6126, allocations: 4 kB / 0.691 GB, free: 4.438 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.6126, allocations: 0 / 0.691 GB, free: 4.438 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.6126, allocations: 0 / 0.691 GB, free: 4.438 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007938/0.6134, allocations: 0.7046 MB / 0.6917 GB, free: 3.68 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.6135, allocations: 0 / 0.6917 GB, free: 3.68 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003484/0.6138, allocations: 63.95 kB / 0.6918 GB, free: 3.617 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.6138, allocations: 4.047 kB / 0.6918 GB, free: 3.613 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.107e-05/0.6138, allocations: 11.98 kB / 0.6918 GB, free: 3.602 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009046/0.6148, allocations: 1.785 MB / 0.6935 GB, free: 1.746 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.6148, allocations: 4.031 kB / 0.6935 GB, free: 1.742 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006069/0.6154, allocations: 492.2 kB / 0.694 GB, free: 1.242 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003952/0.6158, allocations: 242 kB / 0.6942 GB, free: 0.9883 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000111/0.6159, allocations: 3.938 kB / 0.6942 GB, free: 0.9844 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004459/0.6164, allocations: 16.14 kB / 0.6942 GB, free: 0.9688 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.268e-05/0.6164, allocations: 23.91 kB / 0.6943 GB, free: 0.9453 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.538e-05/0.6165, allocations: 19.98 kB / 0.6943 GB, free: 0.9258 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001567/0.618, allocations: 1.342 MB / 0.6956 GB, free: 15.58 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/0.618, allocations: 4 kB / 0.6956 GB, free: 15.57 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0007227/0.6188, allocations: 235.8 kB / 0.6958 GB, free: 15.34 MB / 0.545 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.001233/0.62, allocations: 0.4899 MB / 0.6963 GB, free: 14.85 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0006842/0.6207, allocations: 288.3 kB / 0.6966 GB, free: 14.57 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.61e-06/0.6207, allocations: 0 / 0.6966 GB, free: 14.57 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002804/0.621, allocations: 119.8 kB / 0.6967 GB, free: 14.45 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001598/0.6226, allocations: 392.7 kB / 0.6971 GB, free: 14.07 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00298/0.6256, allocations: 2.088 MB / 0.6991 GB, free: 11.94 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007386/0.6264, allocations: 1.098 MB / 0.7002 GB, free: 10.81 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002038/0.6266, allocations: 79.42 kB / 0.7002 GB, free: 10.73 MB / 0.545 GB Notification: Performance of SimCode: time 7.81e-07/0.6266, allocations: 0 / 0.7002 GB, free: 10.73 MB / 0.545 GB Notification: Performance of Templates: time 0.0379/0.6645, allocations: 27.22 MB / 0.7268 GB, free: 15.46 MB / 0.5762 GB 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)