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.001037/0.001037, 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.001163/0.001163, allocations: 170.3 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.8403/0.8403, 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.1737/0.1737, allocations: 36.35 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.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 2.214e-06/2.214e-06, allocations: 0 / 414.3 MB, free: 6.102 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.04e-05/2.261e-05, allocations: 2.281 kB / 414.3 MB, free: 6.098 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestCompressorConstSpeed): time 0.3141/0.3141, allocations: 147.5 MB / 0.5486 GB, free: 9.926 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.004067/0.3182, allocations: 3.603 MB / 0.5521 GB, free: 6.312 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002628/0.3185, allocations: 11.94 kB / 0.5522 GB, free: 6.301 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000681/0.3192, allocations: 270.2 kB / 0.5524 GB, free: 6.035 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.0007306/0.3199, allocations: 0.5924 MB / 0.553 GB, free: 5.441 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002604/0.3225, allocations: 1.698 MB / 0.5547 GB, free: 3.742 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009952/0.3235, allocations: 1.332 MB / 0.556 GB, free: 2.406 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003496/0.3238, allocations: 346.4 kB / 0.5563 GB, free: 2.066 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008308/0.3247, allocations: 0.7012 MB / 0.557 GB, free: 1.363 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003924/0.3251, allocations: 0.4909 MB / 0.5574 GB, free: 0.8711 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 6.016e-05/0.3251, allocations: 58.44 kB / 0.5575 GB, free: 0.8164 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001346/0.3265, allocations: 1.255 MB / 0.5587 GB, free: 15.56 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002496/0.3267, allocations: 482.7 kB / 0.5592 GB, free: 15.09 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002181/0.3269, allocations: 359 kB / 0.5595 GB, free: 14.73 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001426/0.3284, allocations: 1.995 MB / 0.5615 GB, free: 12.73 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.3284, allocations: 0 / 0.5615 GB, free: 12.73 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3284, allocations: 0 / 0.5615 GB, free: 12.73 MB / 474.7 MB Notification: Performance of Transformations before backend: time 9.528e-06/0.3284, 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.001427/0.3298, allocations: 1.519 MB / 0.563 GB, free: 11.18 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.634e-05/0.3298, allocations: 12.03 kB / 0.563 GB, free: 11.17 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.178e-05/0.3299, allocations: 94.45 kB / 0.5631 GB, free: 11.07 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000422/0.3303, allocations: 199 kB / 0.5633 GB, free: 10.87 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001022/0.3314, allocations: 0.8061 MB / 0.564 GB, free: 10.02 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.355e-05/0.3314, allocations: 41.3 kB / 0.5641 GB, free: 9.984 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.972e-05/0.3314, allocations: 48 kB / 0.5641 GB, free: 9.938 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007454/0.3322, allocations: 1.043 MB / 0.5651 GB, free: 8.777 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.484e-05/0.3322, allocations: 3.984 kB / 0.5651 GB, free: 8.773 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.078e-05/0.3322, allocations: 20 kB / 0.5652 GB, free: 8.754 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.827e-06/0.3322, allocations: 12 kB / 0.5652 GB, free: 8.742 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004694/0.3327, 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.00231/0.335, allocations: 1.986 MB / 0.5676 GB, free: 6.227 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001786/0.3352, allocations: 130.6 kB / 0.5677 GB, free: 6.09 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.966e-05/0.3353, allocations: 52.83 kB / 0.5678 GB, free: 6.035 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001331/0.3354, allocations: 47.95 kB / 0.5678 GB, free: 5.988 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.069e-05/0.3354, allocations: 34.56 kB / 0.5678 GB, free: 5.945 MB / 474.7 MB Notification: Performance of pre-optimization done (n=13): time 5.83e-06/0.3354, allocations: 3.938 kB / 0.5678 GB, free: 5.941 MB / 474.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003532/0.3358, allocations: 296.8 kB / 0.5681 GB, free: 5.645 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.55e-05/0.3358, allocations: 55.41 kB / 0.5682 GB, free: 5.578 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00145/0.3372, allocations: 1.931 MB / 0.5701 GB, free: 3.629 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.27e-05/0.3373, allocations: 29.7 kB / 0.5701 GB, free: 3.594 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000591/0.3379, allocations: 0.5991 MB / 0.5707 GB, free: 2.988 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.81e-05/0.3379, allocations: 47.64 kB / 0.5707 GB, free: 2.941 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.282e-05/0.338, allocations: 81.64 kB / 0.5708 GB, free: 2.855 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 7.41e-05/0.338, allocations: 325.9 kB / 0.5711 GB, free: 2.531 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001356/0.3382, allocations: 122.1 kB / 0.5712 GB, free: 2.41 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001797/0.3384, allocations: 258.8 kB / 0.5715 GB, free: 2.098 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002811/0.3386, allocations: 341.6 kB / 0.5718 GB, free: 1.699 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.3386, allocations: 0 / 0.5718 GB, free: 1.699 MB / 474.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0004756/0.3391, allocations: 0.4926 MB / 0.5723 GB, free: 1.199 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.3391, allocations: 4 kB / 0.5723 GB, free: 1.195 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.3391, allocations: 8 kB / 0.5723 GB, free: 1.188 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.3392, allocations: 4 kB / 0.5723 GB, free: 1.184 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002846/0.3394, allocations: 111.8 kB / 0.5724 GB, free: 1.074 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004481/0.3399, allocations: 1.204 MB / 0.5736 GB, free: 15.82 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002359/0.3401, allocations: 67.5 kB / 0.5736 GB, free: 15.76 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.192e-05/0.3402, allocations: 20 kB / 0.5737 GB, free: 15.74 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.0003331/0.3405, allocations: 390.1 kB / 0.574 GB, free: 15.35 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001001/0.3406, allocations: 127.2 kB / 0.5741 GB, free: 15.22 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002848/0.3409, allocations: 265 kB / 0.5744 GB, free: 14.95 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.3409, allocations: 4 kB / 0.5744 GB, free: 14.95 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.3409, allocations: 0 / 0.5744 GB, free: 14.95 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.3409, allocations: 4 kB / 0.5744 GB, free: 14.94 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004949/0.3414, allocations: 0.5815 MB / 0.575 GB, free: 14.31 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.3414, allocations: 0 / 0.575 GB, free: 14.31 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001411/0.3415, allocations: 48.78 kB / 0.575 GB, free: 14.27 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.975e-06/0.3415, allocations: 0 / 0.575 GB, free: 14.27 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.161e-05/0.3415, allocations: 8.859 kB / 0.575 GB, free: 14.26 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003596/0.3419, allocations: 1.182 MB / 0.5762 GB, free: 13.03 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.3419, allocations: 0 / 0.5762 GB, free: 13.03 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003182/0.3422, allocations: 417.3 kB / 0.5766 GB, free: 12.61 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001953/0.3424, allocations: 183.1 kB / 0.5768 GB, free: 12.43 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.96e-05/0.3425, allocations: 0 / 0.5768 GB, free: 12.43 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002184/0.3427, allocations: 23.3 kB / 0.5768 GB, free: 12.41 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.131e-05/0.3427, allocations: 12.06 kB / 0.5768 GB, free: 12.39 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.297e-05/0.3427, allocations: 19.97 kB / 0.5768 GB, free: 12.38 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001342/0.3441, allocations: 1.366 MB / 0.5781 GB, free: 11.01 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.3441, allocations: 0 / 0.5781 GB, free: 11.01 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0004521/0.3445, allocations: 239.6 kB / 0.5784 GB, free: 10.77 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.001351/0.3459, allocations: 1.417 MB / 0.5798 GB, free: 9.34 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0003511/0.3462, allocations: 232.6 kB / 0.58 GB, free: 9.113 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.3462, allocations: 0 / 0.58 GB, free: 9.113 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001035/0.3463, allocations: 76.09 kB / 0.5801 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.0008973/0.3472, 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.01035/0.3576, allocations: 10.77 MB / 0.5909 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003441/0.3579, allocations: 0.4978 MB / 0.5914 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0006828/0.3586, allocations: 228.7 kB / 0.5916 GB, free: 12.9 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003208/0.3589, allocations: 404.4 kB / 0.592 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of SimCode: time 5.21e-07/0.3589, allocations: 0 / 0.592 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1987/0.5577, allocations: 31.62 MB / 0.6229 GB, free: 185.4 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.371/8.929, allocations: 10.22 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 & python3 -m fmpy simulate --output-file ThermoPower_ThermoPower.Test.GasComponents.TestCompressorConstSpeed_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 ThermoPower_ThermoPower_Test_GasComponents_TestCompressorConstSpeed.fmu > ThermoPower_ThermoPower.Test.GasComponents.TestCompressorConstSpeed.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.92407607100904] Failed to read output from testmodel.py, exit status != 0: 9.048214070498943 9.058089823 8.727905737 Calling exit ...