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.001703/0.001703, allocations: 84.3 kB / 20.68 MB, free: 1.035 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.001628/0.001628, allocations: 168.8 kB / 23.95 MB, free: 4.172 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.315/1.315, allocations: 158.6 MB / 185.7 MB, free: 6.426 MB / 174.1 MB " [Timeout remaining time 179] 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.2706/0.2706, allocations: 36.35 MB / 274.3 MB, free: 0.6484 MB / 254.1 MB " [Timeout remaining time 180] 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: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 414.8 MB, free: 11.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.888e-05/2.033e-05, allocations: 6.281 kB / 414.8 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestCompressorConstSpeed): time 0.3595/0.3596, allocations: 147.5 MB / 0.5491 GB, free: 2.613 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005685/0.3652, allocations: 3.606 MB / 0.5527 GB, free: 15 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003321/0.3656, allocations: 11.88 kB / 0.5527 GB, free: 14.98 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008542/0.3664, allocations: 266.2 kB / 0.5529 GB, free: 14.72 MB / 446.1 MB [/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.001093/0.3675, allocations: 0.5907 MB / 0.5535 GB, free: 14.13 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004085/0.3716, allocations: 1.692 MB / 0.5551 GB, free: 12.44 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001562/0.3732, allocations: 1.332 MB / 0.5564 GB, free: 11.1 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005079/0.3737, allocations: 354.4 kB / 0.5568 GB, free: 10.75 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00089/0.3746, allocations: 0.6935 MB / 0.5575 GB, free: 10.06 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006629/0.3752, allocations: 498.8 kB / 0.5579 GB, free: 9.57 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001124/0.3753, allocations: 56 kB / 0.558 GB, free: 9.516 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002403/0.3777, allocations: 1.254 MB / 0.5592 GB, free: 8.258 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004475/0.3782, allocations: 482.7 kB / 0.5597 GB, free: 7.785 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004325/0.3786, allocations: 353.7 kB / 0.56 GB, free: 7.441 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002581/0.3812, allocations: 1.983 MB / 0.562 GB, free: 5.453 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.3812, allocations: 3.938 kB / 0.562 GB, free: 5.449 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.3812, allocations: 4 kB / 0.562 GB, free: 5.445 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.319e-05/0.3812, allocations: 3.938 kB / 0.562 GB, free: 5.441 MB / 446.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.002321/0.3835, allocations: 1.472 MB / 0.5634 GB, free: 3.934 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.349e-05/0.3836, allocations: 8.031 kB / 0.5634 GB, free: 3.926 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007959/0.3844, allocations: 206.9 kB / 0.5636 GB, free: 3.723 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00123/0.3856, allocations: 0.7902 MB / 0.5644 GB, free: 2.891 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.03e-05/0.3856, allocations: 41.25 kB / 0.5644 GB, free: 2.852 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.856e-05/0.3857, allocations: 48 kB / 0.5645 GB, free: 2.805 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001299/0.387, allocations: 1.046 MB / 0.5655 GB, free: 1.641 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.794e-05/0.387, allocations: 0 / 0.5655 GB, free: 1.641 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.568e-05/0.3871, allocations: 24 kB / 0.5655 GB, free: 1.617 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.243e-05/0.3871, allocations: 16 kB / 0.5655 GB, free: 1.602 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007765/0.3879, allocations: 472.9 kB / 0.566 GB, free: 1.137 MB / 446.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.004049/0.3919, allocations: 1.833 MB / 0.5678 GB, free: 15.25 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002786/0.3922, allocations: 138.2 kB / 0.5679 GB, free: 15.11 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001044/0.3923, allocations: 48.84 kB / 0.5679 GB, free: 15.06 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002453/0.3926, allocations: 47.95 kB / 0.568 GB, free: 15.02 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.37e-05/0.3926, allocations: 38.56 kB / 0.568 GB, free: 14.97 MB / 462.1 MB Notification: Performance of pre-optimization done (n=13): time 1.433e-06/0.3926, allocations: 0 / 0.568 GB, free: 14.97 MB / 462.1 MB Notification: Performance of matching and sorting (n=13): time 0.0005483/0.3932, allocations: 272.9 kB / 0.5683 GB, free: 14.7 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.622e-05/0.3932, allocations: 51.41 kB / 0.5683 GB, free: 14.63 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00206/0.3953, allocations: 1.68 MB / 0.57 GB, free: 12.94 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.355e-05/0.3953, allocations: 33.7 kB / 0.57 GB, free: 12.9 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000526/0.3958, allocations: 0.5938 MB / 0.5706 GB, free: 12.3 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.009e-05/0.3959, allocations: 55.48 kB / 0.5706 GB, free: 12.25 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001386/0.396, allocations: 81.64 kB / 0.5707 GB, free: 12.16 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001424/0.3962, allocations: 321.9 kB / 0.571 GB, free: 11.84 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002247/0.3964, allocations: 130.2 kB / 0.5711 GB, free: 11.71 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003112/0.3967, allocations: 243.2 kB / 0.5714 GB, free: 11.41 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004895/0.3972, allocations: 337.6 kB / 0.5717 GB, free: 11.02 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/0.3972, allocations: 4 kB / 0.5717 GB, free: 11.01 MB / 462.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008282/0.398, allocations: 484.4 kB / 0.5722 GB, free: 10.53 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.114e-05/0.398, allocations: 11.94 kB / 0.5722 GB, free: 10.52 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.786e-06/0.3981, allocations: 4 kB / 0.5722 GB, free: 10.52 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.03e-05/0.3981, allocations: 8.562 kB / 0.5722 GB, free: 10.51 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000563/0.3986, allocations: 111.8 kB / 0.5723 GB, free: 10.4 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007692/0.3994, allocations: 1.191 MB / 0.5735 GB, free: 9.16 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004278/0.3998, allocations: 55.66 kB / 0.5735 GB, free: 9.105 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.111e-05/0.3999, allocations: 23.98 kB / 0.5735 GB, free: 9.082 MB / 462.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 (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.000527/0.4004, allocations: 380.4 kB / 0.5739 GB, free: 8.703 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001679/0.4006, allocations: 111.3 kB / 0.574 GB, free: 8.594 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004538/0.401, allocations: 251.3 kB / 0.5742 GB, free: 8.336 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/0.401, allocations: 0 / 0.5742 GB, free: 8.336 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.401, allocations: 0 / 0.5742 GB, free: 8.336 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.401, allocations: 0 / 0.5742 GB, free: 8.336 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008003/0.4018, allocations: 0.5189 MB / 0.5748 GB, free: 7.789 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.4018, allocations: 4.812 kB / 0.5748 GB, free: 7.785 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000279/0.4021, allocations: 50.45 kB / 0.5748 GB, free: 7.738 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.4021, allocations: 0 / 0.5748 GB, free: 7.738 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.787e-05/0.4021, allocations: 11.94 kB / 0.5748 GB, free: 7.727 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007695/0.4029, allocations: 1.181 MB / 0.576 GB, free: 6.5 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.4029, allocations: 0 / 0.576 GB, free: 6.5 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005194/0.4034, allocations: 392 kB / 0.5763 GB, free: 6.102 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002623/0.4037, allocations: 135.4 kB / 0.5765 GB, free: 5.969 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.934e-05/0.4038, allocations: 3.938 kB / 0.5765 GB, free: 5.965 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004037/0.4042, allocations: 23.97 kB / 0.5765 GB, free: 5.941 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.821e-05/0.4042, allocations: 7.984 kB / 0.5765 GB, free: 5.934 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.857e-05/0.4043, allocations: 15.98 kB / 0.5765 GB, free: 5.918 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001531/0.4058, allocations: 1.185 MB / 0.5777 GB, free: 4.727 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4058, allocations: 4.094 kB / 0.5777 GB, free: 4.723 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.000802/0.4066, allocations: 263.3 kB / 0.5779 GB, free: 4.465 MB / 462.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 (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.001994/0.4086, allocations: 0.566 MB / 0.5785 GB, free: 3.902 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.000598/0.4092, allocations: 240.3 kB / 0.5787 GB, free: 3.668 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.4092, allocations: 0 / 0.5787 GB, free: 3.668 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001992/0.4094, allocations: 67.91 kB / 0.5788 GB, free: 3.602 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001045/0.4104, allocations: 196.6 kB / 0.579 GB, free: 3.406 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002927/0.4134, allocations: 1.885 MB / 0.5808 GB, free: 1.484 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006136/0.414, allocations: 0.5203 MB / 0.5813 GB, free: 0.9336 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004796/0.4145, allocations: 182.6 kB / 0.5815 GB, free: 0.75 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001595/0.4146, allocations: 68.5 kB / 0.5816 GB, free: 0.6836 MB / 462.1 MB Notification: Performance of SimCode: time 3.91e-07/0.4146, allocations: 0 / 0.5816 GB, free: 0.6836 MB / 462.1 MB Notification: Performance of Templates: time 0.02554/0.4402, allocations: 13.42 MB / 0.5947 GB, free: 3.238 MB / 478.1 MB " [Timeout remaining time 660] 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: 5.263788353651762] Failed to read output from testmodel.py, exit status != 0: 0.4487222023308277 0.46291002400000003 0.078605305 Calling exit ...