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.001457/0.001457, allocations: 109.9 kB / 17.74 MB, free: 5.359 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.001445/0.001445, allocations: 189.5 kB / 18.67 MB, free: 4.434 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.806/1.806, allocations: 205.1 MB / 224.6 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2869/0.2869, allocations: 48.84 MB / 320.7 MB, free: 11.02 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.001683/0.001683, allocations: 67.91 kB / 451.2 MB, free: 8.574 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1185/0.1202, allocations: 59.16 MB / 0.4984 GB, free: 13.29 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestCompressorConstSpeed): time 0.4368/0.557, allocations: 170.6 MB / 0.665 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.005283/0.5623, allocations: 3.899 MB / 0.6688 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005143/0.5629, allocations: 11.94 kB / 0.6688 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.000896/0.5638, allocations: 278.3 kB / 0.6691 GB, free: 11.44 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.001085/0.5649, allocations: 0.5599 MB / 0.6696 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003991/0.5689, allocations: 1.635 MB / 0.6712 GB, free: 9.25 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001615/0.5706, allocations: 1.319 MB / 0.6725 GB, free: 7.93 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005733/0.5711, allocations: 402.6 kB / 0.6729 GB, free: 7.531 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007399/0.5719, allocations: 0.5217 MB / 0.6734 GB, free: 7.008 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000558/0.5725, allocations: 0.5178 MB / 0.6739 GB, free: 6.488 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001012/0.5726, allocations: 60 kB / 0.674 GB, free: 6.43 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002836/0.5754, allocations: 1.431 MB / 0.6754 GB, free: 4.996 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0004178/0.5759, allocations: 474.7 kB / 0.6758 GB, free: 4.531 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0005356/0.5764, allocations: 0.5399 MB / 0.6764 GB, free: 3.988 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002644/0.579, allocations: 1.917 MB / 0.6782 GB, free: 2.066 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.5791, allocations: 4 kB / 0.6782 GB, free: 2.062 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.484e-06/0.5791, allocations: 7.938 kB / 0.6782 GB, free: 2.055 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.712e-05/0.5791, allocations: 0 / 0.6782 GB, free: 2.055 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.002386/0.5815, allocations: 1.522 MB / 0.6797 GB, free: 492 kB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.91e-05/0.5815, allocations: 15.89 kB / 0.6797 GB, free: 476 kB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007595/0.5823, allocations: 186.3 kB / 0.6799 GB, free: 288 kB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001281/0.5836, allocations: 0.8469 MB / 0.6807 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.44e-05/0.5837, allocations: 37.31 kB / 0.6808 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.909e-05/0.5838, allocations: 56 kB / 0.6808 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009407/0.5847, allocations: 0.6081 MB / 0.6814 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.666e-05/0.5847, allocations: 0 / 0.6814 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.354e-05/0.5848, allocations: 27.94 kB / 0.6815 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.352e-05/0.5848, allocations: 12 kB / 0.6815 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006789/0.5855, allocations: 476.9 kB / 0.6819 GB, free: 14.16 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.00437/0.5899, allocations: 2.574 MB / 0.6844 GB, free: 11.42 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002405/0.5901, allocations: 130.6 kB / 0.6846 GB, free: 11.28 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.622e-05/0.5902, allocations: 56.83 kB / 0.6846 GB, free: 11.22 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002709/0.5905, allocations: 121.1 kB / 0.6847 GB, free: 11.09 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.903e-05/0.5906, allocations: 46.55 kB / 0.6848 GB, free: 11.03 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=13): time 1.904e-06/0.5906, allocations: 0 / 0.6848 GB, free: 11.03 MB / 0.5294 GB Notification: Performance of matching and sorting (n=13): time 0.0005181/0.5911, allocations: 284.1 kB / 0.685 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.84e-05/0.5911, allocations: 55.41 kB / 0.6851 GB, free: 10.68 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002067/0.5932, allocations: 1.906 MB / 0.687 GB, free: 8.754 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.517e-05/0.5933, allocations: 37.64 kB / 0.687 GB, free: 8.711 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004661/0.5937, allocations: 0.5749 MB / 0.6876 GB, free: 8.133 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.887e-05/0.5938, allocations: 47.34 kB / 0.6876 GB, free: 8.086 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000121/0.5939, allocations: 81.61 kB / 0.6877 GB, free: 8 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002031/0.5941, allocations: 322 kB / 0.688 GB, free: 7.68 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001913/0.5943, allocations: 122.9 kB / 0.6881 GB, free: 7.559 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003242/0.5946, allocations: 247.4 kB / 0.6883 GB, free: 7.254 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003956/0.595, allocations: 329.7 kB / 0.6887 GB, free: 6.867 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.5951, allocations: 4 kB / 0.6887 GB, free: 6.863 MB / 0.5294 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007447/0.5958, allocations: 0.4918 MB / 0.6891 GB, free: 6.363 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.007e-05/0.5958, allocations: 12.47 kB / 0.6892 GB, free: 6.352 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.5959, allocations: 4 kB / 0.6892 GB, free: 6.348 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.118e-05/0.5959, allocations: 12 kB / 0.6892 GB, free: 6.336 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005358/0.5964, allocations: 117.2 kB / 0.6893 GB, free: 6.223 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006393/0.5971, allocations: 1.193 MB / 0.6904 GB, free: 4.984 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004618/0.5975, allocations: 71.39 kB / 0.6905 GB, free: 4.914 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.278e-05/0.5976, allocations: 31.92 kB / 0.6905 GB, free: 4.883 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.0004642/0.5981, allocations: 380.9 kB / 0.6909 GB, free: 4.504 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001629/0.5982, allocations: 122.5 kB / 0.691 GB, free: 4.383 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004177/0.5987, allocations: 268.9 kB / 0.6913 GB, free: 4.109 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.5987, allocations: 0 / 0.6913 GB, free: 4.109 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.678e-06/0.5987, allocations: 3.938 kB / 0.6913 GB, free: 4.105 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.5987, allocations: 4 kB / 0.6913 GB, free: 4.102 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007821/0.5995, allocations: 0.6756 MB / 0.6919 GB, free: 3.371 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.5995, allocations: 0 / 0.6919 GB, free: 3.371 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002757/0.5998, allocations: 47.97 kB / 0.692 GB, free: 3.324 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.5998, allocations: 0 / 0.692 GB, free: 3.324 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.564e-05/0.5998, allocations: 4 kB / 0.692 GB, free: 3.32 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005745/0.6004, allocations: 1.188 MB / 0.6932 GB, free: 2.086 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.6004, allocations: 1.625 kB / 0.6932 GB, free: 2.086 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004504/0.6009, allocations: 408.2 kB / 0.6935 GB, free: 1.668 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003906/0.6013, allocations: 231.7 kB / 0.6938 GB, free: 1.422 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001083/0.6014, allocations: 7.938 kB / 0.6938 GB, free: 1.414 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004292/0.6018, allocations: 20.14 kB / 0.6938 GB, free: 1.395 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.518e-05/0.6019, allocations: 7.984 kB / 0.6938 GB, free: 1.387 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.508e-05/0.6019, allocations: 15.98 kB / 0.6938 GB, free: 1.371 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001561/0.6035, allocations: 1.362 MB / 0.6952 GB, free: 8 kB / 0.5294 GB Notification: Performance of sort global known variables: time 2.3e-07/0.6035, allocations: 0 / 0.6952 GB, free: 8 kB / 0.5294 GB Notification: Performance of remove unused functions: time 0.000781/0.6043, allocations: 243.7 kB / 0.6954 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.001318/0.6056, allocations: 0.5296 MB / 0.6959 GB, free: 15.23 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005788/0.6062, allocations: 243.6 kB / 0.6961 GB, free: 14.99 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.6062, allocations: 3.938 kB / 0.6961 GB, free: 14.99 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001851/0.6064, allocations: 73.03 kB / 0.6962 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.001575/0.608, allocations: 373.1 kB / 0.6966 GB, free: 14.55 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002781/0.6108, allocations: 1.989 MB / 0.6985 GB, free: 12.52 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000713/0.6115, allocations: 1.102 MB / 0.6996 GB, free: 11.39 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002001/0.6117, allocations: 79.42 kB / 0.6997 GB, free: 11.32 MB / 0.545 GB Notification: Performance of SimCode: time 4.11e-07/0.6117, allocations: 0 / 0.6997 GB, free: 11.32 MB / 0.545 GB Notification: Performance of Templates: time 0.03305/0.6448, allocations: 24 MB / 0.7231 GB, free: 3.277 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)