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.001088/0.001088, allocations: 79.69 kB / 20.67 MB, free: 3.891 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.001217/0.001217, allocations: 170 kB / 23.95 MB, free: 0.6133 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.8535/0.8535, allocations: 158.6 MB / 185.7 MB, free: 3.027 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.1701/0.1701, allocations: 36.34 MB / 274.3 MB, free: 10.89 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.TestCompressorConstSpeed,fileNamePrefix="ThermoPower_ThermoPower_Test_GasComponents_TestCompressorConstSpeed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.GasComponents.TestCompressorConstSpeed,fileNamePrefix="ThermoPower_ThermoPower_Test_GasComponents_TestCompressorConstSpeed",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 414.3 MB, free: 6.102 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.335e-05/1.483e-05, allocations: 6.219 kB / 414.3 MB, free: 6.094 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestCompressorConstSpeed): time 0.2736/0.2736, allocations: 147.5 MB / 0.5486 GB, free: 9.922 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.003657/0.2773, allocations: 3.608 MB / 0.5522 GB, free: 6.305 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00041/0.2777, allocations: 11.94 kB / 0.5522 GB, free: 6.293 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000767/0.2785, allocations: 266.2 kB / 0.5524 GB, free: 6.031 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.0008373/0.2793, allocations: 0.5924 MB / 0.553 GB, free: 5.438 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002737/0.282, allocations: 1.698 MB / 0.5547 GB, free: 3.738 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.001066/0.2831, allocations: 1.332 MB / 0.556 GB, free: 2.402 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003957/0.2835, allocations: 346.4 kB / 0.5563 GB, free: 2.062 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006484/0.2841, allocations: 0.7012 MB / 0.557 GB, free: 1.359 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004477/0.2846, allocations: 0.4909 MB / 0.5575 GB, free: 0.8672 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 6.357e-05/0.2846, allocations: 58.44 kB / 0.5575 GB, free: 0.8125 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001981/0.2866, allocations: 1.255 MB / 0.5587 GB, free: 15.55 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002878/0.2869, allocations: 482.7 kB / 0.5592 GB, free: 15.08 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000307/0.2872, allocations: 359 kB / 0.5595 GB, free: 14.73 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001899/0.2891, allocations: 1.995 MB / 0.5615 GB, free: 12.73 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.2891, allocations: 0 / 0.5615 GB, free: 12.73 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.844e-06/0.2891, allocations: 0 / 0.5615 GB, free: 12.73 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.625e-05/0.2891, allocations: 0 / 0.5615 GB, free: 12.73 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: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.001777/0.2909, allocations: 1.519 MB / 0.563 GB, free: 11.18 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.32e-05/0.291, allocations: 12.03 kB / 0.563 GB, free: 11.16 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.859e-05/0.2911, allocations: 102.4 kB / 0.5631 GB, free: 11.05 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004989/0.2916, allocations: 191 kB / 0.5633 GB, free: 10.87 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008652/0.2924, allocations: 0.81 MB / 0.564 GB, free: 10.02 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.899e-05/0.2925, allocations: 37.31 kB / 0.5641 GB, free: 9.98 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.468e-05/0.2925, allocations: 48 kB / 0.5641 GB, free: 9.934 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008556/0.2934, allocations: 1.043 MB / 0.5651 GB, free: 8.773 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.8e-05/0.2934, allocations: 0 / 0.5651 GB, free: 8.773 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.812e-05/0.2934, allocations: 20 kB / 0.5652 GB, free: 8.754 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.204e-05/0.2935, allocations: 12 kB / 0.5652 GB, free: 8.742 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005229/0.294, allocations: 480.9 kB / 0.5656 GB, free: 8.27 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.002662/0.2966, allocations: 1.99 MB / 0.5676 GB, free: 6.223 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001962/0.2968, allocations: 130.5 kB / 0.5677 GB, free: 6.086 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.38e-05/0.2969, allocations: 48.84 kB / 0.5678 GB, free: 6.035 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001522/0.2971, allocations: 47.95 kB / 0.5678 GB, free: 5.988 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.389e-05/0.2971, allocations: 36.62 kB / 0.5678 GB, free: 5.945 MB / 474.7 MB Notification: Performance of pre-optimization done (n=13): time 1.954e-06/0.2971, allocations: 3.938 kB / 0.5678 GB, free: 5.941 MB / 474.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003869/0.2975, allocations: 296.8 kB / 0.5681 GB, free: 5.645 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.852e-05/0.2975, allocations: 55.41 kB / 0.5682 GB, free: 5.578 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00149/0.299, allocations: 1.931 MB / 0.5701 GB, free: 3.629 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.463e-05/0.299, allocations: 29.7 kB / 0.5701 GB, free: 3.594 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003272/0.2993, allocations: 0.5991 MB / 0.5707 GB, free: 2.988 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.866e-05/0.2994, allocations: 47.64 kB / 0.5707 GB, free: 2.941 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.862e-05/0.2995, allocations: 81.64 kB / 0.5708 GB, free: 2.855 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 8.561e-05/0.2995, allocations: 325.9 kB / 0.5711 GB, free: 2.531 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001511/0.2997, allocations: 122.1 kB / 0.5712 GB, free: 2.41 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001842/0.2999, allocations: 255.1 kB / 0.5715 GB, free: 2.098 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002949/0.3002, allocations: 341.6 kB / 0.5718 GB, free: 1.699 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/0.3002, allocations: 0 / 0.5718 GB, free: 1.699 MB / 474.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0005191/0.3007, allocations: 0.4926 MB / 0.5723 GB, free: 1.199 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.3007, allocations: 4 kB / 0.5723 GB, free: 1.195 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.794e-06/0.3007, allocations: 8.094 kB / 0.5723 GB, free: 1.188 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.703e-05/0.3007, allocations: 7.984 kB / 0.5723 GB, free: 1.18 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003013/0.301, allocations: 111.8 kB / 0.5724 GB, free: 1.07 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005348/0.3016, allocations: 1.201 MB / 0.5736 GB, free: 15.82 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002899/0.3019, allocations: 71.56 kB / 0.5736 GB, free: 15.75 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.536e-05/0.3019, allocations: 20 kB / 0.5737 GB, free: 15.73 MB / 490.7 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.0003559/0.3022, allocations: 386 kB / 0.574 GB, free: 15.35 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001044/0.3024, allocations: 127.2 kB / 0.5741 GB, free: 15.22 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003105/0.3027, allocations: 265.6 kB / 0.5744 GB, free: 14.95 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.511e-06/0.3027, allocations: 4 kB / 0.5744 GB, free: 14.95 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/0.3027, allocations: 0 / 0.5744 GB, free: 14.95 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.3027, allocations: 0 / 0.5744 GB, free: 14.95 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005438/0.3032, allocations: 0.5815 MB / 0.575 GB, free: 14.32 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.3032, allocations: 5.688 kB / 0.575 GB, free: 14.31 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001471/0.3034, allocations: 47.91 kB / 0.575 GB, free: 14.27 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.758e-06/0.3034, allocations: 0 / 0.575 GB, free: 14.27 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.307e-05/0.3034, allocations: 7.984 kB / 0.575 GB, free: 14.26 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003756/0.3038, allocations: 1.186 MB / 0.5762 GB, free: 13.03 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.3038, allocations: 0.75 kB / 0.5762 GB, free: 13.03 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003314/0.3041, allocations: 413.3 kB / 0.5766 GB, free: 12.61 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001951/0.3043, allocations: 183.1 kB / 0.5768 GB, free: 12.43 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.079e-05/0.3044, allocations: 0 / 0.5768 GB, free: 12.43 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002265/0.3046, allocations: 19.98 kB / 0.5768 GB, free: 12.41 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.029e-05/0.3046, allocations: 7.984 kB / 0.5768 GB, free: 12.4 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.49e-05/0.3046, allocations: 23.59 kB / 0.5768 GB, free: 12.38 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001102/0.3057, allocations: 1.366 MB / 0.5781 GB, free: 11.01 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.3057, allocations: 0 / 0.5781 GB, free: 11.01 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0005466/0.3063, allocations: 239.6 kB / 0.5784 GB, free: 10.78 MB / 490.7 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.001483/0.3078, allocations: 1.422 MB / 0.5798 GB, free: 9.336 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0004017/0.3082, allocations: 228.6 kB / 0.58 GB, free: 9.113 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.3082, allocations: 0 / 0.58 GB, free: 9.113 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 9.714e-05/0.3083, allocations: 76.03 kB / 0.58 GB, free: 9.039 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009345/0.3092, allocations: 364.3 kB / 0.5804 GB, free: 8.68 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0112/0.3204, allocations: 10.78 MB / 0.5909 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003654/0.3208, allocations: 0.4978 MB / 0.5914 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.000474/0.3212, allocations: 228.5 kB / 0.5916 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003338/0.3216, allocations: 400.4 kB / 0.592 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of SimCode: time 1.333e-06/0.3216, allocations: 0 / 0.592 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1903/0.5118, allocations: 31.62 MB / 0.6229 GB, free: 185.4 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.29/8.802, allocations: 4.672 kB / 0.6229 GB, free: 185.4 MB / 0.5105 GB " [Timeout remaining time 651] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_GasComponents_TestCompressorConstSpeed_fmu --startTime=0 --stopTime=2 --stepSize=0.0008 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Test_GasComponents_TestCompressorConstSpeed.fmu > ThermoPower_ThermoPower.Test.GasComponents.TestCompressorConstSpeed.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.680152679793537] Failed to read output from testmodel.py, exit status != 0: 8.923386102542281 8.932909808 8.641947899 Calling exit ...