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.001082/0.001082, allocations: 98.77 kB / 16.3 MB, free: 5.539 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.001273/0.001273, allocations: 180.5 kB / 17.19 MB, free: 5.473 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.503/1.503, allocations: 205.4 MB / 223.3 MB, free: 13.17 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2716/0.2716, allocations: 48.79 MB / 320.4 MB, free: 11.32 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.0006361/0.0006363, allocations: 11.69 kB / 391.1 MB, free: 50.18 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1121/0.1127, allocations: 60.27 MB / 451.4 MB, free: 9.605 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestCompressorConstSpeed): time 0.3804/0.4932, allocations: 136.8 MB / 0.5744 GB, free: 15.81 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005364/0.4986, allocations: 4.253 MB / 0.5786 GB, free: 15.47 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004888/0.4992, allocations: 14.69 kB / 0.5786 GB, free: 15.46 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007027/0.4999, allocations: 201.2 kB / 0.5788 GB, free: 15.37 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001027/0.5009, allocations: 470.5 kB / 0.5792 GB, free: 15.25 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003472/0.5044, allocations: 1.239 MB / 0.5804 GB, free: 14.95 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001212/0.5056, allocations: 0.7511 MB / 0.5812 GB, free: 14.81 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004551/0.5061, allocations: 338.5 kB / 0.5815 GB, free: 14.66 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006401/0.5067, allocations: 465.4 kB / 0.5819 GB, free: 14.53 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000426/0.5072, allocations: 367.7 kB / 0.5823 GB, free: 14.39 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 6.802e-05/0.5073, allocations: 28.7 kB / 0.5823 GB, free: 14.39 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002532/0.5098, allocations: 1.029 MB / 0.5833 GB, free: 14.19 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003805/0.5102, allocations: 428.7 kB / 0.5837 GB, free: 14.04 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002261/0.5104, allocations: 228 kB / 0.5839 GB, free: 13.96 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001656/0.5121, allocations: 1.368 MB / 0.5853 GB, free: 13.38 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.5121, allocations: 2.938 kB / 0.5853 GB, free: 13.38 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.785e-06/0.5121, allocations: 0 / 0.5853 GB, free: 13.38 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.874e-05/0.5122, allocations: 0 / 0.5853 GB, free: 13.38 MB / 430.1 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.002011/0.5142, allocations: 1.34 MB / 0.5866 GB, free: 12.43 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.5142, allocations: 9.938 kB / 0.5866 GB, free: 12.43 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007367/0.515, allocations: 199.2 kB / 0.5868 GB, free: 12.33 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001289/0.5163, allocations: 0.8046 MB / 0.5876 GB, free: 11.9 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.586e-05/0.5163, allocations: 41.75 kB / 0.5876 GB, free: 11.89 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.916e-05/0.5164, allocations: 52.61 kB / 0.5876 GB, free: 11.89 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000857/0.5173, allocations: 0.6013 MB / 0.5882 GB, free: 11.72 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.753e-05/0.5173, allocations: 0 / 0.5882 GB, free: 11.72 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.79e-05/0.5174, allocations: 21.97 kB / 0.5883 GB, free: 11.72 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.218e-05/0.5174, allocations: 13.41 kB / 0.5883 GB, free: 11.72 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006/0.518, allocations: 478.9 kB / 0.5887 GB, free: 11.64 MB / 430.1 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.004359/0.5223, allocations: 2.597 MB / 0.5913 GB, free: 10.09 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002255/0.5226, allocations: 138.4 kB / 0.5914 GB, free: 10.05 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002541/0.5229, allocations: 120 kB / 0.5915 GB, free: 9.949 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.214e-05/0.5229, allocations: 45.7 kB / 0.5916 GB, free: 9.902 MB / 430.1 MB Notification: Performance of pre-optimization done (n=13): time 3.978e-06/0.5229, allocations: 3.984 kB / 0.5916 GB, free: 9.898 MB / 430.1 MB Notification: Performance of matching and sorting (n=13): time 0.0005186/0.5234, allocations: 281.5 kB / 0.5918 GB, free: 9.785 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.876e-05/0.5235, allocations: 58.23 kB / 0.5919 GB, free: 9.719 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001949/0.5254, allocations: 1.922 MB / 0.5938 GB, free: 9.262 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.97e-05/0.5255, allocations: 30.73 kB / 0.5938 GB, free: 9.23 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003949/0.5259, allocations: 0.5911 MB / 0.5944 GB, free: 9.012 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.268e-05/0.5259, allocations: 52.48 kB / 0.5944 GB, free: 8.973 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.774e-05/0.526, allocations: 8.688 kB / 0.5944 GB, free: 8.973 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.95e-05/0.5261, allocations: 322 kB / 0.5947 GB, free: 8.66 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001768/0.5263, allocations: 122.5 kB / 0.5948 GB, free: 8.633 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002217/0.5265, allocations: 246.2 kB / 0.5951 GB, free: 8.438 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001992/0.5267, allocations: 141.8 kB / 0.5952 GB, free: 8.418 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.5267, allocations: 0 / 0.5952 GB, free: 8.418 MB / 430.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006599/0.5274, allocations: 496 kB / 0.5957 GB, free: 8.25 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.899e-05/0.5274, allocations: 8 kB / 0.5957 GB, free: 8.25 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.5274, allocations: 4.969 kB / 0.5957 GB, free: 8.25 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.718e-05/0.5274, allocations: 12.44 kB / 0.5957 GB, free: 8.246 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005161/0.528, allocations: 102.6 kB / 0.5958 GB, free: 8.227 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006396/0.5286, allocations: 1.206 MB / 0.597 GB, free: 7.027 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000551/0.5292, allocations: 78.89 kB / 0.5971 GB, free: 6.98 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.458e-05/0.5292, allocations: 21.03 kB / 0.5971 GB, free: 6.98 MB / 430.1 MB 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 (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005243/0.5298, allocations: 382.2 kB / 0.5974 GB, free: 6.812 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001536/0.5299, allocations: 119.2 kB / 0.5976 GB, free: 6.75 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004127/0.5303, allocations: 287.8 kB / 0.5978 GB, free: 6.648 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.297e-06/0.5304, allocations: 6.5 kB / 0.5978 GB, free: 6.645 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.744e-06/0.5304, allocations: 3.984 kB / 0.5978 GB, free: 6.641 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.5304, allocations: 1.859 kB / 0.5978 GB, free: 6.641 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008042/0.5312, allocations: 0.6831 MB / 0.5985 GB, free: 6.27 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/0.5312, allocations: 0.8125 kB / 0.5985 GB, free: 6.27 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000251/0.5315, allocations: 50.33 kB / 0.5986 GB, free: 6.258 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.07e-06/0.5315, allocations: 2.906 kB / 0.5986 GB, free: 6.258 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.295e-05/0.5315, allocations: 3.062 kB / 0.5986 GB, free: 6.258 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005472/0.5321, allocations: 1.189 MB / 0.5997 GB, free: 5.066 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.5321, allocations: 0 / 0.5997 GB, free: 5.066 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004356/0.5325, allocations: 408.8 kB / 0.6001 GB, free: 4.844 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003888/0.5329, allocations: 256.7 kB / 0.6004 GB, free: 4.664 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001154/0.533, allocations: 14.3 kB / 0.6004 GB, free: 4.656 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004236/0.5335, allocations: 14.27 kB / 0.6004 GB, free: 4.652 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.918e-05/0.5335, allocations: 12.45 kB / 0.6004 GB, free: 4.648 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.137e-05/0.5335, allocations: 14.98 kB / 0.6004 GB, free: 4.645 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001427/0.535, allocations: 1.37 MB / 0.6018 GB, free: 4.328 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.535, allocations: 0 / 0.6018 GB, free: 4.328 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0008418/0.5358, allocations: 242 kB / 0.602 GB, free: 4.297 MB / 430.1 MB 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 (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001206/0.537, allocations: 0.5086 MB / 0.6025 GB, free: 3.938 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0005433/0.5376, allocations: 248.9 kB / 0.6027 GB, free: 3.883 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/0.5376, allocations: 0 / 0.6027 GB, free: 3.883 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001724/0.5378, allocations: 78.92 kB / 0.6028 GB, free: 3.867 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001571/0.5394, allocations: 345.7 kB / 0.6031 GB, free: 3.758 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002809/0.5422, allocations: 2.162 MB / 0.6052 GB, free: 2.645 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00063/0.5428, allocations: 1.133 MB / 0.6063 GB, free: 1.758 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0006971/0.5436, allocations: 223.3 kB / 0.6066 GB, free: 1.676 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001573/0.5437, allocations: 76.67 kB / 0.6066 GB, free: 1.664 MB / 430.1 MB Notification: Performance of SimCode: time 7.71e-07/0.5437, allocations: 0 / 0.6066 GB, free: 1.664 MB / 430.1 MB Notification: Performance of Templates: time 0.02597/0.5697, allocations: 16.66 MB / 0.6229 GB, free: 3.219 MB / 446.1 MB make -j1 -f ThermoPower_ThermoPower.Test.GasComponents.TestCompressorConstSpeed.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: