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.001132/0.001132, allocations: 103.8 kB / 17.06 MB, free: 6.023 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.001136/0.001136, allocations: 199.9 kB / 18 MB, free: 5.102 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.36/1.36, allocations: 205.1 MB / 223.9 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.2767/0.2767, allocations: 48.84 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.001534/0.001534, allocations: 76.39 kB / 450.5 MB, free: 8.574 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1221/0.1237, 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.4385/0.5623, allocations: 170.6 MB / 0.6643 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.005829/0.5682, allocations: 3.905 MB / 0.6682 GB, free: 11.74 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005829/0.5688, allocations: 7.938 kB / 0.6682 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001003/0.5699, allocations: 270.3 kB / 0.6684 GB, free: 11.47 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.00104/0.5709, allocations: 0.5715 MB / 0.669 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004197/0.5751, allocations: 1.647 MB / 0.6706 GB, free: 9.254 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001751/0.5769, allocations: 1.315 MB / 0.6719 GB, free: 7.938 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005589/0.5774, allocations: 409.5 kB / 0.6723 GB, free: 7.531 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007262/0.5782, allocations: 0.5178 MB / 0.6728 GB, free: 7.012 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006047/0.5788, allocations: 0.5139 MB / 0.6733 GB, free: 6.496 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 8.788e-05/0.5789, allocations: 56 kB / 0.6733 GB, free: 6.441 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002756/0.5817, allocations: 1.438 MB / 0.6747 GB, free: 5 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0004091/0.5821, allocations: 474.8 kB / 0.6752 GB, free: 4.535 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0004752/0.5826, allocations: 0.536 MB / 0.6757 GB, free: 3.996 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002383/0.585, allocations: 1.924 MB / 0.6776 GB, free: 2.066 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.585, allocations: 0 / 0.6776 GB, free: 2.066 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.523e-06/0.585, allocations: 0 / 0.6776 GB, free: 2.066 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.27e-05/0.585, allocations: 0 / 0.6776 GB, free: 2.066 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.00224/0.5872, allocations: 1.526 MB / 0.6791 GB, free: 500 kB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.684e-05/0.5873, allocations: 11.89 kB / 0.6791 GB, free: 488 kB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007308/0.5881, allocations: 190.3 kB / 0.6793 GB, free: 296 kB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001311/0.5894, allocations: 0.8469 MB / 0.6801 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.486e-05/0.5894, allocations: 41.31 kB / 0.6801 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.306e-05/0.5895, allocations: 48 kB / 0.6802 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009596/0.5905, allocations: 0.6081 MB / 0.6808 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.84e-05/0.5905, allocations: 0 / 0.6808 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.284e-05/0.5906, allocations: 31.94 kB / 0.6808 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.283e-05/0.5906, allocations: 12 kB / 0.6808 GB, free: 14.63 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007066/0.5913, allocations: 474.2 kB / 0.6813 GB, free: 14.17 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.004128/0.5954, allocations: 2.574 MB / 0.6838 GB, free: 11.43 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002401/0.5957, allocations: 134.6 kB / 0.6839 GB, free: 11.29 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.379e-05/0.5958, allocations: 52.84 kB / 0.684 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002599/0.5961, allocations: 125.1 kB / 0.6841 GB, free: 11.09 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.682e-05/0.5961, allocations: 38.56 kB / 0.6841 GB, free: 11.05 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=13): time 1.463e-06/0.5961, allocations: 0 / 0.6841 GB, free: 11.05 MB / 0.5294 GB Notification: Performance of matching and sorting (n=13): time 0.0005188/0.5966, allocations: 288.1 kB / 0.6844 GB, free: 10.76 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.468e-05/0.5967, allocations: 55.41 kB / 0.6844 GB, free: 10.69 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002101/0.5988, allocations: 1.902 MB / 0.6863 GB, free: 8.77 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.494e-05/0.5988, allocations: 33.7 kB / 0.6863 GB, free: 8.73 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004778/0.5993, allocations: 0.5866 MB / 0.6869 GB, free: 8.141 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.762e-05/0.5994, allocations: 51.36 kB / 0.687 GB, free: 8.09 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001244/0.5995, allocations: 77.59 kB / 0.687 GB, free: 8.008 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000113/0.5996, allocations: 326 kB / 0.6873 GB, free: 7.684 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001907/0.5998, allocations: 122.2 kB / 0.6875 GB, free: 7.562 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002613/0.6001, allocations: 243.4 kB / 0.6877 GB, free: 7.262 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003946/0.6005, allocations: 337.7 kB / 0.688 GB, free: 6.867 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.6005, allocations: 1.938 kB / 0.688 GB, free: 6.867 MB / 0.5294 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007291/0.6012, allocations: 0.4922 MB / 0.6885 GB, free: 6.367 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.6013, allocations: 8.062 kB / 0.6885 GB, free: 6.359 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.337e-06/0.6013, allocations: 8 kB / 0.6885 GB, free: 6.352 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.672e-05/0.6013, allocations: 4 kB / 0.6885 GB, free: 6.348 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004942/0.6018, allocations: 115.8 kB / 0.6886 GB, free: 6.234 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000689/0.6025, allocations: 1.192 MB / 0.6898 GB, free: 4.996 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004595/0.603, allocations: 71.2 kB / 0.6899 GB, free: 4.926 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.1e-05/0.6031, allocations: 27.92 kB / 0.6899 GB, free: 4.898 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.0004736/0.6035, allocations: 379.1 kB / 0.6902 GB, free: 4.52 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001779/0.6037, allocations: 118.5 kB / 0.6904 GB, free: 4.402 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004463/0.6042, allocations: 275.3 kB / 0.6906 GB, free: 4.125 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.6042, allocations: 0 / 0.6906 GB, free: 4.125 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.6042, allocations: 4.188 kB / 0.6906 GB, free: 4.121 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/0.6042, allocations: 3.984 kB / 0.6906 GB, free: 4.117 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007903/0.605, allocations: 0.6774 MB / 0.6913 GB, free: 3.387 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.027e-06/0.605, allocations: 3.984 kB / 0.6913 GB, free: 3.383 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002512/0.6053, allocations: 47.97 kB / 0.6913 GB, free: 3.336 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/0.6053, allocations: 4 kB / 0.6913 GB, free: 3.332 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.247e-05/0.6053, allocations: 0 / 0.6913 GB, free: 3.332 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005981/0.6059, allocations: 1.188 MB / 0.6925 GB, free: 2.098 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.6059, allocations: 2.625 kB / 0.6925 GB, free: 2.098 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004877/0.6064, allocations: 408.2 kB / 0.6929 GB, free: 1.68 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004035/0.6068, allocations: 235.7 kB / 0.6931 GB, free: 1.43 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.933e-05/0.6069, allocations: 0 / 0.6931 GB, free: 1.43 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004265/0.6074, allocations: 24.17 kB / 0.6931 GB, free: 1.406 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.024e-05/0.6074, allocations: 11.92 kB / 0.6932 GB, free: 1.395 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.592e-05/0.6075, allocations: 15.98 kB / 0.6932 GB, free: 1.379 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001554/0.609, allocations: 1.362 MB / 0.6945 GB, free: 16 kB / 0.5294 GB Notification: Performance of sort global known variables: time 1.6e-07/0.609, allocations: 0 / 0.6945 GB, free: 16 kB / 0.5294 GB Notification: Performance of remove unused functions: time 0.000724/0.6098, allocations: 239.7 kB / 0.6947 GB, free: 15.78 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.00129/0.6111, allocations: 0.5364 MB / 0.6953 GB, free: 15.23 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005638/0.6116, allocations: 239.6 kB / 0.6955 GB, free: 15 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.621e-06/0.6117, allocations: 5.125 kB / 0.6955 GB, free: 15 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001815/0.6118, allocations: 75.84 kB / 0.6956 GB, free: 14.92 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001582/0.6134, allocations: 365 kB / 0.6959 GB, free: 14.57 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002629/0.6161, allocations: 1.944 MB / 0.6978 GB, free: 12.59 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007206/0.6168, allocations: 1.11 MB / 0.6989 GB, free: 11.45 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0005355/0.6174, allocations: 220.5 kB / 0.6991 GB, free: 11.23 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002001/0.6176, allocations: 79.42 kB / 0.6992 GB, free: 11.15 MB / 0.545 GB Notification: Performance of SimCode: time 4.21e-07/0.6176, allocations: 0 / 0.6992 GB, free: 11.15 MB / 0.545 GB Notification: Performance of Templates: time 0.03106/0.6487, allocations: 18.13 MB / 0.7169 GB, free: 8.992 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)