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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00137/0.00137, allocations: 111.8 kB / 17.06 MB, free: 6 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.00148/0.00148, allocations: 190.9 kB / 18 MB, free: 5.082 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.413/1.413, allocations: 205.1 MB / 223.9 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3026/0.3026, allocations: 48.85 MB / 320.1 MB, free: 11.01 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.001528/0.001528, allocations: 59.91 kB / 450.5 MB, free: 8.57 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1124/0.114, allocations: 59.15 MB / 0.4977 GB, free: 13.29 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestCompressorConstSpeed): time 0.3988/0.5128, allocations: 170.6 MB / 0.6643 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.005289/0.5181, allocations: 3.903 MB / 0.6682 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003392/0.5185, allocations: 11.94 kB / 0.6682 GB, free: 11.74 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0008673/0.5194, allocations: 282.3 kB / 0.6684 GB, free: 11.46 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.001068/0.5205, allocations: 0.5678 MB / 0.669 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004003/0.5245, allocations: 1.651 MB / 0.6706 GB, free: 9.246 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001682/0.5262, allocations: 1.319 MB / 0.6719 GB, free: 7.926 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005847/0.5268, allocations: 402.2 kB / 0.6723 GB, free: 7.527 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007201/0.5275, allocations: 0.5334 MB / 0.6728 GB, free: 6.992 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005718/0.5281, allocations: 0.5061 MB / 0.6733 GB, free: 6.484 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 9.386e-05/0.5282, allocations: 60 kB / 0.6734 GB, free: 6.426 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002515/0.5307, allocations: 1.435 MB / 0.6748 GB, free: 4.988 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0004082/0.5312, allocations: 474.7 kB / 0.6752 GB, free: 4.523 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0005051/0.5317, allocations: 0.5399 MB / 0.6757 GB, free: 3.98 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.00235/0.534, allocations: 1.917 MB / 0.6776 GB, free: 2.059 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 8.045e-06/0.534, allocations: 4 kB / 0.6776 GB, free: 2.055 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.493e-06/0.5341, allocations: 7.938 kB / 0.6776 GB, free: 2.047 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.37e-05/0.5341, allocations: 0 / 0.6776 GB, free: 2.047 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: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.002285/0.5364, allocations: 1.526 MB / 0.6791 GB, free: 480 kB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.5364, allocations: 11.89 kB / 0.6791 GB, free: 468 kB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000773/0.5372, allocations: 187.8 kB / 0.6793 GB, free: 280 kB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001213/0.5384, allocations: 0.8469 MB / 0.6801 GB, free: 15.37 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.399e-05/0.5385, allocations: 45.31 kB / 0.6802 GB, free: 15.32 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.58e-05/0.5386, allocations: 48 kB / 0.6802 GB, free: 15.28 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001018/0.5396, allocations: 0.6119 MB / 0.6808 GB, free: 14.65 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.721e-05/0.5396, allocations: 0 / 0.6808 GB, free: 14.65 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.053e-05/0.5397, allocations: 27.94 kB / 0.6808 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.5e-05/0.5397, allocations: 15.98 kB / 0.6809 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007316/0.5404, allocations: 476.9 kB / 0.6813 GB, free: 14.14 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.004144/0.5446, allocations: 2.57 MB / 0.6838 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002515/0.5449, allocations: 130.6 kB / 0.6839 GB, free: 11.27 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001015/0.545, allocations: 52.83 kB / 0.684 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002592/0.5452, allocations: 129.1 kB / 0.6841 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.037e-05/0.5453, allocations: 38.56 kB / 0.6842 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=13): time 1.764e-06/0.5453, allocations: 0 / 0.6842 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of matching and sorting (n=13): time 0.0005426/0.5458, allocations: 280.1 kB / 0.6844 GB, free: 10.74 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.974e-05/0.5459, allocations: 59.34 kB / 0.6845 GB, free: 10.67 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002188/0.5481, allocations: 1.906 MB / 0.6863 GB, free: 8.746 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.142e-05/0.5481, allocations: 33.7 kB / 0.6864 GB, free: 8.707 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004893/0.5486, allocations: 0.5749 MB / 0.6869 GB, free: 8.129 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.906e-05/0.5487, allocations: 55.34 kB / 0.687 GB, free: 8.074 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001314/0.5488, allocations: 81.59 kB / 0.6871 GB, free: 7.988 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001119/0.5489, allocations: 314 kB / 0.6874 GB, free: 7.676 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002019/0.5491, allocations: 127 kB / 0.6875 GB, free: 7.551 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002762/0.5494, allocations: 247.4 kB / 0.6877 GB, free: 7.246 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004161/0.5499, allocations: 329.7 kB / 0.688 GB, free: 6.859 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.5499, allocations: 0 / 0.688 GB, free: 6.859 MB / 0.5294 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007413/0.5506, allocations: 0.4922 MB / 0.6885 GB, free: 6.359 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.839e-05/0.5506, allocations: 8.062 kB / 0.6885 GB, free: 6.352 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.5507, allocations: 8 kB / 0.6885 GB, free: 6.344 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.9e-05/0.5507, allocations: 8 kB / 0.6885 GB, free: 6.336 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005026/0.5512, allocations: 115.8 kB / 0.6886 GB, free: 6.227 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007043/0.5519, allocations: 1.196 MB / 0.6898 GB, free: 4.984 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004667/0.5524, allocations: 71.19 kB / 0.6899 GB, free: 4.914 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.998e-05/0.5524, allocations: 27.94 kB / 0.6899 GB, free: 4.887 MB / 0.5294 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.0005117/0.553, allocations: 378.1 kB / 0.6903 GB, free: 4.508 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001783/0.5531, allocations: 122.5 kB / 0.6904 GB, free: 4.387 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004491/0.5536, allocations: 279 kB / 0.6907 GB, free: 4.105 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.049e-06/0.5536, allocations: 4.078 kB / 0.6907 GB, free: 4.102 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.5536, allocations: 4.062 kB / 0.6907 GB, free: 4.098 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/0.5536, allocations: 3.984 kB / 0.6907 GB, free: 4.094 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008804/0.5545, allocations: 0.6756 MB / 0.6913 GB, free: 3.363 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.5545, allocations: 0 / 0.6913 GB, free: 3.363 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000258/0.5548, allocations: 47.91 kB / 0.6914 GB, free: 3.316 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.626e-06/0.5548, allocations: 0 / 0.6914 GB, free: 3.316 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.848e-05/0.5548, allocations: 8 kB / 0.6914 GB, free: 3.309 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006543/0.5555, allocations: 1.189 MB / 0.6925 GB, free: 2.074 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.5555, allocations: 0 / 0.6925 GB, free: 2.074 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005095/0.556, allocations: 416.1 kB / 0.6929 GB, free: 1.648 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003083/0.5563, allocations: 227.7 kB / 0.6932 GB, free: 1.406 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001086/0.5565, allocations: 4 kB / 0.6932 GB, free: 1.402 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004144/0.5569, allocations: 20.2 kB / 0.6932 GB, free: 1.383 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.916e-05/0.5569, allocations: 7.984 kB / 0.6932 GB, free: 1.375 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.497e-05/0.557, allocations: 15.98 kB / 0.6932 GB, free: 1.359 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001642/0.5586, allocations: 1.358 MB / 0.6945 GB, free: 0 / 0.5294 GB Notification: Performance of sort global known variables: time 1.7e-07/0.5586, allocations: 0 / 0.6945 GB, free: 0 / 0.5294 GB Notification: Performance of remove unused functions: time 0.000819/0.5594, allocations: 239.7 kB / 0.6948 GB, free: 15.77 MB / 0.545 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.001435/0.5609, allocations: 0.5325 MB / 0.6953 GB, free: 15.22 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000654/0.5616, allocations: 247.6 kB / 0.6955 GB, free: 14.98 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.5616, allocations: 1.125 kB / 0.6955 GB, free: 14.98 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001947/0.5618, allocations: 67.97 kB / 0.6956 GB, free: 14.91 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001706/0.5635, allocations: 377.1 kB / 0.6959 GB, free: 14.55 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002842/0.5663, allocations: 1.948 MB / 0.6978 GB, free: 12.56 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007305/0.5671, allocations: 1.102 MB / 0.6989 GB, free: 11.43 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0005819/0.5677, allocations: 220.7 kB / 0.6991 GB, free: 11.21 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001838/0.5679, allocations: 75.42 kB / 0.6992 GB, free: 11.14 MB / 0.545 GB Notification: Performance of SimCode: time 1.343e-06/0.5679, allocations: 0 / 0.6992 GB, free: 11.14 MB / 0.545 GB Notification: Performance of Templates: time 0.03208/0.6, allocations: 17.81 MB / 0.7166 GB, free: 9.305 MB / 0.5606 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)