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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001391/0.001391, allocations: 103.6 kB / 21.18 MB, free: 0.6445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001484/0.001484, allocations: 210 kB / 24.48 MB, free: 3.938 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.374/1.374, allocations: 207.7 MB / 235.3 MB, free: 9.773 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo): time 0.2879/0.2879, allocations: 49.61 MB / 337.2 MB, free: 3.871 MB / 270.1 MB " [Timeout remaining time 179] Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ThermoPower.Test.GasComponents.TestCompressorConstSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestCompressorConstSpeed") translateModel(ThermoPower.Test.GasComponents.TestCompressorConstSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestCompressorConstSpeed") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002245/0.002245, allocations: 79.89 kB / 477.6 MB, free: 12.26 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1123/0.1146, allocations: 62.43 MB / 0.5274 GB, free: 13.64 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestCompressorConstSpeed): time 0.3861/0.5007, allocations: 147.5 MB / 0.6714 GB, free: 1.41 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.005645/0.5063, allocations: 3.604 MB / 0.6749 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000449/0.5068, allocations: 11.94 kB / 0.6749 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0009009/0.5077, allocations: 258.3 kB / 0.6752 GB, free: 13.53 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.001245/0.5089, allocations: 0.5833 MB / 0.6757 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004143/0.5131, allocations: 1.66 MB / 0.6774 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001709/0.5148, allocations: 1.333 MB / 0.6787 GB, free: 9.953 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006371/0.5154, allocations: 365.7 kB / 0.679 GB, free: 9.59 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009168/0.5163, allocations: 0.5333 MB / 0.6795 GB, free: 9.055 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008394/0.5172, allocations: 0.5333 MB / 0.68 GB, free: 8.52 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001367/0.5173, allocations: 56 kB / 0.6801 GB, free: 8.465 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002528/0.5198, allocations: 1.232 MB / 0.6813 GB, free: 7.23 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0004799/0.5203, allocations: 474.7 kB / 0.6818 GB, free: 6.766 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0006097/0.5209, allocations: 437.6 kB / 0.6822 GB, free: 6.336 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002765/0.5237, allocations: 1.911 MB / 0.684 GB, free: 4.422 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.5237, allocations: 0 / 0.684 GB, free: 4.422 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.433e-06/0.5237, allocations: 0 / 0.684 GB, free: 4.422 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 3.201e-05/0.5237, allocations: 0 / 0.684 GB, free: 4.422 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.002615/0.5263, allocations: 1.503 MB / 0.6855 GB, free: 2.883 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.5264, allocations: 8.031 kB / 0.6855 GB, free: 2.875 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007806/0.5271, allocations: 195 kB / 0.6857 GB, free: 2.684 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001355/0.5285, allocations: 0.7857 MB / 0.6865 GB, free: 1.859 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.796e-05/0.5285, allocations: 41.31 kB / 0.6865 GB, free: 1.816 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.474e-05/0.5286, allocations: 48 kB / 0.6866 GB, free: 1.77 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00125/0.5299, allocations: 1.047 MB / 0.6876 GB, free: 0.6055 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.984e-05/0.5299, allocations: 3.984 kB / 0.6876 GB, free: 0.6016 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.186e-05/0.5299, allocations: 23.94 kB / 0.6876 GB, free: 0.5781 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.224e-05/0.53, allocations: 19.94 kB / 0.6876 GB, free: 0.5586 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007382/0.5307, allocations: 469 kB / 0.6881 GB, free: 100 kB / 0.5137 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.003931/0.5346, allocations: 1.833 MB / 0.6899 GB, free: 14.22 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002517/0.5349, allocations: 122.6 kB / 0.69 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.13e-05/0.535, allocations: 56.84 kB / 0.69 GB, free: 14.03 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002466/0.5352, allocations: 51.94 kB / 0.6901 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.153e-05/0.5352, allocations: 38.56 kB / 0.6901 GB, free: 13.93 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=13): time 1.473e-06/0.5353, allocations: 3.938 kB / 0.6901 GB, free: 13.93 MB / 0.5294 GB Notification: Performance of matching and sorting (n=13): time 0.0005037/0.5358, allocations: 268.9 kB / 0.6904 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.26e-05/0.5358, allocations: 51.41 kB / 0.6904 GB, free: 13.6 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002024/0.5378, allocations: 1.676 MB / 0.6921 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.219e-05/0.5379, allocations: 25.7 kB / 0.6921 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005221/0.5384, allocations: 0.6094 MB / 0.6927 GB, free: 11.26 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.431e-05/0.5384, allocations: 47.64 kB / 0.6927 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001275/0.5385, allocations: 81.59 kB / 0.6928 GB, free: 11.13 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001479/0.5387, allocations: 325.9 kB / 0.6931 GB, free: 10.8 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002157/0.5389, allocations: 126.2 kB / 0.6932 GB, free: 10.68 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003223/0.5392, allocations: 251.1 kB / 0.6935 GB, free: 10.37 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004723/0.5397, allocations: 337.7 kB / 0.6938 GB, free: 9.977 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.5397, allocations: 0 / 0.6938 GB, free: 9.977 MB / 0.5294 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008495/0.5406, allocations: 484.9 kB / 0.6943 GB, free: 9.496 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.271e-05/0.5406, allocations: 12.06 kB / 0.6943 GB, free: 9.484 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/0.5406, allocations: 4 kB / 0.6943 GB, free: 9.48 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.667e-05/0.5406, allocations: 11.94 kB / 0.6943 GB, free: 9.469 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005393/0.5412, allocations: 103.9 kB / 0.6944 GB, free: 9.367 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009207/0.5421, allocations: 1.192 MB / 0.6956 GB, free: 8.129 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004448/0.5425, allocations: 60.11 kB / 0.6956 GB, free: 8.07 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.766e-05/0.5426, allocations: 16 kB / 0.6956 GB, free: 8.055 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.0006286/0.5432, allocations: 389.6 kB / 0.696 GB, free: 7.664 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001545/0.5434, allocations: 103.3 kB / 0.6961 GB, free: 7.562 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004447/0.5438, allocations: 263.6 kB / 0.6963 GB, free: 7.301 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.5438, allocations: 0 / 0.6963 GB, free: 7.301 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.5438, allocations: 0 / 0.6963 GB, free: 7.301 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.5438, allocations: 0 / 0.6963 GB, free: 7.301 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007366/0.5445, allocations: 0.5266 MB / 0.6969 GB, free: 6.746 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.5445, allocations: 0 / 0.6969 GB, free: 6.746 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002492/0.5448, allocations: 43.97 kB / 0.6969 GB, free: 6.703 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.691e-06/0.5448, allocations: 4 kB / 0.6969 GB, free: 6.699 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.591e-05/0.5448, allocations: 8 kB / 0.6969 GB, free: 6.691 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007438/0.5456, allocations: 1.184 MB / 0.6981 GB, free: 5.461 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.5456, allocations: 0 / 0.6981 GB, free: 5.461 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005211/0.5461, allocations: 392 kB / 0.6984 GB, free: 5.062 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003391/0.5464, allocations: 139.2 kB / 0.6986 GB, free: 4.926 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.472e-05/0.5465, allocations: 4 kB / 0.6986 GB, free: 4.922 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003868/0.5469, allocations: 16.23 kB / 0.6986 GB, free: 4.906 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.94e-05/0.5469, allocations: 20.89 kB / 0.6986 GB, free: 4.887 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.605e-05/0.547, allocations: 15.97 kB / 0.6986 GB, free: 4.871 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001586/0.5485, allocations: 1.185 MB / 0.6998 GB, free: 3.68 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.5485, allocations: 0 / 0.6998 GB, free: 3.68 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0008075/0.5494, allocations: 259.3 kB / 0.7 GB, free: 3.426 MB / 0.5294 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.002026/0.5514, allocations: 0.5563 MB / 0.7006 GB, free: 2.863 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.000603/0.552, allocations: 231.6 kB / 0.7008 GB, free: 2.637 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.552, allocations: 0 / 0.7008 GB, free: 2.637 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001909/0.5522, allocations: 71.91 kB / 0.7009 GB, free: 2.566 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009768/0.5532, allocations: 205.2 kB / 0.7011 GB, free: 2.367 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003263/0.5564, allocations: 1.985 MB / 0.703 GB, free: 348 kB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006259/0.557, allocations: 0.4966 MB / 0.7035 GB, free: 15.81 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001864/0.5572, allocations: 67.42 kB / 0.7035 GB, free: 15.75 MB / 0.545 GB Notification: Performance of SimCode: time 5.81e-07/0.5572, allocations: 0 / 0.7035 GB, free: 15.75 MB / 0.545 GB Notification: Performance of Templates: time 0.03295/0.5902, allocations: 21.85 MB / 0.7249 GB, free: 9.855 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ThermoPower_ThermoPower.Test.GasComponents.TestCompressorConstSpeed.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.285021310206503] Failed to read output from testmodel.py, exit status != 0: 0.5990656749345362 0.614116966 0.087188359 Calling exit ...