Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestCompressorInertia.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.001806/0.001806, allocations: 115.6 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.001615/0.001615, allocations: 213.5 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.495/1.495, allocations: 230.6 MB / 257.5 MB, free: 8.035 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.1627/0.1627, allocations: 26.81 MB / 340.7 MB, free: 8.305 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.TestCompressorInertia,fileNamePrefix="ThermoPower_4_0_0-dev_ThermoPower_Test_GasComponents_TestCompressorInertia",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.GasComponents.TestCompressorInertia,fileNamePrefix="ThermoPower_4_0_0-dev_ThermoPower_Test_GasComponents_TestCompressorInertia",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.002107/0.002107, allocations: 67.89 kB / 476.8 MB, free: 3.707 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3473/0.3494, allocations: 60.48 MB / 0.5247 GB, free: 9.527 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestCompressorInertia): time 0.2118/0.5612, allocations: 170.2 MB / 0.6909 GB, free: 10.32 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.005956/0.5671, allocations: 3.782 MB / 0.6946 GB, free: 6.531 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006054/0.5678, allocations: 7.938 kB / 0.6946 GB, free: 6.523 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001006/0.5688, allocations: 286.2 kB / 0.6949 GB, free: 6.242 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001552/0.5703, allocations: 0.6339 MB / 0.6955 GB, free: 5.605 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.004433/0.5747, allocations: 1.632 MB / 0.6971 GB, free: 3.996 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001979/0.5767, allocations: 1.372 MB / 0.6984 GB, free: 2.621 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006068/0.5773, allocations: 388.5 kB / 0.6988 GB, free: 2.234 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008821/0.5782, allocations: 0.549 MB / 0.6993 GB, free: 1.684 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007576/0.579, allocations: 0.5723 MB / 0.6999 GB, free: 1.109 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 9.839e-05/0.5791, allocations: 60 kB / 0.6999 GB, free: 1.051 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001682/0.5807, allocations: 0.7756 MB / 0.7007 GB, free: 280 kB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0004564/0.5812, allocations: 486.6 kB / 0.7012 GB, free: 15.8 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0005712/0.5818, allocations: 0.5554 MB / 0.7017 GB, free: 15.24 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002027/0.5838, allocations: 1.627 MB / 0.7033 GB, free: 13.61 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.5838, allocations: 3.938 kB / 0.7033 GB, free: 13.6 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.532e-06/0.5838, allocations: 0 / 0.7033 GB, free: 13.6 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.547e-05/0.5838, allocations: 0 / 0.7033 GB, free: 13.6 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: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.002447/0.5863, allocations: 1.492 MB / 0.7048 GB, free: 12.07 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/0.5863, allocations: 8.031 kB / 0.7048 GB, free: 12.07 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001214/0.5864, allocations: 98.45 kB / 0.7049 GB, free: 11.96 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008026/0.5872, allocations: 199 kB / 0.705 GB, free: 11.77 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001576/0.5888, allocations: 0.8299 MB / 0.7059 GB, free: 10.9 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.17e-05/0.5889, allocations: 41.31 kB / 0.7059 GB, free: 10.86 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.723e-05/0.5889, allocations: 55.95 kB / 0.7059 GB, free: 10.8 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001099/0.59, allocations: 0.6198 MB / 0.7066 GB, free: 10.17 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.245e-05/0.5901, allocations: 7.984 kB / 0.7066 GB, free: 10.16 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.294e-05/0.5901, allocations: 20 kB / 0.7066 GB, free: 10.14 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.618e-05/0.5901, allocations: 15.98 kB / 0.7066 GB, free: 10.12 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007929/0.5909, allocations: 496.9 kB / 0.7071 GB, free: 9.637 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.00437/0.5953, allocations: 2.355 MB / 0.7094 GB, free: 7.18 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003569/0.5957, allocations: 190.6 kB / 0.7096 GB, free: 6.984 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001304/0.5958, allocations: 72.83 kB / 0.7096 GB, free: 6.91 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002211/0.596, allocations: 27.95 kB / 0.7096 GB, free: 6.883 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.124e-05/0.5961, allocations: 42.5 kB / 0.7097 GB, free: 6.832 MB / 0.545 GB Notification: Performance of pre-optimization done (n=20): time 2.074e-06/0.5961, allocations: 0 / 0.7097 GB, free: 6.832 MB / 0.545 GB Notification: Performance of matching and sorting (n=20): time 0.000765/0.5968, allocations: 365.1 kB / 0.71 GB, free: 6.469 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.533e-05/0.5969, allocations: 59.41 kB / 0.7101 GB, free: 6.398 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002565/0.5994, allocations: 1.932 MB / 0.712 GB, free: 4.449 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.641e-05/0.5995, allocations: 29.7 kB / 0.712 GB, free: 4.414 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005719/0.6001, allocations: 0.5879 MB / 0.7126 GB, free: 3.82 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 7.63e-05/0.6001, allocations: 83.3 kB / 0.7127 GB, free: 3.738 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001513/0.6003, allocations: 78.02 kB / 0.7127 GB, free: 3.656 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001725/0.6005, allocations: 325.9 kB / 0.713 GB, free: 3.332 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002417/0.6007, allocations: 134.6 kB / 0.7132 GB, free: 3.199 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003488/0.601, allocations: 234 kB / 0.7134 GB, free: 2.922 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00052/0.6016, allocations: 338 kB / 0.7137 GB, free: 2.543 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.586e-06/0.6016, allocations: 0 / 0.7137 GB, free: 2.543 MB / 0.545 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001077/0.6026, allocations: 0.5081 MB / 0.7142 GB, free: 2.027 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.575e-05/0.6027, allocations: 8 kB / 0.7142 GB, free: 2.02 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.094e-05/0.6027, allocations: 4 kB / 0.7142 GB, free: 2.016 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.468e-05/0.6027, allocations: 8 kB / 0.7142 GB, free: 2.008 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006828/0.6034, allocations: 115.9 kB / 0.7143 GB, free: 1.895 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001405/0.6048, allocations: 1.793 MB / 0.7161 GB, free: 32 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006171/0.6054, allocations: 75.86 kB / 0.7162 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.754e-05/0.6055, allocations: 24 kB / 0.7162 GB, free: 15.93 MB / 0.5606 GB 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: 16 * 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): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * 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): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007687/0.6062, allocations: 381.5 kB / 0.7166 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002421/0.6065, allocations: 135.1 kB / 0.7167 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005965/0.6071, allocations: 343.6 kB / 0.717 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.833e-06/0.6071, allocations: 3.984 kB / 0.717 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.6071, allocations: 3.75 kB / 0.717 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.191e-06/0.6071, allocations: 8 kB / 0.717 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009563/0.6081, allocations: 0.6908 MB / 0.7177 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.6081, allocations: 0 / 0.7177 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000386/0.6084, allocations: 71.88 kB / 0.7178 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.591e-06/0.6084, allocations: 0 / 0.7178 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.247e-05/0.6085, allocations: 8 kB / 0.7178 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001234/0.6097, allocations: 1.781 MB / 0.7195 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-06/0.6097, allocations: 0 / 0.7195 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007845/0.6105, allocations: 497.1 kB / 0.72 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004117/0.6109, allocations: 183.2 kB / 0.7202 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001131/0.611, allocations: 11.98 kB / 0.7202 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004498/0.6115, allocations: 19.98 kB / 0.7202 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.818e-05/0.6115, allocations: 15.91 kB / 0.7202 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.318e-05/0.6116, allocations: 19.98 kB / 0.7202 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00192/0.6135, allocations: 1.382 MB / 0.7216 GB, free: 10.26 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6135, allocations: 4 kB / 0.7216 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0008075/0.6143, allocations: 239.6 kB / 0.7218 GB, free: 10.02 MB / 0.5606 GB 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 (20): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * 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): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002757/0.617, allocations: 1.467 MB / 0.7232 GB, free: 8.656 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0007376/0.6178, allocations: 259.9 kB / 0.7235 GB, free: 8.402 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.721e-06/0.6178, allocations: 4 kB / 0.7235 GB, free: 8.398 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003053/0.6181, allocations: 104.7 kB / 0.7236 GB, free: 8.297 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001733/0.6198, allocations: 389.4 kB / 0.724 GB, free: 7.926 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2399/0.8598, allocations: 10.92 MB / 0.7346 GB, free: 192.5 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000874/0.8606, allocations: 1.115 MB / 0.7357 GB, free: 191.8 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0007319/0.8614, allocations: 228.9 kB / 0.7359 GB, free: 191.8 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004467/0.8618, allocations: 414.1 kB / 0.7363 GB, free: 191.5 MB / 0.5606 GB Notification: Performance of SimCode: time 1.022e-06/0.8618, allocations: 1.688 kB / 0.7363 GB, free: 191.5 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06662/0.9284, allocations: 30.51 MB / 0.7661 GB, free: 173.7 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.25/16.17, allocations: 17.05 kB / 0.7661 GB, free: 173.7 MB / 0.5606 GB " [Timeout remaining time 644] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestCompressorInertia.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestCompressorInertia.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestCompressorInertia.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestCompressorInertia.sim & python3 -m fmpy simulate --output-file ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestCompressorInertia_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_TestCompressorInertia.fmu > ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestCompressorInertia.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 19.210619705962017] Failed to read output from testmodel.py, exit status != 0: 16.362585610011593 16.379149181 15.792047475 Calling exit ...