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.001416/0.001416, allocations: 115.8 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.001428/0.001428, allocations: 216.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.403/1.403, allocations: 230.6 MB / 257.5 MB, free: 8.016 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.1535/0.1535, allocations: 26.81 MB / 340.7 MB, free: 8.188 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.001954/0.001954, allocations: 63.91 kB / 476.8 MB, free: 3.672 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3267/0.3286, allocations: 60.48 MB / 0.5247 GB, free: 9.535 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGT): time 0.2173/0.5459, allocations: 183.5 MB / 0.7039 GB, free: 12.93 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004382/0.5503, allocations: 2.205 MB / 0.7061 GB, free: 10.72 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004368/0.5507, allocations: 15.88 kB / 0.7061 GB, free: 10.7 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001081/0.5518, allocations: 393.5 kB / 0.7065 GB, free: 10.32 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001533/0.5534, allocations: 0.8673 MB / 0.7073 GB, free: 9.445 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002658/0.556, allocations: 1.111 MB / 0.7084 GB, free: 8.348 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.00233/0.5583, allocations: 1.949 MB / 0.7103 GB, free: 6.391 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008582/0.5592, allocations: 0.5905 MB / 0.7109 GB, free: 5.785 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001367/0.5606, allocations: 0.8623 MB / 0.7117 GB, free: 4.922 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001076/0.5617, allocations: 0.8761 MB / 0.7126 GB, free: 4.043 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001433/0.5618, allocations: 84 kB / 0.7127 GB, free: 3.961 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00157/0.5634, allocations: 0.717 MB / 0.7134 GB, free: 3.242 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0007095/0.5641, allocations: 0.8141 MB / 0.7142 GB, free: 2.426 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0009092/0.565, allocations: 0.9553 MB / 0.7151 GB, free: 1.465 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002849/0.5678, allocations: 2.486 MB / 0.7175 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.5678, allocations: 3.984 kB / 0.7175 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.343e-06/0.5678, allocations: 4 kB / 0.7175 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.393e-05/0.5679, allocations: 0 / 0.7175 GB, free: 14.96 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.003984/0.5718, allocations: 2.417 MB / 0.7199 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.577e-05/0.5719, allocations: 8.031 kB / 0.7199 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001914/0.5721, allocations: 147.5 kB / 0.72 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009695/0.5731, allocations: 318.4 kB / 0.7203 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002394/0.5754, allocations: 1.36 MB / 0.7217 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001294/0.5756, allocations: 121.3 kB / 0.7218 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001317/0.5757, allocations: 91.95 kB / 0.7219 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001768/0.5775, allocations: 1.136 MB / 0.723 GB, free: 9.195 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.765e-05/0.5775, allocations: 3.938 kB / 0.723 GB, free: 9.191 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.685e-05/0.5776, allocations: 40 kB / 0.723 GB, free: 9.152 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.563e-05/0.5776, allocations: 34 kB / 0.7231 GB, free: 9.121 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001302/0.579, allocations: 0.8274 MB / 0.7239 GB, free: 8.289 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.007687/0.5866, allocations: 4.847 MB / 0.7286 GB, free: 3.262 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006706/0.5873, allocations: 297.8 kB / 0.7289 GB, free: 2.953 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002389/0.5875, allocations: 134.5 kB / 0.729 GB, free: 2.816 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 4.133e-05/0.5876, allocations: 7.938 kB / 0.729 GB, free: 2.809 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.424e-05/0.5876, allocations: 50.56 kB / 0.7291 GB, free: 2.75 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=38): time 1.784e-06/0.5876, allocations: 0 / 0.7291 GB, free: 2.75 MB / 0.5606 GB Notification: Performance of matching and sorting (n=40): time 0.002695/0.5903, allocations: 1.648 MB / 0.7307 GB, free: 1.062 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.371e-05/0.5904, allocations: 81.11 kB / 0.7308 GB, free: 0.9648 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2207/0.8111, allocations: 3.468 MB / 0.7341 GB, free: 193.6 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001294/0.8112, allocations: 38.98 kB / 0.7342 GB, free: 193.6 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007222/0.8119, allocations: 0.9974 MB / 0.7351 GB, free: 192.9 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001076/0.812, allocations: 150.5 kB / 0.7353 GB, free: 192.9 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002333/0.8122, allocations: 131.8 kB / 0.7354 GB, free: 192.8 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 7.016e-05/0.8123, allocations: 332 kB / 0.7357 GB, free: 192.5 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004463/0.8128, allocations: 206 kB / 0.7359 GB, free: 192.4 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004855/0.8132, allocations: 401.5 kB / 0.7363 GB, free: 192.1 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006771/0.8139, allocations: 0.5624 MB / 0.7369 GB, free: 191.8 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.641e-06/0.8139, allocations: 9.438 kB / 0.7369 GB, free: 191.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001443/0.8154, allocations: 0.8646 MB / 0.7377 GB, free: 191.5 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.911e-05/0.8154, allocations: 6.875 kB / 0.7377 GB, free: 191.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.338e-05/0.8154, allocations: 7.672 kB / 0.7377 GB, free: 191.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.697e-05/0.8154, allocations: 9.625 kB / 0.7377 GB, free: 191.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001018/0.8164, allocations: 213 kB / 0.7379 GB, free: 191.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004254/0.8169, allocations: 1.216 MB / 0.7391 GB, free: 190.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007814/0.8177, allocations: 33.61 kB / 0.7392 GB, free: 190.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.814e-05/0.8177, allocations: 33.67 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.0008178/0.8185, allocations: 0.5856 MB / 0.7398 GB, free: 190 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000276/0.8188, allocations: 233.5 kB / 0.74 GB, free: 189.9 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008308/0.8196, allocations: 0.5411 MB / 0.7405 GB, free: 189.7 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.234e-06/0.8196, allocations: 4.719 kB / 0.7405 GB, free: 189.7 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.845e-06/0.8197, allocations: 4.969 kB / 0.7405 GB, free: 189.7 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.263e-06/0.8197, allocations: 5.328 kB / 0.7405 GB, free: 189.7 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0028/0.8225, allocations: 1.81 MB / 0.7423 GB, free: 188.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.8225, allocations: 5.438 kB / 0.7423 GB, free: 188.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007039/0.8232, allocations: 137 kB / 0.7424 GB, free: 188.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.033e-06/0.8232, allocations: 3.375 kB / 0.7424 GB, free: 188.9 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.447e-05/0.8232, allocations: 9.203 kB / 0.7424 GB, free: 188.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003558/0.8236, allocations: 1.203 MB / 0.7436 GB, free: 187.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.8236, allocations: 0 / 0.7436 GB, free: 187.7 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008787/0.8244, allocations: 0.7676 MB / 0.7444 GB, free: 187.2 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000806/0.8252, allocations: 368.7 kB / 0.7447 GB, free: 187.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001866/0.8254, allocations: 11.19 kB / 0.7447 GB, free: 187.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000678/0.8261, allocations: 31.47 kB / 0.7448 GB, free: 187.1 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.559e-05/0.8262, allocations: 26.36 kB / 0.7448 GB, free: 187.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.045e-05/0.8262, allocations: 26.47 kB / 0.7448 GB, free: 187 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003054/0.8293, allocations: 2.472 MB / 0.7472 GB, free: 186.3 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.8293, allocations: 0 / 0.7472 GB, free: 186.3 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00098/0.8303, allocations: 342.2 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.002801/0.8331, allocations: 1.773 MB / 0.7493 GB, free: 185.2 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001139/0.8342, allocations: 447.6 kB / 0.7497 GB, free: 185.1 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.093e-06/0.8342, allocations: 1.781 kB / 0.7497 GB, free: 185.1 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003541/0.8346, allocations: 160.3 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.002541/0.8371, allocations: 0.5838 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.01997/0.8571, allocations: 18.73 MB / 0.7687 GB, free: 170.9 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007368/0.8578, allocations: 1.488 MB / 0.7702 GB, free: 169.4 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0009998/0.8588, allocations: 348.6 kB / 0.7705 GB, free: 169.1 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006469/0.8595, allocations: 0.7297 MB / 0.7712 GB, free: 168.3 MB / 0.5606 GB Notification: Performance of SimCode: time 8.22e-07/0.8595, allocations: 4 kB / 0.7712 GB, free: 168.3 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07655/0.936, allocations: 47.33 MB / 0.8174 GB, free: 121.2 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.44/17.38, allocations: 19.19 kB / 0.8175 GB, free: 121.2 MB / 0.5606 GB " [Timeout remaining time 642] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoPower_4_0_0-dev_ThermoPower_Test_GasComponents_TestGT_fmu --startTime=0 --stopTime=2 --stepSize=0.0008 --timeout=50 --tolerance=1e-06 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: 20.136756076011807] Failed to read output from testmodel.py, exit status != 0: 17.573969922959805 17.592891929 17.021539487 Calling exit ...