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.001326/0.001326, allocations: 112.5 kB / 21.22 MB, free: 0.7305 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: 212.2 kB / 24.53 MB, free: 4.07 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.341/1.341, allocations: 207.6 MB / 235.3 MB, free: 9.996 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.3/0.3, allocations: 49.57 MB / 337.1 MB, free: 4.102 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.002191/0.002191, allocations: 63.91 kB / 477.1 MB, free: 12.94 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1124/0.1146, allocations: 62.43 MB / 0.5269 GB, free: 14.32 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGT): time 0.446/0.5606, allocations: 187 MB / 0.7095 GB, free: 11.02 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003836/0.5644, allocations: 1.959 MB / 0.7114 GB, free: 9.059 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000533/0.565, allocations: 19.81 kB / 0.7115 GB, free: 9.039 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001103/0.5661, allocations: 393.5 kB / 0.7118 GB, free: 8.652 MB / 0.545 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.001516/0.5676, allocations: 0.805 MB / 0.7126 GB, free: 7.844 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002591/0.5702, allocations: 1.075 MB / 0.7137 GB, free: 6.77 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.00264/0.5728, allocations: 1.914 MB / 0.7155 GB, free: 4.848 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001035/0.5739, allocations: 0.5749 MB / 0.7161 GB, free: 4.262 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001669/0.5755, allocations: 0.8394 MB / 0.7169 GB, free: 3.422 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001153/0.5767, allocations: 0.8566 MB / 0.7178 GB, free: 2.562 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001403/0.5768, allocations: 88 kB / 0.7178 GB, free: 2.477 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001621/0.5785, allocations: 0.7013 MB / 0.7185 GB, free: 1.773 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0006983/0.5791, allocations: 0.8024 MB / 0.7193 GB, free: 0.9688 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0009373/0.5801, allocations: 0.9554 MB / 0.7202 GB, free: 8 kB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.003009/0.5831, allocations: 2.455 MB / 0.7226 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.431e-06/0.5831, allocations: 0 / 0.7226 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.573e-06/0.5831, allocations: 0 / 0.7226 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.497e-05/0.5831, allocations: 0 / 0.7226 GB, free: 13.54 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.004381/0.5875, allocations: 2.393 MB / 0.725 GB, free: 11.1 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.406e-05/0.5876, allocations: 16.02 kB / 0.725 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.603e-05/0.5876, allocations: 24.88 kB / 0.725 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001931/0.5878, allocations: 147.5 kB / 0.7252 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009821/0.5888, allocations: 314.4 kB / 0.7255 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002431/0.5912, allocations: 1.352 MB / 0.7268 GB, free: 9.195 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001421/0.5914, allocations: 125.3 kB / 0.7269 GB, free: 9.059 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001341/0.5915, allocations: 91.98 kB / 0.727 GB, free: 8.969 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001762/0.5933, allocations: 1.128 MB / 0.7281 GB, free: 7.777 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.39e-05/0.5933, allocations: 11.92 kB / 0.7281 GB, free: 7.766 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001044/0.5934, allocations: 40 kB / 0.7281 GB, free: 7.727 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.936e-05/0.5934, allocations: 34 kB / 0.7282 GB, free: 7.691 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001334/0.5948, allocations: 0.8273 MB / 0.729 GB, free: 6.867 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.007957/0.6027, allocations: 4.827 MB / 0.7337 GB, free: 1.859 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007588/0.6035, allocations: 297.3 kB / 0.734 GB, free: 1.551 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002668/0.6038, allocations: 141.5 kB / 0.7341 GB, free: 1.406 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 4.187e-05/0.6038, allocations: 8.578 kB / 0.7341 GB, free: 1.398 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.138e-05/0.6038, allocations: 54.44 kB / 0.7342 GB, free: 1.336 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=38): time 2.565e-06/0.6039, allocations: 0 / 0.7342 GB, free: 1.336 MB / 0.5606 GB Notification: Performance of matching and sorting (n=40): time 0.003036/0.6069, allocations: 1.632 MB / 0.7358 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.096e-05/0.6069, allocations: 81.11 kB / 0.7358 GB, free: 15.56 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00473/0.6117, allocations: 3.435 MB / 0.7392 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001207/0.6118, allocations: 41.7 kB / 0.7392 GB, free: 12.06 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009538/0.6128, allocations: 0.9878 MB / 0.7402 GB, free: 11.07 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001558/0.6129, allocations: 142.8 kB / 0.7403 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002267/0.6131, allocations: 134.2 kB / 0.7405 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001621/0.6133, allocations: 330 kB / 0.7408 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003956/0.6137, allocations: 205.2 kB / 0.741 GB, free: 10.26 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005614/0.6143, allocations: 394 kB / 0.7414 GB, free: 9.793 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008764/0.6151, allocations: 0.5756 MB / 0.7419 GB, free: 9.137 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.48e-06/0.6151, allocations: 0 / 0.7419 GB, free: 9.137 MB / 0.5762 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001717/0.6169, allocations: 0.865 MB / 0.7428 GB, free: 8.266 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.369e-05/0.6169, allocations: 8 kB / 0.7428 GB, free: 8.258 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.308e-05/0.6169, allocations: 4 kB / 0.7428 GB, free: 8.254 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.249e-05/0.6169, allocations: 12 kB / 0.7428 GB, free: 8.242 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001114/0.618, allocations: 221.5 kB / 0.743 GB, free: 8.027 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000904/0.6189, allocations: 1.199 MB / 0.7442 GB, free: 6.781 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000964/0.6199, allocations: 39.16 kB / 0.7442 GB, free: 6.746 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.62e-05/0.62, allocations: 32 kB / 0.7442 GB, free: 6.715 MB / 0.5762 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.0009887/0.621, allocations: 0.5873 MB / 0.7448 GB, free: 6.117 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005797/0.6216, allocations: 234.4 kB / 0.745 GB, free: 5.887 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001294/0.6228, allocations: 0.5302 MB / 0.7455 GB, free: 5.344 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.875e-06/0.6229, allocations: 4 kB / 0.7456 GB, free: 5.34 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.6229, allocations: 0 / 0.7456 GB, free: 5.34 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.784e-06/0.6229, allocations: 3.984 kB / 0.7456 GB, free: 5.336 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003533/0.6264, allocations: 1.806 MB / 0.7473 GB, free: 3.473 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.109e-06/0.6264, allocations: 0 / 0.7473 GB, free: 3.473 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007701/0.6272, allocations: 131.8 kB / 0.7474 GB, free: 3.344 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.598e-06/0.6272, allocations: 7.938 kB / 0.7475 GB, free: 3.336 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.032e-05/0.6272, allocations: 8 kB / 0.7475 GB, free: 3.328 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007553/0.628, allocations: 1.195 MB / 0.7486 GB, free: 2.086 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.272e-06/0.628, allocations: 4.906 kB / 0.7486 GB, free: 2.082 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001298/0.6293, allocations: 0.7765 MB / 0.7494 GB, free: 1.285 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009873/0.6303, allocations: 358.6 kB / 0.7497 GB, free: 0.9336 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003188/0.6306, allocations: 11.98 kB / 0.7497 GB, free: 0.9219 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008364/0.6314, allocations: 35.97 kB / 0.7498 GB, free: 0.8867 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.893e-05/0.6315, allocations: 27.89 kB / 0.7498 GB, free: 0.8594 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.344e-05/0.6315, allocations: 31.97 kB / 0.7498 GB, free: 0.8281 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.003492/0.635, allocations: 2.447 MB / 0.7522 GB, free: 14.37 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.1e-07/0.635, allocations: 0 / 0.7522 GB, free: 14.37 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001143/0.6362, allocations: 331.8 kB / 0.7525 GB, free: 14.05 MB / 0.5919 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.003322/0.6395, allocations: 1.779 MB / 0.7543 GB, free: 12.24 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001036/0.6405, allocations: 443.5 kB / 0.7547 GB, free: 11.81 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/0.6405, allocations: 0.5 kB / 0.7547 GB, free: 11.81 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003831/0.6409, allocations: 167.5 kB / 0.7549 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002674/0.6436, allocations: 0.582 MB / 0.7554 GB, free: 11.06 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2364/0.88, allocations: 18.64 MB / 0.7736 GB, free: 203.6 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001145/0.8812, allocations: 1.465 MB / 0.7751 GB, free: 202.9 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001088/0.8823, allocations: 342.9 kB / 0.7754 GB, free: 202.8 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007359/0.883, allocations: 0.7337 MB / 0.7761 GB, free: 202.3 MB / 0.5919 GB Notification: Performance of SimCode: time 1.323e-06/0.883, allocations: 0 / 0.7761 GB, free: 202.3 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07882/0.9618, allocations: 47.05 MB / 0.822 GB, free: 173.8 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.03/16.99, allocations: 19.89 kB / 0.8221 GB, free: 173.8 MB / 0.5919 GB " [Timeout remaining time 643] (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 sys.exit(0), Time elapsed: 20.10149715899024] Failed to read output from testmodel.py, exit status != 0: 17.232482985011302 17.241552983 16.656155712 Calling exit ...