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.001327/0.001327, allocations: 105.4 kB / 17.74 MB, free: 5.336 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.001466/0.001466, allocations: 192.2 kB / 18.68 MB, free: 4.41 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.321/1.321, allocations: 205.1 MB / 224.5 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.2662/0.2662, allocations: 48.85 MB / 320.8 MB, free: 11 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.001455/0.001455, allocations: 75.89 kB / 451.2 MB, free: 8.559 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1023/0.1037, allocations: 59.15 MB / 0.4984 GB, free: 13.28 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestCompressorConstSpeed): time 0.384/0.4878, allocations: 170.6 MB / 0.665 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.005219/0.4931, allocations: 3.899 MB / 0.6688 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003746/0.4935, allocations: 11.94 kB / 0.6688 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0008216/0.4943, allocations: 282.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.001048/0.4954, allocations: 0.5561 MB / 0.6696 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003504/0.499, allocations: 1.646 MB / 0.6713 GB, free: 9.238 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001288/0.5003, allocations: 1.319 MB / 0.6725 GB, free: 7.918 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004656/0.5007, allocations: 398.4 kB / 0.6729 GB, free: 7.523 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006113/0.5014, allocations: 0.5256 MB / 0.6734 GB, free: 6.996 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005271/0.5019, allocations: 0.5178 MB / 0.6739 GB, free: 6.477 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 9.818e-05/0.502, allocations: 56 kB / 0.674 GB, free: 6.422 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002461/0.5045, allocations: 1.427 MB / 0.6754 GB, free: 4.992 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0003592/0.5048, allocations: 478.7 kB / 0.6758 GB, free: 4.523 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0004633/0.5053, allocations: 0.536 MB / 0.6764 GB, free: 3.984 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002041/0.5074, allocations: 1.92 MB / 0.6782 GB, free: 2.059 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.5074, allocations: 0 / 0.6782 GB, free: 2.059 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.462e-06/0.5074, allocations: 4 kB / 0.6782 GB, free: 2.055 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.143e-05/0.5074, 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.002021/0.5094, allocations: 1.526 MB / 0.6797 GB, free: 488 kB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.605e-05/0.5095, allocations: 11.89 kB / 0.6797 GB, free: 476 kB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006857/0.5102, allocations: 190.3 kB / 0.6799 GB, free: 284 kB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001108/0.5113, allocations: 0.8508 MB / 0.6808 GB, free: 15.37 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.588e-05/0.5113, allocations: 37.31 kB / 0.6808 GB, free: 15.33 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.138e-05/0.5114, allocations: 51.98 kB / 0.6808 GB, free: 15.28 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009403/0.5123, allocations: 0.612 MB / 0.6814 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.899e-05/0.5124, allocations: 4.562 kB / 0.6814 GB, free: 14.65 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.822e-05/0.5124, allocations: 27.94 kB / 0.6815 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.255e-05/0.5125, allocations: 12 kB / 0.6815 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006949/0.5132, allocations: 476.9 kB / 0.6819 GB, free: 14.15 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.003918/0.5171, allocations: 2.566 MB / 0.6844 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002377/0.5173, allocations: 139.9 kB / 0.6846 GB, free: 11.27 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.124e-05/0.5174, allocations: 52.84 kB / 0.6846 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000239/0.5177, allocations: 121.1 kB / 0.6847 GB, free: 11.08 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.532e-05/0.5177, allocations: 38.56 kB / 0.6848 GB, free: 11.03 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=13): time 1.482e-06/0.5177, allocations: 0 / 0.6848 GB, free: 11.03 MB / 0.5294 GB Notification: Performance of matching and sorting (n=13): time 0.0004969/0.5182, allocations: 292.1 kB / 0.6851 GB, free: 10.74 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.364e-05/0.5183, allocations: 55.34 kB / 0.6851 GB, free: 10.67 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002046/0.5203, allocations: 1.903 MB / 0.687 GB, free: 8.75 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.202e-05/0.5204, allocations: 29.7 kB / 0.687 GB, free: 8.715 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004551/0.5208, allocations: 0.5827 MB / 0.6876 GB, free: 8.129 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.143e-05/0.5209, allocations: 47.36 kB / 0.6876 GB, free: 8.082 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001504/0.521, allocations: 77.59 kB / 0.6877 GB, free: 8 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001212/0.5212, allocations: 329.9 kB / 0.688 GB, free: 7.672 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000203/0.5214, allocations: 122.2 kB / 0.6881 GB, free: 7.551 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002837/0.5217, allocations: 247.4 kB / 0.6884 GB, free: 7.246 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004084/0.5221, allocations: 329.7 kB / 0.6887 GB, free: 6.859 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.354e-05/0.5221, allocations: 4 kB / 0.6887 GB, free: 6.855 MB / 0.5294 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007382/0.5228, allocations: 0.4917 MB / 0.6892 GB, free: 6.355 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.08e-05/0.5229, allocations: 11.91 kB / 0.6892 GB, free: 6.344 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.5229, allocations: 4.562 kB / 0.6892 GB, free: 6.34 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.969e-05/0.5229, allocations: 8 kB / 0.6892 GB, free: 6.332 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004842/0.5234, allocations: 113.2 kB / 0.6893 GB, free: 6.223 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006436/0.5241, allocations: 1.195 MB / 0.6905 GB, free: 4.98 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004291/0.5245, allocations: 71.2 kB / 0.6905 GB, free: 4.91 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.424e-05/0.5246, allocations: 20.19 kB / 0.6905 GB, free: 4.891 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.0004327/0.525, allocations: 395.5 kB / 0.6909 GB, free: 4.5 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001536/0.5252, allocations: 118.5 kB / 0.691 GB, free: 4.383 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004007/0.5256, allocations: 268.9 kB / 0.6913 GB, free: 4.109 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.5256, allocations: 0 / 0.6913 GB, free: 4.109 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.5256, allocations: 0 / 0.6913 GB, free: 4.109 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002976/0.5259, allocations: 231.7 kB / 0.6915 GB, free: 3.863 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001071/0.526, allocations: 11.94 kB / 0.6915 GB, free: 3.852 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004063/0.5264, allocations: 11.98 kB / 0.6915 GB, free: 3.84 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.438e-05/0.5265, allocations: 11.98 kB / 0.6915 GB, free: 3.828 MB / 0.5294 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005179/0.527, allocations: 266.5 kB / 0.6918 GB, free: 3.555 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004946/0.5275, allocations: 487.4 kB / 0.6923 GB, free: 3.062 MB / 0.5294 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.556e-05/0.5276, allocations: 56.73 kB / 0.6923 GB, free: 3.008 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001601/0.5292, allocations: 1.358 MB / 0.6936 GB, free: 1.648 MB / 0.5294 GB Notification: Performance of Backend: time 6.21e-07/0.5292, allocations: 3.938 kB / 0.6936 GB, free: 1.645 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002884/0.5321, allocations: 1.051 MB / 0.6947 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of SimCode: time 0.003461/0.5356, allocations: 2.664 MB / 0.6973 GB, free: 13.87 MB / 0.545 GB Notification: Performance of Templates: time 0.03321/0.5688, allocations: 21.33 MB / 0.7181 GB, free: 8.496 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)