Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbine.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.001055/0.001055, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 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.0009003/0.0009003, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 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 0.8156/0.8156, allocations: 158.6 MB / 185.7 MB, free: 3.039 MB / 170.7 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.1691/0.1691, allocations: 36.34 MB / 274.3 MB, free: 10.9 MB / 266.7 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: "" <> buildModelFMU(ThermoPower.Test.GasComponents.TestGasTurbine,fileNamePrefix="ThermoPower_ThermoPower_Test_GasComponents_TestGasTurbine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.GasComponents.TestGasTurbine,fileNamePrefix="ThermoPower_ThermoPower_Test_GasComponents_TestGasTurbine",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.392e-06/1.392e-06, allocations: 0 / 414.3 MB, free: 6.109 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.062e-05/1.201e-05, allocations: 2.281 kB / 414.3 MB, free: 6.105 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGasTurbine): time 0.2631/0.2631, allocations: 147.4 MB / 0.5486 GB, free: 9.988 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.003466/0.2666, allocations: 3.51 MB / 0.552 GB, free: 6.469 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002065/0.2668, allocations: 11.88 kB / 0.552 GB, free: 6.457 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006482/0.2674, allocations: 254.2 kB / 0.5523 GB, free: 6.207 MB / 458.7 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.0006279/0.268, allocations: 0.5127 MB / 0.5528 GB, free: 5.691 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002156/0.2702, allocations: 1.606 MB / 0.5543 GB, free: 4.082 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007305/0.2709, allocations: 1.25 MB / 0.5555 GB, free: 2.828 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002943/0.2712, allocations: 322.4 kB / 0.5558 GB, free: 2.512 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000492/0.2717, allocations: 0.6545 MB / 0.5565 GB, free: 1.855 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000327/0.272, allocations: 418.9 kB / 0.5569 GB, free: 1.445 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 5.596e-05/0.2721, allocations: 56 kB / 0.5569 GB, free: 1.391 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001405/0.2735, allocations: 1.243 MB / 0.5582 GB, free: 148 kB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002178/0.2737, allocations: 395 kB / 0.5585 GB, free: 15.76 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001978/0.2739, allocations: 319.2 kB / 0.5588 GB, free: 15.45 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001242/0.2752, allocations: 1.808 MB / 0.5606 GB, free: 13.63 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.2752, allocations: 6.719 kB / 0.5606 GB, free: 13.63 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.2752, allocations: 3.984 kB / 0.5606 GB, free: 13.62 MB / 474.7 MB Notification: Performance of Transformations before backend: time 7.765e-06/0.2752, allocations: 0 / 0.5606 GB, free: 13.62 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.001171/0.2763, allocations: 1.235 MB / 0.5618 GB, free: 12.36 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.443e-05/0.2764, allocations: 8.031 kB / 0.5618 GB, free: 12.35 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.703e-05/0.2764, allocations: 102.5 kB / 0.5619 GB, free: 12.24 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003859/0.2768, allocations: 159.3 kB / 0.5621 GB, free: 12.08 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005734/0.2774, allocations: 0.5949 MB / 0.5627 GB, free: 11.46 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.249e-05/0.2774, allocations: 37 kB / 0.5627 GB, free: 11.42 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.796e-05/0.2775, allocations: 48 kB / 0.5627 GB, free: 11.37 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007177/0.2782, allocations: 1.03 MB / 0.5637 GB, free: 10.22 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.526e-05/0.2782, allocations: 3.953 kB / 0.5637 GB, free: 10.22 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.056e-05/0.2783, allocations: 28 kB / 0.5638 GB, free: 10.19 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.057e-06/0.2783, allocations: 12 kB / 0.5638 GB, free: 10.18 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000681/0.2789, allocations: 467.6 kB / 0.5642 GB, free: 9.723 MB / 474.7 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.002092/0.281, allocations: 1.751 MB / 0.5659 GB, free: 7.922 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001754/0.2812, allocations: 127.8 kB / 0.5661 GB, free: 7.789 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.631e-05/0.2813, allocations: 45.09 kB / 0.5661 GB, free: 7.742 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001312/0.2814, allocations: 59.95 kB / 0.5662 GB, free: 7.684 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.961e-05/0.2814, allocations: 38.56 kB / 0.5662 GB, free: 7.637 MB / 474.7 MB Notification: Performance of pre-optimization done (n=14): time 1.232e-06/0.2814, allocations: 0 / 0.5662 GB, free: 7.637 MB / 474.7 MB Notification: Performance of matching and sorting (n=14): time 0.0003294/0.2817, allocations: 264.9 kB / 0.5665 GB, free: 7.371 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.345e-05/0.2818, allocations: 51.41 kB / 0.5665 GB, free: 7.309 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009743/0.2827, allocations: 1.344 MB / 0.5678 GB, free: 5.941 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.315e-05/0.2828, allocations: 29.7 kB / 0.5678 GB, free: 5.906 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002331/0.283, allocations: 475.8 kB / 0.5683 GB, free: 5.438 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.817e-05/0.283, allocations: 59.53 kB / 0.5684 GB, free: 5.379 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.305e-05/0.2831, allocations: 85.97 kB / 0.5684 GB, free: 5.289 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 7.173e-05/0.2832, allocations: 325.9 kB / 0.5687 GB, free: 4.965 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001376/0.2833, allocations: 130.6 kB / 0.5689 GB, free: 4.836 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001845/0.2835, allocations: 246 kB / 0.5691 GB, free: 4.531 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002778/0.2838, allocations: 336.8 kB / 0.5694 GB, free: 4.141 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.539e-06/0.2838, allocations: 7.812 kB / 0.5694 GB, free: 4.137 MB / 474.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0004537/0.2842, allocations: 484.5 kB / 0.5699 GB, free: 3.656 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/0.2843, allocations: 8 kB / 0.5699 GB, free: 3.648 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.2843, allocations: 4.531 kB / 0.5699 GB, free: 3.645 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.2843, allocations: 4 kB / 0.5699 GB, free: 3.641 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002487/0.2845, allocations: 107.9 kB / 0.57 GB, free: 3.535 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002375/0.2848, allocations: 0.6093 MB / 0.5706 GB, free: 2.902 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00022/0.285, allocations: 79.39 kB / 0.5707 GB, free: 2.824 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.89e-05/0.285, allocations: 16 kB / 0.5707 GB, free: 2.809 MB / 474.7 MB Warning: Assuming fixed start value for the following 1 variables: Inertia1.phi:VARIABLE(unit = \"rad\" fixed = true ) \"Absolute rotation angle of component\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (47): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004812/0.2855, allocations: 301.6 kB / 0.571 GB, free: 2.504 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.378e-05/0.2856, allocations: 95.42 kB / 0.5711 GB, free: 2.41 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002538/0.2858, allocations: 245.7 kB / 0.5713 GB, free: 2.16 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.2858, allocations: 0 / 0.5713 GB, free: 2.16 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.2858, allocations: 0 / 0.5713 GB, free: 2.16 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.2858, allocations: 4 kB / 0.5713 GB, free: 2.156 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003871/0.2862, allocations: 465.5 kB / 0.5718 GB, free: 1.66 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.2862, allocations: 0 / 0.5718 GB, free: 1.66 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001276/0.2864, allocations: 51.91 kB / 0.5718 GB, free: 1.609 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.2864, allocations: 0 / 0.5718 GB, free: 1.609 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.139e-05/0.2864, allocations: 7.922 kB / 0.5718 GB, free: 1.602 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001835/0.2865, allocations: 0.5939 MB / 0.5724 GB, free: 0.9844 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.2865, allocations: 2.266 kB / 0.5724 GB, free: 0.9844 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000291/0.2868, allocations: 397.9 kB / 0.5728 GB, free: 0.582 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001333/0.287, allocations: 123.4 kB / 0.5729 GB, free: 472 kB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.975e-05/0.287, allocations: 8 kB / 0.5729 GB, free: 464 kB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001988/0.2872, allocations: 19.92 kB / 0.5729 GB, free: 444 kB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.841e-05/0.2872, allocations: 7.984 kB / 0.5729 GB, free: 436 kB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.113e-05/0.2873, allocations: 19.97 kB / 0.5729 GB, free: 416 kB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0007507/0.288, allocations: 0.9424 MB / 0.5739 GB, free: 15.45 MB / 490.7 MB Notification: Performance of sort global known variables: time 9e-08/0.288, allocations: 0 / 0.5739 GB, free: 15.45 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.000522/0.2885, allocations: 231.7 kB / 0.5741 GB, free: 15.23 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (Inertia1.phi,Inertia1.w) * 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 (14): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00131/0.2898, allocations: 1.385 MB / 0.5754 GB, free: 13.83 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0003161/0.2902, allocations: 224.3 kB / 0.5757 GB, free: 13.61 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.2902, allocations: 4 kB / 0.5757 GB, free: 13.61 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 7.584e-05/0.2902, allocations: 63.91 kB / 0.5757 GB, free: 13.54 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008277/0.2911, allocations: 339.4 kB / 0.576 GB, free: 13.21 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007007/0.2981, allocations: 7.998 MB / 0.5839 GB, free: 4.953 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002625/0.2983, allocations: 396.2 kB / 0.5842 GB, free: 4.539 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0003128/0.2986, allocations: 174.6 kB / 0.5844 GB, free: 4.363 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002464/0.2989, allocations: 296.4 kB / 0.5847 GB, free: 4.074 MB / 490.7 MB Notification: Performance of SimCode: time 4.31e-07/0.2989, allocations: 0 / 0.5847 GB, free: 4.074 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03859/0.3375, allocations: 26.84 MB / 0.6109 GB, free: 9.047 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.464/8.802, allocations: 3.938 kB / 0.6109 GB, free: 9.043 MB / 0.5105 GB " [Timeout remaining time 651] (rm -f ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbine.pipe ; mkfifo ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbine.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbine.pipe >> ../files/ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_GasComponents_TestGasTurbine_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Test_GasComponents_TestGasTurbine.fmu > ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbine.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.8172957431525] Failed to read output from testmodel.py, exit status != 0: 8.92159749288112 9.114905095 8.837788042 Calling exit ...