Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.GasComponents.TestCompressorConstSpeed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ThermoPower.Test.GasComponents.TestCompressorConstSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestCompressorConstSpeed") translateModel(ThermoPower.Test.GasComponents.TestCompressorConstSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestCompressorConstSpeed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001526/0.001526, allocations: 186.5 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.37/1.37, allocations: 205.1 MB / 223.1 MB, free: 8.48 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009895/0.0009892, allocations: 92.97 kB / 270.5 MB, free: 8.453 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3787/0.3787, allocations: 48.83 MB / 366.7 MB, free: 46.62 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001118/0.001118, allocations: 51.92 kB / 436.6 MB, free: 11.44 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1045/0.1056, allocations: 59.15 MB / 495.7 MB, free: 156 kB / 378.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestCompressorConstSpeed): time 0.3383/0.4439, allocations: 168.7 MB / 0.6489 GB, free: 10.59 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.004959/0.4489, allocations: 4.031 MB / 0.6528 GB, free: 6.551 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003429/0.4493, allocations: 8 kB / 0.6528 GB, free: 6.543 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007143/0.45, allocations: 238.8 kB / 0.6531 GB, free: 6.309 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008596/0.4509, allocations: 0.5369 MB / 0.6536 GB, free: 5.77 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003399/0.4543, allocations: 1.501 MB / 0.655 GB, free: 4.289 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.001636/0.456, allocations: 1.723 MB / 0.6567 GB, free: 2.562 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004495/0.4564, allocations: 352.7 kB / 0.6571 GB, free: 2.227 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005561/0.457, allocations: 470.2 kB / 0.6575 GB, free: 1.766 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005448/0.4575, allocations: 0.5255 MB / 0.658 GB, free: 1.238 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 7.845e-05/0.4576, allocations: 28 kB / 0.6581 GB, free: 1.211 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002767/0.4604, allocations: 1.696 MB / 0.6597 GB, free: 15.51 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003705/0.4608, allocations: 442.8 kB / 0.6601 GB, free: 15.07 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004613/0.4613, allocations: 0.493 MB / 0.6606 GB, free: 14.58 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002245/0.4635, allocations: 1.971 MB / 0.6625 GB, free: 12.6 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.4635, allocations: 3.938 kB / 0.6625 GB, free: 12.6 MB / 490.7 MB Notification: Performance of FrontEnd: time 8.31e-07/0.4635, allocations: 0 / 0.6625 GB, free: 12.6 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.032e-05/0.4636, allocations: 0 / 0.6625 GB, free: 12.6 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.002198/0.4658, allocations: 1.536 MB / 0.664 GB, free: 11.01 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.545e-05/0.4658, allocations: 8.031 kB / 0.664 GB, free: 11 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006876/0.4665, allocations: 190.3 kB / 0.6642 GB, free: 10.82 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001219/0.4677, allocations: 0.8469 MB / 0.6651 GB, free: 9.914 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.674e-05/0.4678, allocations: 37.31 kB / 0.6651 GB, free: 9.879 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.119e-05/0.4678, allocations: 54.44 kB / 0.6651 GB, free: 9.828 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009276/0.4688, allocations: 0.6081 MB / 0.6657 GB, free: 9.207 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.725e-05/0.4688, allocations: 0 / 0.6657 GB, free: 9.207 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.99e-05/0.4689, allocations: 27.94 kB / 0.6658 GB, free: 9.18 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.108e-05/0.4689, allocations: 12 kB / 0.6658 GB, free: 9.168 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007081/0.4696, allocations: 472.9 kB / 0.6662 GB, free: 8.707 MB / 490.7 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.004194/0.4738, allocations: 2.605 MB / 0.6688 GB, free: 5.934 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002567/0.4741, allocations: 130.6 kB / 0.6689 GB, free: 5.797 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.017e-05/0.4742, allocations: 60.84 kB / 0.669 GB, free: 5.734 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002552/0.4744, allocations: 117.1 kB / 0.6691 GB, free: 5.602 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.85e-05/0.4745, allocations: 38.56 kB / 0.6691 GB, free: 5.555 MB / 490.7 MB Notification: Performance of pre-optimization done (n=13): time 1.793e-06/0.4745, allocations: 0 / 0.6691 GB, free: 5.555 MB / 490.7 MB Notification: Performance of matching and sorting (n=13): time 0.000557/0.4751, allocations: 285 kB / 0.6694 GB, free: 5.27 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.869e-05/0.4751, allocations: 59.41 kB / 0.6694 GB, free: 5.199 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002076/0.4772, allocations: 1.902 MB / 0.6713 GB, free: 3.277 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.334e-05/0.4772, allocations: 33.7 kB / 0.6713 GB, free: 3.238 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004874/0.4777, allocations: 0.5827 MB / 0.6719 GB, free: 2.652 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.02e-05/0.4778, allocations: 47.36 kB / 0.6719 GB, free: 2.605 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001276/0.4779, allocations: 77.59 kB / 0.672 GB, free: 2.523 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001351/0.4781, allocations: 318 kB / 0.6723 GB, free: 2.207 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001972/0.4783, allocations: 129.5 kB / 0.6724 GB, free: 2.078 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002648/0.4785, allocations: 251.4 kB / 0.6727 GB, free: 1.77 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004289/0.479, allocations: 337.7 kB / 0.673 GB, free: 1.375 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.479, allocations: 3.938 kB / 0.673 GB, free: 1.371 MB / 490.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007195/0.4797, allocations: 493.7 kB / 0.6735 GB, free: 0.8828 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/0.4797, allocations: 8 kB / 0.6735 GB, free: 0.875 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.15e-05/0.4798, allocations: 7.984 kB / 0.6735 GB, free: 0.8672 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.737e-05/0.4798, allocations: 8 kB / 0.6735 GB, free: 0.8594 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005054/0.4803, allocations: 112.6 kB / 0.6736 GB, free: 0.75 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006116/0.4809, allocations: 1.196 MB / 0.6748 GB, free: 15.51 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004696/0.4814, allocations: 67.27 kB / 0.6748 GB, free: 15.44 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.251e-05/0.4815, allocations: 30.11 kB / 0.6749 GB, free: 15.41 MB / 0.4949 GB Warning: Assuming fixed start value for the following 1 variables: ConstantSpeed1.phi:VARIABLE(unit = "rad" fixed = true ) "Angle of flange with respect to support (= flange.phi - support.phi)" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (45): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004148/0.4819, allocations: 386.4 kB / 0.6752 GB, free: 15.03 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001599/0.482, allocations: 118.5 kB / 0.6753 GB, free: 14.91 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004141/0.4825, allocations: 269.8 kB / 0.6756 GB, free: 14.64 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.367e-06/0.4825, allocations: 0 / 0.6756 GB, free: 14.64 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.4825, allocations: 0 / 0.6756 GB, free: 14.64 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.4825, allocations: 3.984 kB / 0.6756 GB, free: 14.64 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007715/0.4833, allocations: 0.6795 MB / 0.6763 GB, free: 13.91 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.4833, allocations: 4 kB / 0.6763 GB, free: 13.9 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000257/0.4836, allocations: 53.98 kB / 0.6763 GB, free: 13.85 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.4836, allocations: 0 / 0.6763 GB, free: 13.85 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.44e-05/0.4836, allocations: 4 kB / 0.6763 GB, free: 13.85 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005415/0.4841, allocations: 1.188 MB / 0.6775 GB, free: 12.61 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.4841, allocations: 96 / 0.6775 GB, free: 12.61 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002758/0.4869, allocations: 2.523 MB / 0.68 GB, free: 9.941 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003645/0.4873, allocations: 243.7 kB / 0.6802 GB, free: 9.684 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.833e-05/0.4874, allocations: 11.98 kB / 0.6802 GB, free: 9.672 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004298/0.4878, allocations: 19.98 kB / 0.6802 GB, free: 9.652 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.06e-05/0.4879, allocations: 7.984 kB / 0.6802 GB, free: 9.645 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.62e-05/0.4879, allocations: 15.98 kB / 0.6802 GB, free: 9.629 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.001557/0.4895, allocations: 1.358 MB / 0.6816 GB, free: 8.27 MB / 0.4949 GB Notification: Performance of sort global known variables: time 1.6e-07/0.4895, allocations: 0 / 0.6816 GB, free: 8.27 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.0009251/0.4904, allocations: 335.7 kB / 0.6819 GB, free: 7.941 MB / 0.4949 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (ConstantSpeed1.phi) * 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 (13): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001272/0.4917, allocations: 0.5403 MB / 0.6824 GB, free: 7.438 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.000537/0.4922, allocations: 244.3 kB / 0.6826 GB, free: 7.199 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/0.4923, allocations: 4.375 kB / 0.6826 GB, free: 7.195 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.0001803/0.4924, allocations: 75.91 kB / 0.6827 GB, free: 7.121 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001618/0.4941, allocations: 348.7 kB / 0.6831 GB, free: 6.781 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00286/0.4969, allocations: 2.391 MB / 0.6854 GB, free: 4.355 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006518/0.4976, allocations: 1.116 MB / 0.6865 GB, free: 3.215 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.000614/0.4982, allocations: 217.7 kB / 0.6867 GB, free: 3.008 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001714/0.4984, allocations: 83.42 kB / 0.6868 GB, free: 2.926 MB / 0.4949 GB Notification: Performance of SimCode: time 3.81e-07/0.4984, allocations: 0 / 0.6868 GB, free: 2.926 MB / 0.4949 GB Notification: Performance of Templates: time 0.1991/0.6975, allocations: 17.06 MB / 0.7034 GB, free: 164.8 MB / 0.4949 GB make -j1 -f ThermoPower_ThermoPower.Test.GasComponents.TestCompressorConstSpeed.makefile (rm -f ThermoPower_ThermoPower.Test.GasComponents.TestCompressorConstSpeed.pipe ; mkfifo ThermoPower_ThermoPower.Test.GasComponents.TestCompressorConstSpeed.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.GasComponents.TestCompressorConstSpeed.pipe >> ../files/ThermoPower_ThermoPower.Test.GasComponents.TestCompressorConstSpeed.sim & ./ThermoPower_ThermoPower.Test.GasComponents.TestCompressorConstSpeed -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.GasComponents.TestCompressorConstSpeed.pipe 2>&1)