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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001783/0.001783, allocations: 124.8 kB / 17.79 MB, free: 5.266 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002007/0.002007, allocations: 186.9 kB / 20.73 MB, free: 2.332 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.501/1.501, allocations: 207.6 MB / 231.1 MB, free: 4.137 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.4473/0.4473, allocations: 49.51 MB / 332.5 MB, free: 0.8008 MB / 254.1 MB " [Timeout remaining time 179] Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ThermoPower.Test.GasComponents.TestGT,fileNamePrefix="ThermoPower_ThermoPower_Test_GasComponents_TestGT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.GasComponents.TestGT,fileNamePrefix="ThermoPower_ThermoPower_Test_GasComponents_TestGT",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002142/0.002142, allocations: 73.09 kB / 470.8 MB, free: 41.1 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09806/0.1002, allocations: 62.34 MB / 0.5206 GB, free: 2.363 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGT): time 0.4862/0.5864, allocations: 186.8 MB / 0.703 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.003515/0.5899, allocations: 1.953 MB / 0.7049 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007678/0.5907, allocations: 11.5 kB / 0.7049 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001101/0.5918, allocations: 392.5 kB / 0.7053 GB, free: 12.68 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.001681/0.5934, allocations: 0.7995 MB / 0.7061 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002582/0.596, allocations: 1.066 MB / 0.7071 GB, free: 12.13 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002242/0.5983, allocations: 1.878 MB / 0.7089 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001001/0.5993, allocations: 0.5835 MB / 0.7095 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00157/0.6008, allocations: 0.8219 MB / 0.7103 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001254/0.6021, allocations: 0.8645 MB / 0.7112 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.000191/0.6023, allocations: 89.81 kB / 0.7112 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001705/0.604, allocations: 0.6937 MB / 0.7119 GB, free: 10.76 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0006752/0.6047, allocations: 0.8097 MB / 0.7127 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0009383/0.6056, allocations: 0.947 MB / 0.7136 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.003341/0.6089, allocations: 2.448 MB / 0.716 GB, free: 9.016 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 7.925e-06/0.6089, allocations: 3.984 kB / 0.716 GB, free: 9.012 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.873e-06/0.6089, allocations: 0 / 0.716 GB, free: 9.012 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.985e-05/0.609, allocations: 2.625 kB / 0.716 GB, free: 9.012 MB / 0.5137 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.00461/0.6136, allocations: 2.47 MB / 0.7184 GB, free: 7.445 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.821e-05/0.6137, allocations: 13.73 kB / 0.7185 GB, free: 7.441 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002045/0.6139, allocations: 146.2 kB / 0.7186 GB, free: 7.332 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001048/0.6149, allocations: 315.9 kB / 0.7189 GB, free: 7.168 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002862/0.6178, allocations: 1.416 MB / 0.7203 GB, free: 6.27 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001194/0.6179, allocations: 93.27 kB / 0.7204 GB, free: 6.211 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001556/0.6181, allocations: 88.19 kB / 0.7205 GB, free: 6.18 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001913/0.62, allocations: 1.14 MB / 0.7216 GB, free: 5.453 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.812e-05/0.62, allocations: 1.812 kB / 0.7216 GB, free: 5.453 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001136/0.6201, allocations: 40.84 kB / 0.7216 GB, free: 5.426 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.009e-05/0.6201, allocations: 36.69 kB / 0.7216 GB, free: 5.422 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001337/0.6215, allocations: 0.8276 MB / 0.7224 GB, free: 5.023 MB / 0.5137 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.009367/0.6309, allocations: 5.116 MB / 0.7274 GB, free: 1.02 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006616/0.6315, allocations: 297.4 kB / 0.7277 GB, free: 0.8516 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002347/0.6317, allocations: 133.5 kB / 0.7279 GB, free: 0.7773 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.815e-05/0.6318, allocations: 9.078 kB / 0.7279 GB, free: 0.7734 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.241e-05/0.6318, allocations: 48.44 kB / 0.7279 GB, free: 0.7227 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=38): time 2.264e-06/0.6318, allocations: 0 / 0.7279 GB, free: 0.7227 MB / 0.5137 GB Notification: Performance of matching and sorting (n=40): time 0.003121/0.635, allocations: 1.709 MB / 0.7296 GB, free: 15.53 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.089e-05/0.635, allocations: 83.77 kB / 0.7297 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004347/0.6394, allocations: 3.441 MB / 0.733 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001443/0.6395, allocations: 38.11 kB / 0.7331 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.001056/0.6406, allocations: 0.9797 MB / 0.734 GB, free: 13.03 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001731/0.6407, allocations: 156.7 kB / 0.7342 GB, free: 12.9 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003063/0.6411, allocations: 127.5 kB / 0.7343 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001857/0.6412, allocations: 334 kB / 0.7346 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003765/0.6416, allocations: 203.3 kB / 0.7348 GB, free: 12.4 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006101/0.6422, allocations: 393.7 kB / 0.7352 GB, free: 11.93 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009228/0.6431, allocations: 0.5718 MB / 0.7357 GB, free: 11.28 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.681e-06/0.6432, allocations: 0 / 0.7357 GB, free: 11.28 MB / 0.5294 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001833/0.645, allocations: 0.865 MB / 0.7366 GB, free: 10.41 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.357e-05/0.645, allocations: 11.91 kB / 0.7366 GB, free: 10.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.551e-05/0.645, allocations: 11.94 kB / 0.7366 GB, free: 10.39 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.327e-05/0.645, allocations: 8 kB / 0.7366 GB, free: 10.38 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001102/0.6461, allocations: 227.6 kB / 0.7368 GB, free: 10.16 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009528/0.6471, allocations: 1.206 MB / 0.738 GB, free: 8.914 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001138/0.6482, allocations: 36.11 kB / 0.738 GB, free: 8.879 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.825e-05/0.6483, allocations: 36 kB / 0.7381 GB, free: 8.844 MB / 0.5294 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.0009693/0.6493, allocations: 0.5834 MB / 0.7386 GB, free: 8.25 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004258/0.6497, allocations: 230.5 kB / 0.7389 GB, free: 8.023 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001008/0.6507, allocations: 0.5341 MB / 0.7394 GB, free: 7.477 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.753e-06/0.6507, allocations: 4 kB / 0.7394 GB, free: 7.473 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.6507, allocations: 0 / 0.7394 GB, free: 7.473 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.173e-06/0.6507, allocations: 3.984 kB / 0.7394 GB, free: 7.469 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003249/0.654, allocations: 1.821 MB / 0.7412 GB, free: 5.59 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.304e-06/0.654, allocations: 7.922 kB / 0.7412 GB, free: 5.582 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007616/0.6547, allocations: 131.8 kB / 0.7413 GB, free: 5.453 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.975e-06/0.6548, allocations: 4 kB / 0.7413 GB, free: 5.449 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.851e-05/0.6548, allocations: 12.88 kB / 0.7413 GB, free: 5.438 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007925/0.6556, allocations: 1.195 MB / 0.7425 GB, free: 4.195 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.6556, allocations: 3.938 kB / 0.7425 GB, free: 4.191 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001351/0.6569, allocations: 0.7733 MB / 0.7432 GB, free: 3.398 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001117/0.658, allocations: 439.5 kB / 0.7437 GB, free: 2.949 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002173/0.6583, allocations: 12 kB / 0.7437 GB, free: 2.938 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007674/0.659, allocations: 37.16 kB / 0.7437 GB, free: 2.902 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.994e-05/0.6591, allocations: 24.09 kB / 0.7437 GB, free: 2.879 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.683e-05/0.6592, allocations: 31.97 kB / 0.7438 GB, free: 2.848 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003575/0.6627, allocations: 2.443 MB / 0.7461 GB, free: 404 kB / 0.5294 GB Notification: Performance of sort global known variables: time 2.4e-07/0.6627, allocations: 0 / 0.7461 GB, free: 404 kB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001334/0.6641, allocations: 335.7 kB / 0.7465 GB, free: 68 kB / 0.5294 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.003495/0.6676, allocations: 1.779 MB / 0.7482 GB, free: 14.27 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001116/0.6687, allocations: 450.8 kB / 0.7486 GB, free: 13.82 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 7.855e-06/0.6687, allocations: 4.562 kB / 0.7486 GB, free: 13.82 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003545/0.6691, allocations: 151.8 kB / 0.7488 GB, free: 13.67 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003071/0.6721, allocations: 0.5984 MB / 0.7494 GB, free: 13.07 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0295/0.7016, allocations: 18.62 MB / 0.7675 GB, free: 10.1 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001382/0.703, allocations: 1.472 MB / 0.769 GB, free: 8.598 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001148/0.7042, allocations: 356.6 kB / 0.7693 GB, free: 8.242 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001037/0.7052, allocations: 0.7219 MB / 0.77 GB, free: 7.52 MB / 0.5606 GB Notification: Performance of SimCode: time 1.482e-06/0.7052, allocations: 0 / 0.77 GB, free: 7.52 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09941/0.8046, allocations: 46.58 MB / 0.8155 GB, free: 8.809 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.16/16.97, allocations: 4.062 kB / 0.8155 GB, free: 8.805 MB / 0.6075 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.33659376995638] Failed to read output from testmodel.py, exit status != 0: 17.147923143114895 17.177252828 16.562930752 Calling exit ...