Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_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.001254/0.001254, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001385/0.001385, allocations: 214.7 kB / 24.52 MB, free: 3.914 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.473/1.473, allocations: 207.7 MB / 235.4 MB, free: 9.773 MB / 190.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.3132/0.3132, allocations: 49.61 MB / 337.2 MB, free: 3.867 MB / 270.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.TestGT,fileNamePrefix="ThermoPower_ThermoPower_Test_GasComponents_TestGT",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.GasComponents.TestGT,fileNamePrefix="ThermoPower_ThermoPower_Test_GasComponents_TestGT",fmuType="cs",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.002183/0.002183, allocations: 71.89 kB / 477.1 MB, free: 12.76 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1132/0.1154, allocations: 62.42 MB / 0.5269 GB, free: 14.14 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGT): time 0.4348/0.5502, allocations: 161.3 MB / 0.6844 GB, free: 3.871 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.003925/0.5541, allocations: 1.871 MB / 0.6862 GB, free: 1.996 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006219/0.5548, allocations: 19.88 kB / 0.6863 GB, free: 1.977 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001242/0.556, allocations: 357.6 kB / 0.6866 GB, free: 1.625 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.001899/0.5579, allocations: 0.8167 MB / 0.6874 GB, free: 0.8047 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002833/0.5607, allocations: 1.071 MB / 0.6884 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.002668/0.5634, allocations: 1.914 MB / 0.6903 GB, free: 13.81 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001097/0.5645, allocations: 0.5788 MB / 0.6909 GB, free: 13.22 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001638/0.5661, allocations: 0.8445 MB / 0.6917 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001324/0.5675, allocations: 0.8605 MB / 0.6925 GB, free: 11.52 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0002017/0.5677, allocations: 88 kB / 0.6926 GB, free: 11.43 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001674/0.5693, allocations: 0.6234 MB / 0.6932 GB, free: 10.8 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0008344/0.5702, allocations: 0.8102 MB / 0.694 GB, free: 9.992 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0009345/0.5711, allocations: 0.7615 MB / 0.6948 GB, free: 9.227 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.003356/0.5745, allocations: 2.473 MB / 0.6972 GB, free: 6.746 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.471e-06/0.5745, allocations: 0 / 0.6972 GB, free: 6.746 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.914e-06/0.5745, allocations: 0 / 0.6972 GB, free: 6.746 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.405e-05/0.5745, allocations: 0 / 0.6972 GB, free: 6.746 MB / 0.5294 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.005282/0.5798, allocations: 2.397 MB / 0.6995 GB, free: 4.301 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 6.073e-05/0.5799, allocations: 16.02 kB / 0.6995 GB, free: 4.285 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.839e-05/0.5799, allocations: 26 kB / 0.6996 GB, free: 4.262 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002452/0.5801, allocations: 143.5 kB / 0.6997 GB, free: 4.113 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001529/0.5817, allocations: 314.4 kB / 0.7 GB, free: 3.805 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003255/0.5849, allocations: 1.35 MB / 0.7013 GB, free: 2.398 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001542/0.5851, allocations: 117.4 kB / 0.7014 GB, free: 2.27 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001952/0.5853, allocations: 84 kB / 0.7015 GB, free: 2.188 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003199/0.5885, allocations: 1.852 MB / 0.7033 GB, free: 112 kB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.437e-05/0.5885, allocations: 3.938 kB / 0.7033 GB, free: 108 kB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001526/0.5887, allocations: 43.98 kB / 0.7034 GB, free: 64 kB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.32e-05/0.5887, allocations: 41.97 kB / 0.7034 GB, free: 20 kB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002019/0.5908, allocations: 0.8234 MB / 0.7042 GB, free: 15.2 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.01038/0.6011, allocations: 4.304 MB / 0.7084 GB, free: 10.77 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009728/0.6021, allocations: 293.2 kB / 0.7087 GB, free: 10.47 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003749/0.6025, allocations: 141.5 kB / 0.7088 GB, free: 10.32 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 5.357e-05/0.6025, allocations: 8.531 kB / 0.7088 GB, free: 10.32 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.436e-05/0.6026, allocations: 50.5 kB / 0.7089 GB, free: 10.26 MB / 0.545 GB Notification: Performance of pre-optimization done (n=38): time 6.472e-06/0.6026, allocations: 4 kB / 0.7089 GB, free: 10.25 MB / 0.545 GB Notification: Performance of matching and sorting (n=40): time 0.005244/0.6079, allocations: 1.632 MB / 0.7105 GB, free: 8.582 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.869e-05/0.6079, allocations: 81.11 kB / 0.7106 GB, free: 8.484 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007631/0.6156, allocations: 3.439 MB / 0.7139 GB, free: 5.027 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0001595/0.6157, allocations: 37.7 kB / 0.714 GB, free: 4.984 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.001334/0.6171, allocations: 0.9916 MB / 0.7149 GB, free: 3.988 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.000221/0.6173, allocations: 142.8 kB / 0.7151 GB, free: 3.848 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003362/0.6176, allocations: 134.2 kB / 0.7152 GB, free: 3.711 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001985/0.6178, allocations: 330 kB / 0.7155 GB, free: 3.383 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005726/0.6184, allocations: 205.3 kB / 0.7157 GB, free: 3.18 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008065/0.6192, allocations: 406 kB / 0.7161 GB, free: 2.699 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001274/0.6205, allocations: 0.5639 MB / 0.7166 GB, free: 2.055 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.618e-06/0.6205, allocations: 4.688 kB / 0.7166 GB, free: 2.051 MB / 0.545 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.00256/0.623, allocations: 0.8613 MB / 0.7175 GB, free: 1.18 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.7e-05/0.6231, allocations: 8 kB / 0.7175 GB, free: 1.172 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.988e-05/0.6231, allocations: 11.98 kB / 0.7175 GB, free: 1.16 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.047e-05/0.6231, allocations: 8 kB / 0.7175 GB, free: 1.152 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00156/0.6247, allocations: 217.7 kB / 0.7177 GB, free: 0.9414 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001133/0.6258, allocations: 1.205 MB / 0.7189 GB, free: 15.69 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001326/0.6271, allocations: 39.92 kB / 0.7189 GB, free: 15.65 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.33e-05/0.6272, allocations: 28 kB / 0.719 GB, free: 15.62 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.001294/0.6285, allocations: 0.5873 MB / 0.7195 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005726/0.6291, allocations: 226.5 kB / 0.7197 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001316/0.6304, allocations: 0.5454 MB / 0.7203 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.395e-05/0.6304, allocations: 7.984 kB / 0.7203 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.995e-06/0.6304, allocations: 3.984 kB / 0.7203 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.743e-06/0.6304, allocations: 0 / 0.7203 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003145/0.6336, allocations: 1.638 MB / 0.7219 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-06/0.6336, allocations: 0 / 0.7219 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000793/0.6344, allocations: 127.9 kB / 0.722 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.27e-06/0.6344, allocations: 4 kB / 0.722 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.844e-05/0.6345, allocations: 15.98 kB / 0.722 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008015/0.6353, allocations: 1.192 MB / 0.7232 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.6353, allocations: 0 / 0.7232 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001239/0.6365, allocations: 0.7764 MB / 0.724 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008116/0.6373, allocations: 354.4 kB / 0.7243 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002315/0.6376, allocations: 8 kB / 0.7243 GB, free: 10.01 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008229/0.6384, allocations: 40.16 kB / 0.7243 GB, free: 9.969 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.29e-05/0.6385, allocations: 27.94 kB / 0.7244 GB, free: 9.941 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.041e-05/0.6385, allocations: 23.98 kB / 0.7244 GB, free: 9.918 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003433/0.6419, allocations: 2.447 MB / 0.7268 GB, free: 7.461 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.01e-07/0.6419, allocations: 0 / 0.7268 GB, free: 7.461 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001128/0.6431, allocations: 339.8 kB / 0.7271 GB, free: 7.129 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.003622/0.6467, allocations: 1.797 MB / 0.7289 GB, free: 5.305 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00105/0.6478, allocations: 439.9 kB / 0.7293 GB, free: 4.875 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.711e-06/0.6478, allocations: 0.5625 kB / 0.7293 GB, free: 4.875 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000373/0.6481, allocations: 163.6 kB / 0.7294 GB, free: 4.715 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002699/0.6508, allocations: 0.5931 MB / 0.73 GB, free: 4.117 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02804/0.6789, allocations: 18.62 MB / 0.7482 GB, free: 1.141 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001155/0.68, allocations: 0.8904 MB / 0.7491 GB, free: 220 kB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001372/0.6814, allocations: 344.6 kB / 0.7494 GB, free: 15.87 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00119/0.6826, allocations: 0.7258 MB / 0.7501 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of SimCode: time 9.92e-07/0.6826, allocations: 0 / 0.7501 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3102/0.9928, allocations: 48.82 MB / 0.7978 GB, free: 196.2 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.68/18.67, allocations: 3.938 kB / 0.7978 GB, free: 196.2 MB / 0.5919 GB " [Timeout remaining time 641] (rm -f ThermoPower_ThermoPower.Test.GasComponents.TestGT.pipe ; mkfifo ThermoPower_ThermoPower.Test.GasComponents.TestGT.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.GasComponents.TestGT.pipe >> ../files/ThermoPower_ThermoPower.Test.GasComponents.TestGT.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_GasComponents_TestGT_fmu --startTime=0 --stopTime=2 --stepSize=0.0008 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Test_GasComponents_TestGT.fmu > ThermoPower_ThermoPower.Test.GasComponents.TestGT.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 21.831479162094183] Failed to read output from testmodel.py, exit status != 0: 18.937450679019094 18.954047354 18.376114148 Calling exit ...