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.00191/0.00191, allocations: 109.8 kB / 17.06 MB, free: 5.957 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.001761/0.001761, allocations: 198.9 kB / 18.01 MB, free: 5.035 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.449/1.449, allocations: 205.1 MB / 223.9 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2742/0.2742, allocations: 48.85 MB / 320.1 MB, free: 11 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.001651/0.001651, allocations: 75.88 kB / 450.5 MB, free: 8.547 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1125/0.1142, allocations: 59.14 MB / 0.4977 GB, free: 13.27 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestCompressorInertia): time 0.4214/0.5356, allocations: 170.6 MB / 0.6644 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.005739/0.5414, allocations: 3.899 MB / 0.6682 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005226/0.542, allocations: 11.94 kB / 0.6682 GB, free: 11.81 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0009978/0.543, allocations: 270.3 kB / 0.6684 GB, free: 11.54 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.001446/0.5445, allocations: 0.5677 MB / 0.669 GB, free: 10.97 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004253/0.5488, allocations: 1.638 MB / 0.6706 GB, free: 9.34 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001692/0.5505, allocations: 1.33 MB / 0.6719 GB, free: 8.008 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007713/0.5513, allocations: 410.3 kB / 0.6723 GB, free: 7.602 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009445/0.5522, allocations: 0.5217 MB / 0.6728 GB, free: 7.078 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008213/0.5531, allocations: 0.5177 MB / 0.6733 GB, free: 6.559 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001672/0.5532, allocations: 56 kB / 0.6734 GB, free: 6.504 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001596/0.5548, allocations: 0.6899 MB / 0.674 GB, free: 5.812 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0004756/0.5553, allocations: 466.8 kB / 0.6745 GB, free: 5.355 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0007194/0.5561, allocations: 0.5438 MB / 0.675 GB, free: 4.809 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.00204/0.5581, allocations: 1.565 MB / 0.6765 GB, free: 3.238 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.5581, allocations: 4 kB / 0.6765 GB, free: 3.234 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.814e-06/0.5581, allocations: 3.938 kB / 0.6765 GB, free: 3.23 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.07e-05/0.5582, allocations: 0 / 0.6765 GB, free: 3.23 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.002631/0.5608, allocations: 1.524 MB / 0.678 GB, free: 1.652 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/0.5609, allocations: 15.89 kB / 0.6781 GB, free: 1.637 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007982/0.5617, allocations: 187 kB / 0.6782 GB, free: 1.453 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001329/0.563, allocations: 0.8558 MB / 0.6791 GB, free: 0.543 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.821e-05/0.5631, allocations: 39.31 kB / 0.6791 GB, free: 0.5039 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.324e-05/0.5632, allocations: 52 kB / 0.6792 GB, free: 464 kB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001145/0.5643, allocations: 0.6354 MB / 0.6798 GB, free: 15.8 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.978e-05/0.5643, allocations: 0 / 0.6798 GB, free: 15.8 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.982e-05/0.5644, allocations: 27.94 kB / 0.6798 GB, free: 15.78 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.531e-05/0.5644, allocations: 12 kB / 0.6798 GB, free: 15.77 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007795/0.5652, allocations: 0.4892 MB / 0.6803 GB, free: 15.28 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.004486/0.5697, allocations: 2.542 MB / 0.6828 GB, free: 12.58 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003423/0.5701, allocations: 202.5 kB / 0.683 GB, free: 12.37 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001271/0.5702, allocations: 81.17 kB / 0.683 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002913/0.5705, allocations: 117.1 kB / 0.6832 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.624e-05/0.5706, allocations: 50.44 kB / 0.6832 GB, free: 12.1 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=20): time 1.673e-06/0.5706, allocations: 0 / 0.6832 GB, free: 12.1 MB / 0.5294 GB Notification: Performance of matching and sorting (n=20): time 0.0007084/0.5713, allocations: 356.8 kB / 0.6835 GB, free: 11.74 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.586e-05/0.5713, allocations: 51.41 kB / 0.6836 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00226/0.5736, allocations: 1.882 MB / 0.6854 GB, free: 9.777 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.697e-05/0.5737, allocations: 33.7 kB / 0.6855 GB, free: 9.738 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004726/0.5741, allocations: 0.5719 MB / 0.686 GB, free: 9.164 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 5.833e-05/0.5742, allocations: 71.39 kB / 0.6861 GB, free: 9.094 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001532/0.5744, allocations: 86.02 kB / 0.6862 GB, free: 9.004 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001069/0.5745, allocations: 321.9 kB / 0.6865 GB, free: 8.684 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002187/0.5747, allocations: 138.6 kB / 0.6866 GB, free: 8.547 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002753/0.575, allocations: 238.5 kB / 0.6868 GB, free: 8.27 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004354/0.5754, allocations: 325.5 kB / 0.6871 GB, free: 7.902 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.913e-06/0.5754, allocations: 4 kB / 0.6872 GB, free: 7.898 MB / 0.5294 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008366/0.5763, allocations: 0.5085 MB / 0.6876 GB, free: 7.383 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.069e-05/0.5763, allocations: 15.97 kB / 0.6877 GB, free: 7.367 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.257e-06/0.5763, allocations: 4 kB / 0.6877 GB, free: 7.363 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.819e-05/0.5764, allocations: 4 kB / 0.6877 GB, free: 7.359 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005855/0.577, allocations: 116.7 kB / 0.6878 GB, free: 7.246 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009476/0.5779, allocations: 1.798 MB / 0.6895 GB, free: 5.379 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000456/0.5784, allocations: 71.39 kB / 0.6896 GB, free: 5.309 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.671e-05/0.5784, allocations: 23.98 kB / 0.6896 GB, free: 5.285 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.0004628/0.5789, allocations: 377.1 kB / 0.69 GB, free: 4.91 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002159/0.5791, allocations: 139.3 kB / 0.6901 GB, free: 4.773 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005588/0.5797, allocations: 336.1 kB / 0.6904 GB, free: 4.441 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.5797, allocations: 0 / 0.6904 GB, free: 4.441 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.5797, allocations: 3.984 kB / 0.6904 GB, free: 4.438 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.5797, allocations: 0 / 0.6904 GB, free: 4.438 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008484/0.5806, allocations: 0.7027 MB / 0.6911 GB, free: 3.68 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.5806, allocations: 0 / 0.6911 GB, free: 3.68 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003843/0.581, allocations: 71.89 kB / 0.6912 GB, free: 3.609 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.193e-06/0.581, allocations: 4 kB / 0.6912 GB, free: 3.605 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.831e-05/0.581, allocations: 4 kB / 0.6912 GB, free: 3.602 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009547/0.582, allocations: 1.787 MB / 0.693 GB, free: 1.746 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.582, allocations: 4.094 kB / 0.693 GB, free: 1.742 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006416/0.5827, allocations: 0.4891 MB / 0.6934 GB, free: 1.234 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003231/0.583, allocations: 248.2 kB / 0.6937 GB, free: 0.9727 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001108/0.5831, allocations: 4 kB / 0.6937 GB, free: 0.9688 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004712/0.5836, allocations: 19.98 kB / 0.6937 GB, free: 0.9492 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.554e-05/0.5836, allocations: 15.86 kB / 0.6937 GB, free: 0.9336 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.17e-05/0.5837, allocations: 28.03 kB / 0.6937 GB, free: 0.9062 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001649/0.5853, allocations: 1.346 MB / 0.695 GB, free: 15.56 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.8e-07/0.5853, allocations: 0 / 0.695 GB, free: 15.56 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0007377/0.5861, allocations: 239.6 kB / 0.6953 GB, free: 15.32 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.001371/0.5875, allocations: 0.4952 MB / 0.6958 GB, free: 14.82 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0006641/0.5881, allocations: 276.5 kB / 0.696 GB, free: 14.55 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.12e-06/0.5882, allocations: 7.938 kB / 0.696 GB, free: 14.54 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002938/0.5885, allocations: 115.9 kB / 0.6961 GB, free: 14.43 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001571/0.59, allocations: 388.8 kB / 0.6965 GB, free: 14.05 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002846/0.5929, allocations: 2.077 MB / 0.6985 GB, free: 11.94 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007531/0.5937, allocations: 1.11 MB / 0.6996 GB, free: 10.8 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0005492/0.5942, allocations: 224.5 kB / 0.6998 GB, free: 10.57 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000168/0.5944, allocations: 75.42 kB / 0.6999 GB, free: 10.5 MB / 0.545 GB Notification: Performance of SimCode: time 3.5e-07/0.5944, allocations: 4 kB / 0.6999 GB, free: 10.5 MB / 0.545 GB Notification: Performance of Templates: time 0.0309/0.6253, allocations: 18.1 MB / 0.7176 GB, free: 8.367 MB / 0.5606 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)