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.001883/0.001883, allocations: 123 kB / 17.79 MB, free: 5.266 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.001653/0.001653, allocations: 207.2 kB / 20.75 MB, free: 2.316 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.447/1.447, allocations: 207.6 MB / 231.1 MB, free: 4.086 MB / 174.1 MB " [Timeout remaining time 178] 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.4341/0.4341, allocations: 49.52 MB / 332.5 MB, free: 0.7031 MB / 254.1 MB " [Timeout remaining time 179] 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 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.00223/0.00223, allocations: 68.06 kB / 470.8 MB, free: 40.99 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1229/0.1251, allocations: 62.33 MB / 0.5206 GB, free: 2.363 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestCompressorConstSpeed): time 0.5252/0.6503, allocations: 171.2 MB / 0.6878 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.00541/0.6557, allocations: 3.921 MB / 0.6916 GB, free: 13.97 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006132/0.6563, allocations: 12.53 kB / 0.6916 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0009005/0.6572, allocations: 285 kB / 0.6919 GB, free: 13.87 MB / 0.5137 GB [/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.001264/0.6585, allocations: 0.5699 MB / 0.6925 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004671/0.6631, allocations: 1.645 MB / 0.6941 GB, free: 13.49 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002009/0.6651, allocations: 1.33 MB / 0.6954 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004989/0.6656, allocations: 363.6 kB / 0.6957 GB, free: 13.26 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007602/0.6664, allocations: 0.5387 MB / 0.6962 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006333/0.667, allocations: 0.5568 MB / 0.6968 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 9.018e-05/0.6671, allocations: 58.31 kB / 0.6968 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003121/0.6702, allocations: 1.487 MB / 0.6983 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0003794/0.6706, allocations: 478.8 kB / 0.6988 GB, free: 13.08 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.000493/0.6711, allocations: 0.547 MB / 0.6993 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002693/0.6738, allocations: 1.941 MB / 0.7012 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.6738, allocations: 0 / 0.7012 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.593e-06/0.6738, allocations: 0 / 0.7012 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.502e-05/0.6738, allocations: 0 / 0.7012 GB, free: 12.32 MB / 0.5137 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.002363/0.6762, allocations: 1.607 MB / 0.7028 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 6.52e-05/0.6763, allocations: 14.33 kB / 0.7028 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001405/0.6764, allocations: 94.3 kB / 0.7029 GB, free: 11.17 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008122/0.6772, allocations: 191.6 kB / 0.703 GB, free: 11.08 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001113/0.6783, allocations: 0.8727 MB / 0.7039 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.884e-05/0.6784, allocations: 38.28 kB / 0.7039 GB, free: 10.58 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.672e-05/0.6784, allocations: 46.22 kB / 0.704 GB, free: 10.58 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008858/0.6793, allocations: 0.6136 MB / 0.7046 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.816e-05/0.6793, allocations: 7.938 kB / 0.7046 GB, free: 10.4 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.135e-05/0.6794, allocations: 29 kB / 0.7046 GB, free: 10.4 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.129e-05/0.6794, allocations: 12.56 kB / 0.7046 GB, free: 10.4 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006259/0.68, allocations: 474.8 kB / 0.7051 GB, free: 10.33 MB / 0.5137 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.004082/0.6841, allocations: 2.593 MB / 0.7076 GB, free: 8.781 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002295/0.6843, allocations: 132 kB / 0.7077 GB, free: 8.742 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.073e-05/0.6844, allocations: 50.28 kB / 0.7078 GB, free: 8.723 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002625/0.6847, allocations: 125.9 kB / 0.7079 GB, free: 8.617 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.682e-05/0.6847, allocations: 36.12 kB / 0.7079 GB, free: 8.578 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=13): time 1.523e-06/0.6847, allocations: 0 / 0.7079 GB, free: 8.578 MB / 0.5137 GB Notification: Performance of matching and sorting (n=13): time 0.0006022/0.6853, allocations: 291.1 kB / 0.7082 GB, free: 8.457 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.916e-05/0.6854, allocations: 57.38 kB / 0.7083 GB, free: 8.391 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001939/0.6873, allocations: 1.931 MB / 0.7101 GB, free: 7.938 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.497e-05/0.6873, allocations: 31.58 kB / 0.7102 GB, free: 7.906 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004145/0.6878, allocations: 0.5975 MB / 0.7108 GB, free: 7.68 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.708e-05/0.6878, allocations: 46.42 kB / 0.7108 GB, free: 7.648 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001186/0.6879, allocations: 79.36 kB / 0.7109 GB, free: 7.621 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001374/0.6881, allocations: 321.9 kB / 0.7112 GB, free: 7.312 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001872/0.6883, allocations: 134 kB / 0.7113 GB, free: 7.273 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002677/0.6885, allocations: 243.3 kB / 0.7115 GB, free: 7.082 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004195/0.6889, allocations: 328.3 kB / 0.7119 GB, free: 6.879 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.671e-06/0.6889, allocations: 3.281 kB / 0.7119 GB, free: 6.879 MB / 0.5137 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008218/0.6898, allocations: 0.498 MB / 0.7124 GB, free: 6.703 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.6898, allocations: 10.81 kB / 0.7124 GB, free: 6.699 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.296e-06/0.6898, allocations: 4.703 kB / 0.7124 GB, free: 6.699 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.346e-05/0.6898, allocations: 15.45 kB / 0.7124 GB, free: 6.691 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004629/0.6903, allocations: 108.4 kB / 0.7125 GB, free: 6.672 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007462/0.691, allocations: 1.191 MB / 0.7136 GB, free: 5.484 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004632/0.6915, allocations: 81.05 kB / 0.7137 GB, free: 5.434 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.251e-05/0.6915, allocations: 24.97 kB / 0.7137 GB, free: 5.43 MB / 0.5137 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.0004196/0.692, allocations: 378.3 kB / 0.7141 GB, free: 5.266 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001738/0.6921, allocations: 129 kB / 0.7142 GB, free: 5.199 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003978/0.6925, allocations: 273.9 kB / 0.7145 GB, free: 5.102 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.612e-06/0.6925, allocations: 5.391 kB / 0.7145 GB, free: 5.098 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.962e-06/0.6925, allocations: 2.25 kB / 0.7145 GB, free: 5.098 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.571e-06/0.6925, allocations: 3.938 kB / 0.7145 GB, free: 5.094 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009072/0.6934, allocations: 0.6834 MB / 0.7152 GB, free: 4.719 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.6935, allocations: 0 / 0.7152 GB, free: 4.719 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002656/0.6937, allocations: 54.89 kB / 0.7152 GB, free: 4.703 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.6937, allocations: 4 kB / 0.7152 GB, free: 4.699 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.79e-05/0.6937, allocations: 5.906 kB / 0.7152 GB, free: 4.699 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006924/0.6944, allocations: 1.18 MB / 0.7164 GB, free: 3.516 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.6944, allocations: 1.062 kB / 0.7164 GB, free: 3.516 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004885/0.6949, allocations: 420.6 kB / 0.7168 GB, free: 3.285 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003121/0.6952, allocations: 252.3 kB / 0.717 GB, free: 3.105 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001014/0.6953, allocations: 6.812 kB / 0.717 GB, free: 3.102 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004158/0.6957, allocations: 17.52 kB / 0.7171 GB, free: 3.098 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.87e-05/0.6958, allocations: 10.67 kB / 0.7171 GB, free: 3.09 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.482e-05/0.6958, allocations: 17.64 kB / 0.7171 GB, free: 3.086 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001601/0.6974, allocations: 1.374 MB / 0.7184 GB, free: 2.457 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8e-08/0.6974, allocations: 2.625 kB / 0.7184 GB, free: 2.457 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0009188/0.6983, allocations: 246.1 kB / 0.7187 GB, free: 2.406 MB / 0.5137 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.002467/0.7008, allocations: 1.393 MB / 0.72 GB, free: 1.293 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0005602/0.7014, allocations: 223.8 kB / 0.7202 GB, free: 1.203 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.7014, allocations: 1.844 kB / 0.7202 GB, free: 1.203 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001808/0.7015, allocations: 70.45 kB / 0.7203 GB, free: 1.176 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001631/0.7032, allocations: 380.1 kB / 0.7207 GB, free: 0.9609 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01348/0.7167, allocations: 10.72 MB / 0.7311 GB, free: 9.504 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007996/0.7175, allocations: 1.098 MB / 0.7322 GB, free: 8.375 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0006798/0.7181, allocations: 220.6 kB / 0.7324 GB, free: 8.156 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005265/0.7187, allocations: 407.2 kB / 0.7328 GB, free: 7.758 MB / 0.5294 GB Notification: Performance of SimCode: time 1.082e-06/0.7187, allocations: 0 / 0.7328 GB, free: 7.758 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06772/0.7864, allocations: 29.67 MB / 0.7618 GB, free: 9.965 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.93/14.72, allocations: 11.92 kB / 0.7618 GB, free: 9.953 MB / 0.5606 GB " [Timeout remaining time 645] (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 sys.exit(0), Time elapsed: 17.99745259300107] Failed to read output from testmodel.py, exit status != 0: 14.881586062998394 14.907215904 14.228400059 Calling exit ...