Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGT.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.001304/0.001304, 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.001482/0.001482, allocations: 214.7 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.496/1.496, allocations: 230.6 MB / 257.5 MB, free: 8.027 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.1694/0.1694, allocations: 26.81 MB / 340.7 MB, free: 8.207 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.TestGT,fileNamePrefix="ThermoPower_4_0_0-dev_ThermoPower_Test_GasComponents_TestGT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.GasComponents.TestGT,fileNamePrefix="ThermoPower_4_0_0-dev_ThermoPower_Test_GasComponents_TestGT",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.002186/0.002186, allocations: 67.89 kB / 476.8 MB, free: 3.688 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3864/0.3886, allocations: 60.48 MB / 0.5247 GB, free: 9.551 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGT): time 0.2375/0.6261, allocations: 183.5 MB / 0.7039 GB, free: 12.96 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.005353/0.6314, allocations: 2.197 MB / 0.7061 GB, free: 10.75 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005071/0.6319, allocations: 15.88 kB / 0.7061 GB, free: 10.74 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001177/0.6331, allocations: 397.5 kB / 0.7065 GB, free: 10.35 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001896/0.635, allocations: 0.8595 MB / 0.7073 GB, free: 9.484 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002917/0.6379, allocations: 1.116 MB / 0.7084 GB, free: 8.387 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002541/0.6405, allocations: 1.949 MB / 0.7103 GB, free: 6.43 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001015/0.6415, allocations: 0.5867 MB / 0.7109 GB, free: 5.828 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001756/0.6432, allocations: 0.8701 MB / 0.7117 GB, free: 4.957 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001257/0.6445, allocations: 0.8722 MB / 0.7126 GB, free: 4.082 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001747/0.6447, allocations: 88 kB / 0.7127 GB, free: 3.996 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001658/0.6463, allocations: 0.7131 MB / 0.7134 GB, free: 3.281 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.000746/0.6471, allocations: 0.8179 MB / 0.7142 GB, free: 2.461 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.001175/0.6483, allocations: 0.9554 MB / 0.7151 GB, free: 1.5 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.004586/0.6528, allocations: 2.486 MB / 0.7175 GB, free: 15 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.013e-06/0.6529, allocations: 4 kB / 0.7175 GB, free: 15 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.643e-06/0.6529, allocations: 0 / 0.7175 GB, free: 15 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.632e-05/0.6529, allocations: 4 kB / 0.7175 GB, free: 15 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 224 * Number of variables: 224 Notification: Performance of Generate backend data structure: time 0.005257/0.6582, allocations: 2.42 MB / 0.7199 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.242e-05/0.6582, allocations: 12.03 kB / 0.7199 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002016/0.6584, allocations: 143.5 kB / 0.72 GB, free: 12.37 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001023/0.6594, allocations: 318.4 kB / 0.7203 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002479/0.6619, allocations: 1.364 MB / 0.7217 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001362/0.662, allocations: 121.4 kB / 0.7218 GB, free: 10.51 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001326/0.6622, allocations: 87.95 kB / 0.7219 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001899/0.6641, allocations: 1.136 MB / 0.723 GB, free: 9.227 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.506e-05/0.6641, allocations: 0 / 0.723 GB, free: 9.227 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001113/0.6642, allocations: 40 kB / 0.723 GB, free: 9.188 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.831e-05/0.6643, allocations: 37.98 kB / 0.7231 GB, free: 9.152 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001381/0.6656, allocations: 0.8313 MB / 0.7239 GB, free: 8.316 MB / 0.5606 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.007995/0.6736, allocations: 4.843 MB / 0.7286 GB, free: 3.293 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006666/0.6743, allocations: 301.7 kB / 0.7289 GB, free: 2.98 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000253/0.6746, allocations: 138.5 kB / 0.729 GB, free: 2.84 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 4.095e-05/0.6746, allocations: 7.938 kB / 0.729 GB, free: 2.832 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.532e-05/0.6746, allocations: 50.56 kB / 0.7291 GB, free: 2.773 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=38): time 2.144e-06/0.6746, allocations: 0 / 0.7291 GB, free: 2.773 MB / 0.5606 GB Notification: Performance of matching and sorting (n=40): time 0.002898/0.6775, allocations: 1.648 MB / 0.7307 GB, free: 1.086 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.321e-05/0.6776, allocations: 81.11 kB / 0.7308 GB, free: 0.9883 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2378/0.9154, allocations: 3.466 MB / 0.7341 GB, free: 193.6 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001218/0.9156, allocations: 42.61 kB / 0.7342 GB, free: 193.6 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007932/0.9164, allocations: 0.9948 MB / 0.7352 GB, free: 192.9 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001113/0.9165, allocations: 149.3 kB / 0.7353 GB, free: 192.9 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002235/0.9167, allocations: 131.8 kB / 0.7354 GB, free: 192.8 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 7.121e-05/0.9168, allocations: 331.1 kB / 0.7357 GB, free: 192.5 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004583/0.9172, allocations: 209.1 kB / 0.7359 GB, free: 192.5 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005673/0.9178, allocations: 398.6 kB / 0.7363 GB, free: 192.2 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007121/0.9185, allocations: 0.5601 MB / 0.7369 GB, free: 191.8 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/0.9185, allocations: 12.69 kB / 0.7369 GB, free: 191.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001712/0.9202, allocations: 0.8643 MB / 0.7377 GB, free: 191.5 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.415e-05/0.9202, allocations: 6.406 kB / 0.7377 GB, free: 191.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.417e-05/0.9203, allocations: 5.656 kB / 0.7377 GB, free: 191.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.621e-05/0.9203, allocations: 9.906 kB / 0.7377 GB, free: 191.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001083/0.9214, allocations: 214.7 kB / 0.7379 GB, free: 191.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004648/0.9218, allocations: 1.215 MB / 0.7391 GB, free: 190.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009098/0.9227, allocations: 33 kB / 0.7392 GB, free: 190.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.48e-05/0.9228, allocations: 34.59 kB / 0.7392 GB, free: 190.3 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 1 (BooleanStep1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 80 * 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.0009441/0.9238, allocations: 0.5875 MB / 0.7398 GB, free: 190.1 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003097/0.9241, allocations: 232.2 kB / 0.74 GB, free: 189.9 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000924/0.925, allocations: 0.5351 MB / 0.7405 GB, free: 189.7 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.424e-06/0.925, allocations: 4.469 kB / 0.7405 GB, free: 189.7 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.243e-06/0.925, allocations: 9.344 kB / 0.7405 GB, free: 189.7 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.914e-06/0.925, allocations: 2.203 kB / 0.7405 GB, free: 189.7 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002886/0.9279, allocations: 1.81 MB / 0.7423 GB, free: 188.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.9279, allocations: 3.938 kB / 0.7423 GB, free: 188.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007644/0.9287, allocations: 139.4 kB / 0.7424 GB, free: 188.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.728e-06/0.9287, allocations: 8.234 kB / 0.7424 GB, free: 188.9 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.396e-05/0.9287, allocations: 4.562 kB / 0.7424 GB, free: 188.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003993/0.9291, allocations: 1.199 MB / 0.7436 GB, free: 187.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.9291, allocations: 3.938 kB / 0.7436 GB, free: 187.7 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001054/0.9301, allocations: 0.7703 MB / 0.7444 GB, free: 187.3 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008445/0.931, allocations: 364.9 kB / 0.7447 GB, free: 187.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002019/0.9312, allocations: 12.31 kB / 0.7447 GB, free: 187.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007213/0.9319, allocations: 30.73 kB / 0.7448 GB, free: 187.1 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.006e-05/0.932, allocations: 26.41 kB / 0.7448 GB, free: 187.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.225e-05/0.9321, allocations: 25.19 kB / 0.7448 GB, free: 187.1 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003313/0.9354, allocations: 2.466 MB / 0.7472 GB, free: 186.3 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.9354, allocations: 7.812 kB / 0.7472 GB, free: 186.3 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001232/0.9366, allocations: 340.7 kB / 0.7476 GB, free: 186.3 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (Generator.phi,Generator.omega_m,Generator.omega_e_filt,Grid.port.theta) * Number of discrete variables: 1 (BooleanStep1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 38 * 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.002924/0.9395, allocations: 1.767 MB / 0.7493 GB, free: 185.3 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001039/0.9406, allocations: 444.3 kB / 0.7497 GB, free: 185.1 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.594e-06/0.9406, allocations: 2.688 kB / 0.7497 GB, free: 185.1 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003429/0.9409, allocations: 162.5 kB / 0.7499 GB, free: 185.1 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002923/0.9438, allocations: 0.5964 MB / 0.7504 GB, free: 184.9 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02208/0.9659, allocations: 18.73 MB / 0.7687 GB, free: 171 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008089/0.9667, allocations: 1.488 MB / 0.7702 GB, free: 169.5 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001005/0.9677, allocations: 340.6 kB / 0.7705 GB, free: 169.1 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007007/0.9684, allocations: 0.7375 MB / 0.7712 GB, free: 168.4 MB / 0.5606 GB Notification: Performance of SimCode: time 1.423e-06/0.9684, allocations: 0 / 0.7712 GB, free: 168.4 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08183/1.05, allocations: 47.33 MB / 0.8174 GB, free: 121.3 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.44/18.49, allocations: 4.062 kB / 0.8175 GB, free: 121.3 MB / 0.5606 GB " [Timeout remaining time 641] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGT.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGT.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGT.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGT.sim & python3 -m fmpy simulate --output-file ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGT_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_TestGT.fmu > ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGT.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 21.50472153397277] Failed to read output from testmodel.py, exit status != 0: 18.686399767990224 18.697139017 18.041724778 Calling exit ...