Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_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.001396/0.001396, allocations: 113.2 kB / 20.43 MB, free: 1.449 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.001552/0.001552, allocations: 212.1 kB / 23.74 MB, free: 4.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.475/1.475, allocations: 230.6 MB / 257.5 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo): time 0.1592/0.1592, allocations: 26.81 MB / 340.7 MB, free: 8.293 MB / 270.1 MB " [Timeout remaining time 180] Using package ThermoPower with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4_0_0-dev_ThermoPower_Test_GasComponents_TestCompressorConstSpeed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.GasComponents.TestCompressorConstSpeed,fileNamePrefix="ThermoPower_4_0_0-dev_ThermoPower_Test_GasComponents_TestCompressorConstSpeed",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ThermoPower requested package Modelica of version 4.0.0. Modelica 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.002313/0.002313, allocations: 67.91 kB / 476.8 MB, free: 3.688 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3776/0.38, allocations: 60.48 MB / 0.5247 GB, free: 9.508 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestCompressorConstSpeed): time 0.2173/0.5972, allocations: 170.2 MB / 0.6909 GB, free: 10.36 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.007056/0.6043, allocations: 3.778 MB / 0.6946 GB, free: 6.57 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006596/0.6049, allocations: 11.94 kB / 0.6946 GB, free: 6.559 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001134/0.6061, allocations: 290.2 kB / 0.6949 GB, free: 6.273 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001646/0.6077, allocations: 0.6222 MB / 0.6955 GB, free: 5.648 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.00489/0.6126, allocations: 1.632 MB / 0.6971 GB, free: 4.035 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.002476/0.6151, allocations: 1.368 MB / 0.6984 GB, free: 2.664 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009269/0.616, allocations: 380.5 kB / 0.6988 GB, free: 2.285 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001325/0.6173, allocations: 0.5451 MB / 0.6993 GB, free: 1.738 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001166/0.6185, allocations: 0.5723 MB / 0.6998 GB, free: 1.164 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0002436/0.6188, allocations: 60 kB / 0.6999 GB, free: 1.105 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003836/0.6226, allocations: 1.399 MB / 0.7013 GB, free: 15.7 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0006347/0.6232, allocations: 482.6 kB / 0.7017 GB, free: 15.23 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.001043/0.6243, allocations: 0.5554 MB / 0.7023 GB, free: 14.67 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.004625/0.6289, allocations: 1.927 MB / 0.7042 GB, free: 12.74 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.6289, allocations: 0 / 0.7042 GB, free: 12.74 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.454e-06/0.6289, allocations: 4 kB / 0.7042 GB, free: 12.73 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.473e-05/0.629, allocations: 0 / 0.7042 GB, free: 12.73 MB / 0.545 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.003378/0.6323, allocations: 1.546 MB / 0.7057 GB, free: 11.15 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.337e-05/0.6324, allocations: 8.031 kB / 0.7057 GB, free: 11.14 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001814/0.6326, allocations: 98.52 kB / 0.7058 GB, free: 11.04 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001017/0.6336, allocations: 203 kB / 0.706 GB, free: 10.84 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00183/0.6354, allocations: 0.8221 MB / 0.7068 GB, free: 9.98 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.547e-05/0.6355, allocations: 37.31 kB / 0.7068 GB, free: 9.941 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.93e-05/0.6356, allocations: 48 kB / 0.7068 GB, free: 9.895 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001198/0.6368, allocations: 0.6274 MB / 0.7075 GB, free: 9.254 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.415e-05/0.6368, allocations: 3.953 kB / 0.7075 GB, free: 9.25 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.419e-05/0.6368, allocations: 20 kB / 0.7075 GB, free: 9.23 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.453e-05/0.6369, allocations: 19.94 kB / 0.7075 GB, free: 9.211 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007973/0.6377, allocations: 473 kB / 0.708 GB, free: 8.746 MB / 0.545 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.005073/0.6427, allocations: 2.304 MB / 0.7102 GB, free: 6.348 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002829/0.643, allocations: 126.6 kB / 0.7103 GB, free: 6.215 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.959e-05/0.6431, allocations: 48.83 kB / 0.7104 GB, free: 6.164 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002548/0.6434, allocations: 43.95 kB / 0.7104 GB, free: 6.121 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.493e-05/0.6434, allocations: 46.5 kB / 0.7105 GB, free: 6.066 MB / 0.545 GB Notification: Performance of pre-optimization done (n=13): time 1.603e-06/0.6434, allocations: 0 / 0.7105 GB, free: 6.066 MB / 0.545 GB Notification: Performance of matching and sorting (n=13): time 0.0007053/0.6441, allocations: 300.5 kB / 0.7107 GB, free: 5.77 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.459e-05/0.6442, allocations: 51.41 kB / 0.7108 GB, free: 5.707 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002883/0.647, allocations: 1.96 MB / 0.7127 GB, free: 3.73 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 6.641e-05/0.6471, allocations: 29.7 kB / 0.7127 GB, free: 3.695 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.000606/0.6477, allocations: 0.5993 MB / 0.7133 GB, free: 3.09 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.358e-05/0.6478, allocations: 47.64 kB / 0.7134 GB, free: 3.043 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001553/0.6479, allocations: 93.55 kB / 0.7135 GB, free: 2.945 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001511/0.6481, allocations: 318 kB / 0.7138 GB, free: 2.629 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002346/0.6483, allocations: 126.2 kB / 0.7139 GB, free: 2.504 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003243/0.6487, allocations: 251.1 kB / 0.7141 GB, free: 2.195 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004799/0.6491, allocations: 329.7 kB / 0.7144 GB, free: 1.809 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.492e-06/0.6491, allocations: 4 kB / 0.7144 GB, free: 1.805 MB / 0.545 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0009659/0.6501, allocations: 0.4946 MB / 0.7149 GB, free: 1.305 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.507e-05/0.6501, allocations: 12.5 kB / 0.7149 GB, free: 1.293 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-05/0.6501, allocations: 4 kB / 0.7149 GB, free: 1.289 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.272e-05/0.6502, allocations: 12.09 kB / 0.7149 GB, free: 1.277 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005642/0.6507, allocations: 115.8 kB / 0.7151 GB, free: 1.164 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008843/0.6516, allocations: 1.199 MB / 0.7162 GB, free: 15.92 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006001/0.6522, allocations: 75.58 kB / 0.7163 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.319e-05/0.6523, allocations: 24 kB / 0.7163 GB, free: 15.82 MB / 0.5606 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.0006386/0.6529, allocations: 385.4 kB / 0.7167 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002664/0.6532, allocations: 131.2 kB / 0.7168 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005828/0.6538, allocations: 285 kB / 0.7171 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.651e-06/0.6538, allocations: 7.875 kB / 0.7171 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.6538, allocations: 0 / 0.7171 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.6538, allocations: 4 kB / 0.7171 GB, free: 15 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001165/0.6549, allocations: 0.6716 MB / 0.7178 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.6549, allocations: 0 / 0.7178 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002856/0.6552, allocations: 47.95 kB / 0.7178 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.859e-06/0.6552, allocations: 0 / 0.7178 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.748e-05/0.6553, allocations: 4 kB / 0.7178 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008401/0.6561, allocations: 1.184 MB / 0.719 GB, free: 13 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.6561, allocations: 4.031 kB / 0.719 GB, free: 13 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006533/0.6567, allocations: 417.1 kB / 0.7194 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004873/0.6572, allocations: 175.1 kB / 0.7195 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001798/0.6574, allocations: 11.98 kB / 0.7195 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00049/0.6579, allocations: 16.14 kB / 0.7196 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.109e-05/0.6579, allocations: 11.98 kB / 0.7196 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.888e-05/0.658, allocations: 11.98 kB / 0.7196 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002186/0.6602, allocations: 1.398 MB / 0.7209 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6602, allocations: 0 / 0.7209 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0009539/0.6611, allocations: 247.6 kB / 0.7212 GB, free: 10.71 MB / 0.5606 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.002819/0.6639, allocations: 1.385 MB / 0.7225 GB, free: 9.43 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0006622/0.6646, allocations: 223.7 kB / 0.7227 GB, free: 9.211 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.898e-06/0.6646, allocations: 0 / 0.7227 GB, free: 9.211 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001999/0.6648, allocations: 68.78 kB / 0.7228 GB, free: 9.148 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001874/0.6667, allocations: 370.5 kB / 0.7232 GB, free: 8.793 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2535/0.9201, allocations: 10.82 MB / 0.7337 GB, free: 191.7 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005734/0.9207, allocations: 1.104 MB / 0.7348 GB, free: 191 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0005927/0.9213, allocations: 223.6 kB / 0.735 GB, free: 191 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00044/0.9218, allocations: 418.3 kB / 0.7354 GB, free: 190.9 MB / 0.5606 GB Notification: Performance of SimCode: time 1.583e-06/0.9218, allocations: 0 / 0.7354 GB, free: 190.9 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0844/1.006, allocations: 30.04 MB / 0.7648 GB, free: 174.9 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.06/16.07, allocations: 0 / 0.7648 GB, free: 174.9 MB / 0.5606 GB " [Timeout remaining time 644] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestCompressorConstSpeed.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestCompressorConstSpeed.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestCompressorConstSpeed.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestCompressorConstSpeed.sim & python3 -m fmpy simulate --output-file ThermoPower_4.0.0-dev_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_4_0_0-dev_ThermoPower_Test_GasComponents_TestCompressorConstSpeed.fmu > ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestCompressorConstSpeed.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 19.050116539001465] Failed to read output from testmodel.py, exit status != 0: 16.255971173988655 16.271694689 15.639230417 Calling exit ...